Package io.grpc.alts.internal
Class StartClientHandshakeReq.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<StartClientHandshakeReq.Builder>
-
- io.grpc.alts.internal.StartClientHandshakeReq.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,StartClientHandshakeReqOrBuilder
,java.lang.Cloneable
- Enclosing class:
- StartClientHandshakeReq
public static final class StartClientHandshakeReq.Builder extends com.google.protobuf.GeneratedMessage.Builder<StartClientHandshakeReq.Builder> implements StartClientHandshakeReqOrBuilder
Protobuf typegrpc.gcp.StartClientHandshakeReq
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StartClientHandshakeReq.Builder
addAllApplicationProtocols(java.lang.Iterable<java.lang.String> values)
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".StartClientHandshakeReq.Builder
addAllRecordProtocols(java.lang.Iterable<java.lang.String> values)
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".StartClientHandshakeReq.Builder
addAllTargetIdentities(java.lang.Iterable<? extends Identity> values)
(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq.Builder
addApplicationProtocols(java.lang.String value)
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".StartClientHandshakeReq.Builder
addApplicationProtocolsBytes(com.google.protobuf.ByteString value)
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".StartClientHandshakeReq.Builder
addRecordProtocols(java.lang.String value)
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".StartClientHandshakeReq.Builder
addRecordProtocolsBytes(com.google.protobuf.ByteString value)
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".StartClientHandshakeReq.Builder
addTargetIdentities(int index, Identity value)
(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq.Builder
addTargetIdentities(int index, Identity.Builder builderForValue)
(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq.Builder
addTargetIdentities(Identity value)
(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq.Builder
addTargetIdentities(Identity.Builder builderForValue)
(Optional) Describes which server identities are acceptable by the client.Identity.Builder
addTargetIdentitiesBuilder()
(Optional) Describes which server identities are acceptable by the client.Identity.Builder
addTargetIdentitiesBuilder(int index)
(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq
build()
StartClientHandshakeReq
buildPartial()
private void
buildPartial0(StartClientHandshakeReq result)
private void
buildPartialRepeatedFields(StartClientHandshakeReq result)
StartClientHandshakeReq.Builder
clear()
StartClientHandshakeReq.Builder
clearApplicationProtocols()
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".StartClientHandshakeReq.Builder
clearHandshakeSecurityProtocol()
Handshake security protocol requested by the client.StartClientHandshakeReq.Builder
clearLocalEndpoint()
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.StartClientHandshakeReq.Builder
clearLocalIdentity()
(Optional) Application may specify a local identity.StartClientHandshakeReq.Builder
clearMaxFrameSize()
(Optional) Maximum frame size supported by the client.StartClientHandshakeReq.Builder
clearRecordProtocols()
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".StartClientHandshakeReq.Builder
clearRemoteEndpoint()
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.StartClientHandshakeReq.Builder
clearRpcVersions()
(Optional) RPC protocol versions supported by the client.StartClientHandshakeReq.Builder
clearTargetIdentities()
(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq.Builder
clearTargetName()
(Optional) If target name is provided, a secure naming check is performed to verify that the peer authenticated identity is indeed authorized to run the target name.private void
ensureApplicationProtocolsIsMutable()
private void
ensureRecordProtocolsIsMutable()
private void
ensureTargetIdentitiesIsMutable()
java.lang.String
getApplicationProtocols(int index)
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".com.google.protobuf.ByteString
getApplicationProtocolsBytes(int index)
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".int
getApplicationProtocolsCount()
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".com.google.protobuf.ProtocolStringList
getApplicationProtocolsList()
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".StartClientHandshakeReq
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
HandshakeProtocol
getHandshakeSecurityProtocol()
Handshake security protocol requested by the client.int
getHandshakeSecurityProtocolValue()
Handshake security protocol requested by the client.Endpoint
getLocalEndpoint()
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.Endpoint.Builder
getLocalEndpointBuilder()
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder,EndpointOrBuilder>
getLocalEndpointFieldBuilder()
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.EndpointOrBuilder
getLocalEndpointOrBuilder()
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.Identity
getLocalIdentity()
(Optional) Application may specify a local identity.Identity.Builder
getLocalIdentityBuilder()
(Optional) Application may specify a local identity.private com.google.protobuf.SingleFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder>
getLocalIdentityFieldBuilder()
(Optional) Application may specify a local identity.IdentityOrBuilder
getLocalIdentityOrBuilder()
(Optional) Application may specify a local identity.int
getMaxFrameSize()
(Optional) Maximum frame size supported by the client.java.lang.String
getRecordProtocols(int index)
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".com.google.protobuf.ByteString
getRecordProtocolsBytes(int index)
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".int
getRecordProtocolsCount()
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".com.google.protobuf.ProtocolStringList
getRecordProtocolsList()
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".Endpoint
getRemoteEndpoint()
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.Endpoint.Builder
getRemoteEndpointBuilder()
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder,EndpointOrBuilder>
getRemoteEndpointFieldBuilder()
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.EndpointOrBuilder
getRemoteEndpointOrBuilder()
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.RpcProtocolVersions
getRpcVersions()
(Optional) RPC protocol versions supported by the client.RpcProtocolVersions.Builder
getRpcVersionsBuilder()
(Optional) RPC protocol versions supported by the client.private com.google.protobuf.SingleFieldBuilder<RpcProtocolVersions,RpcProtocolVersions.Builder,RpcProtocolVersionsOrBuilder>
getRpcVersionsFieldBuilder()
(Optional) RPC protocol versions supported by the client.RpcProtocolVersionsOrBuilder
getRpcVersionsOrBuilder()
(Optional) RPC protocol versions supported by the client.Identity
getTargetIdentities(int index)
(Optional) Describes which server identities are acceptable by the client.Identity.Builder
getTargetIdentitiesBuilder(int index)
(Optional) Describes which server identities are acceptable by the client.java.util.List<Identity.Builder>
getTargetIdentitiesBuilderList()
(Optional) Describes which server identities are acceptable by the client.int
getTargetIdentitiesCount()
(Optional) Describes which server identities are acceptable by the client.private com.google.protobuf.RepeatedFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder>
getTargetIdentitiesFieldBuilder()
java.util.List<Identity>
getTargetIdentitiesList()
(Optional) Describes which server identities are acceptable by the client.IdentityOrBuilder
getTargetIdentitiesOrBuilder(int index)
(Optional) Describes which server identities are acceptable by the client.java.util.List<? extends IdentityOrBuilder>
getTargetIdentitiesOrBuilderList()
(Optional) Describes which server identities are acceptable by the client.java.lang.String
getTargetName()
(Optional) If target name is provided, a secure naming check is performed to verify that the peer authenticated identity is indeed authorized to run the target name.com.google.protobuf.ByteString
getTargetNameBytes()
(Optional) If target name is provided, a secure naming check is performed to verify that the peer authenticated identity is indeed authorized to run the target name.boolean
hasLocalEndpoint()
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.boolean
hasLocalIdentity()
(Optional) Application may specify a local identity.boolean
hasRemoteEndpoint()
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.boolean
hasRpcVersions()
(Optional) RPC protocol versions supported by the client.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
StartClientHandshakeReq.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
StartClientHandshakeReq.Builder
mergeFrom(com.google.protobuf.Message other)
StartClientHandshakeReq.Builder
mergeFrom(StartClientHandshakeReq other)
StartClientHandshakeReq.Builder
mergeLocalEndpoint(Endpoint value)
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.StartClientHandshakeReq.Builder
mergeLocalIdentity(Identity value)
(Optional) Application may specify a local identity.StartClientHandshakeReq.Builder
mergeRemoteEndpoint(Endpoint value)
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.StartClientHandshakeReq.Builder
mergeRpcVersions(RpcProtocolVersions value)
(Optional) RPC protocol versions supported by the client.StartClientHandshakeReq.Builder
removeTargetIdentities(int index)
(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq.Builder
setApplicationProtocols(int index, java.lang.String value)
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".StartClientHandshakeReq.Builder
setHandshakeSecurityProtocol(HandshakeProtocol value)
Handshake security protocol requested by the client.StartClientHandshakeReq.Builder
setHandshakeSecurityProtocolValue(int value)
Handshake security protocol requested by the client.StartClientHandshakeReq.Builder
setLocalEndpoint(Endpoint value)
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.StartClientHandshakeReq.Builder
setLocalEndpoint(Endpoint.Builder builderForValue)
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.StartClientHandshakeReq.Builder
setLocalIdentity(Identity value)
(Optional) Application may specify a local identity.StartClientHandshakeReq.Builder
setLocalIdentity(Identity.Builder builderForValue)
(Optional) Application may specify a local identity.StartClientHandshakeReq.Builder
setMaxFrameSize(int value)
(Optional) Maximum frame size supported by the client.StartClientHandshakeReq.Builder
setRecordProtocols(int index, java.lang.String value)
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".StartClientHandshakeReq.Builder
setRemoteEndpoint(Endpoint value)
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.StartClientHandshakeReq.Builder
setRemoteEndpoint(Endpoint.Builder builderForValue)
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.StartClientHandshakeReq.Builder
setRpcVersions(RpcProtocolVersions value)
(Optional) RPC protocol versions supported by the client.StartClientHandshakeReq.Builder
setRpcVersions(RpcProtocolVersions.Builder builderForValue)
(Optional) RPC protocol versions supported by the client.StartClientHandshakeReq.Builder
setTargetIdentities(int index, Identity value)
(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq.Builder
setTargetIdentities(int index, Identity.Builder builderForValue)
(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq.Builder
setTargetName(java.lang.String value)
(Optional) If target name is provided, a secure naming check is performed to verify that the peer authenticated identity is indeed authorized to run the target name.StartClientHandshakeReq.Builder
setTargetNameBytes(com.google.protobuf.ByteString value)
(Optional) If target name is provided, a secure naming check is performed to verify that the peer authenticated identity is indeed authorized to run the target name.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
handshakeSecurityProtocol_
private int handshakeSecurityProtocol_
-
applicationProtocols_
private com.google.protobuf.LazyStringArrayList applicationProtocols_
-
recordProtocols_
private com.google.protobuf.LazyStringArrayList recordProtocols_
-
targetIdentities_
private java.util.List<Identity> targetIdentities_
-
targetIdentitiesBuilder_
private com.google.protobuf.RepeatedFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder> targetIdentitiesBuilder_
-
localIdentity_
private Identity localIdentity_
-
localIdentityBuilder_
private com.google.protobuf.SingleFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder> localIdentityBuilder_
-
localEndpoint_
private Endpoint localEndpoint_
-
localEndpointBuilder_
private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder,EndpointOrBuilder> localEndpointBuilder_
-
remoteEndpoint_
private Endpoint remoteEndpoint_
-
remoteEndpointBuilder_
private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder,EndpointOrBuilder> remoteEndpointBuilder_
-
targetName_
private java.lang.Object targetName_
-
rpcVersions_
private RpcProtocolVersions rpcVersions_
-
rpcVersionsBuilder_
private com.google.protobuf.SingleFieldBuilder<RpcProtocolVersions,RpcProtocolVersions.Builder,RpcProtocolVersionsOrBuilder> rpcVersionsBuilder_
-
maxFrameSize_
private int maxFrameSize_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<StartClientHandshakeReq.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public StartClientHandshakeReq.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<StartClientHandshakeReq.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<StartClientHandshakeReq.Builder>
-
getDefaultInstanceForType
public StartClientHandshakeReq getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StartClientHandshakeReq build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StartClientHandshakeReq buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(StartClientHandshakeReq result)
-
buildPartial0
private void buildPartial0(StartClientHandshakeReq result)
-
mergeFrom
public StartClientHandshakeReq.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StartClientHandshakeReq.Builder>
-
mergeFrom
public StartClientHandshakeReq.Builder mergeFrom(StartClientHandshakeReq other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<StartClientHandshakeReq.Builder>
-
mergeFrom
public StartClientHandshakeReq.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StartClientHandshakeReq.Builder>
- Throws:
java.io.IOException
-
getHandshakeSecurityProtocolValue
public int getHandshakeSecurityProtocolValue()
Handshake security protocol requested by the client.
.grpc.gcp.HandshakeProtocol handshake_security_protocol = 1;
- Specified by:
getHandshakeSecurityProtocolValue
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- The enum numeric value on the wire for handshakeSecurityProtocol.
-
setHandshakeSecurityProtocolValue
public StartClientHandshakeReq.Builder setHandshakeSecurityProtocolValue(int value)
Handshake security protocol requested by the client.
.grpc.gcp.HandshakeProtocol handshake_security_protocol = 1;
- Parameters:
value
- The enum numeric value on the wire for handshakeSecurityProtocol to set.- Returns:
- This builder for chaining.
-
getHandshakeSecurityProtocol
public HandshakeProtocol getHandshakeSecurityProtocol()
Handshake security protocol requested by the client.
.grpc.gcp.HandshakeProtocol handshake_security_protocol = 1;
- Specified by:
getHandshakeSecurityProtocol
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- The handshakeSecurityProtocol.
-
setHandshakeSecurityProtocol
public StartClientHandshakeReq.Builder setHandshakeSecurityProtocol(HandshakeProtocol value)
Handshake security protocol requested by the client.
.grpc.gcp.HandshakeProtocol handshake_security_protocol = 1;
- Parameters:
value
- The handshakeSecurityProtocol to set.- Returns:
- This builder for chaining.
-
clearHandshakeSecurityProtocol
public StartClientHandshakeReq.Builder clearHandshakeSecurityProtocol()
Handshake security protocol requested by the client.
.grpc.gcp.HandshakeProtocol handshake_security_protocol = 1;
- Returns:
- This builder for chaining.
-
ensureApplicationProtocolsIsMutable
private void ensureApplicationProtocolsIsMutable()
-
getApplicationProtocolsList
public com.google.protobuf.ProtocolStringList getApplicationProtocolsList()
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 2;
- Specified by:
getApplicationProtocolsList
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- A list containing the applicationProtocols.
-
getApplicationProtocolsCount
public int getApplicationProtocolsCount()
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 2;
- Specified by:
getApplicationProtocolsCount
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- The count of applicationProtocols.
-
getApplicationProtocols
public java.lang.String getApplicationProtocols(int index)
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 2;
- Specified by:
getApplicationProtocols
in interfaceStartClientHandshakeReqOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The applicationProtocols at the given index.
-
getApplicationProtocolsBytes
public com.google.protobuf.ByteString getApplicationProtocolsBytes(int index)
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 2;
- Specified by:
getApplicationProtocolsBytes
in interfaceStartClientHandshakeReqOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the applicationProtocols at the given index.
-
setApplicationProtocols
public StartClientHandshakeReq.Builder setApplicationProtocols(int index, java.lang.String value)
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 2;
- Parameters:
index
- The index to set the value at.value
- The applicationProtocols to set.- Returns:
- This builder for chaining.
-
addApplicationProtocols
public StartClientHandshakeReq.Builder addApplicationProtocols(java.lang.String value)
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 2;
- Parameters:
value
- The applicationProtocols to add.- Returns:
- This builder for chaining.
-
addAllApplicationProtocols
public StartClientHandshakeReq.Builder addAllApplicationProtocols(java.lang.Iterable<java.lang.String> values)
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 2;
- Parameters:
values
- The applicationProtocols to add.- Returns:
- This builder for chaining.
-
clearApplicationProtocols
public StartClientHandshakeReq.Builder clearApplicationProtocols()
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 2;
- Returns:
- This builder for chaining.
-
addApplicationProtocolsBytes
public StartClientHandshakeReq.Builder addApplicationProtocolsBytes(com.google.protobuf.ByteString value)
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 2;
- Parameters:
value
- The bytes of the applicationProtocols to add.- Returns:
- This builder for chaining.
-
ensureRecordProtocolsIsMutable
private void ensureRecordProtocolsIsMutable()
-
getRecordProtocolsList
public com.google.protobuf.ProtocolStringList getRecordProtocolsList()
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".
repeated string record_protocols = 3;
- Specified by:
getRecordProtocolsList
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- A list containing the recordProtocols.
-
getRecordProtocolsCount
public int getRecordProtocolsCount()
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".
repeated string record_protocols = 3;
- Specified by:
getRecordProtocolsCount
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- The count of recordProtocols.
-
getRecordProtocols
public java.lang.String getRecordProtocols(int index)
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".
repeated string record_protocols = 3;
- Specified by:
getRecordProtocols
in interfaceStartClientHandshakeReqOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The recordProtocols at the given index.
-
getRecordProtocolsBytes
public com.google.protobuf.ByteString getRecordProtocolsBytes(int index)
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".
repeated string record_protocols = 3;
- Specified by:
getRecordProtocolsBytes
in interfaceStartClientHandshakeReqOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the recordProtocols at the given index.
-
setRecordProtocols
public StartClientHandshakeReq.Builder setRecordProtocols(int index, java.lang.String value)
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".
repeated string record_protocols = 3;
- Parameters:
index
- The index to set the value at.value
- The recordProtocols to set.- Returns:
- This builder for chaining.
-
addRecordProtocols
public StartClientHandshakeReq.Builder addRecordProtocols(java.lang.String value)
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".
repeated string record_protocols = 3;
- Parameters:
value
- The recordProtocols to add.- Returns:
- This builder for chaining.
-
addAllRecordProtocols
public StartClientHandshakeReq.Builder addAllRecordProtocols(java.lang.Iterable<java.lang.String> values)
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".
repeated string record_protocols = 3;
- Parameters:
values
- The recordProtocols to add.- Returns:
- This builder for chaining.
-
clearRecordProtocols
public StartClientHandshakeReq.Builder clearRecordProtocols()
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".
repeated string record_protocols = 3;
- Returns:
- This builder for chaining.
-
addRecordProtocolsBytes
public StartClientHandshakeReq.Builder addRecordProtocolsBytes(com.google.protobuf.ByteString value)
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".
repeated string record_protocols = 3;
- Parameters:
value
- The bytes of the recordProtocols to add.- Returns:
- This builder for chaining.
-
ensureTargetIdentitiesIsMutable
private void ensureTargetIdentitiesIsMutable()
-
getTargetIdentitiesList
public java.util.List<Identity> getTargetIdentitiesList()
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
- Specified by:
getTargetIdentitiesList
in interfaceStartClientHandshakeReqOrBuilder
-
getTargetIdentitiesCount
public int getTargetIdentitiesCount()
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
- Specified by:
getTargetIdentitiesCount
in interfaceStartClientHandshakeReqOrBuilder
-
getTargetIdentities
public Identity getTargetIdentities(int index)
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
- Specified by:
getTargetIdentities
in interfaceStartClientHandshakeReqOrBuilder
-
setTargetIdentities
public StartClientHandshakeReq.Builder setTargetIdentities(int index, Identity value)
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
-
setTargetIdentities
public StartClientHandshakeReq.Builder setTargetIdentities(int index, Identity.Builder builderForValue)
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
-
addTargetIdentities
public StartClientHandshakeReq.Builder addTargetIdentities(Identity value)
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
-
addTargetIdentities
public StartClientHandshakeReq.Builder addTargetIdentities(int index, Identity value)
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
-
addTargetIdentities
public StartClientHandshakeReq.Builder addTargetIdentities(Identity.Builder builderForValue)
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
-
addTargetIdentities
public StartClientHandshakeReq.Builder addTargetIdentities(int index, Identity.Builder builderForValue)
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
-
addAllTargetIdentities
public StartClientHandshakeReq.Builder addAllTargetIdentities(java.lang.Iterable<? extends Identity> values)
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
-
clearTargetIdentities
public StartClientHandshakeReq.Builder clearTargetIdentities()
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
-
removeTargetIdentities
public StartClientHandshakeReq.Builder removeTargetIdentities(int index)
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
-
getTargetIdentitiesBuilder
public Identity.Builder getTargetIdentitiesBuilder(int index)
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
-
getTargetIdentitiesOrBuilder
public IdentityOrBuilder getTargetIdentitiesOrBuilder(int index)
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
- Specified by:
getTargetIdentitiesOrBuilder
in interfaceStartClientHandshakeReqOrBuilder
-
getTargetIdentitiesOrBuilderList
public java.util.List<? extends IdentityOrBuilder> getTargetIdentitiesOrBuilderList()
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
- Specified by:
getTargetIdentitiesOrBuilderList
in interfaceStartClientHandshakeReqOrBuilder
-
addTargetIdentitiesBuilder
public Identity.Builder addTargetIdentitiesBuilder()
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
-
addTargetIdentitiesBuilder
public Identity.Builder addTargetIdentitiesBuilder(int index)
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
-
getTargetIdentitiesBuilderList
public java.util.List<Identity.Builder> getTargetIdentitiesBuilderList()
(Optional) Describes which server identities are acceptable by the client. If target identities are provided and none of them matches the peer identity of the server, handshake will fail.
repeated .grpc.gcp.Identity target_identities = 4;
-
getTargetIdentitiesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder> getTargetIdentitiesFieldBuilder()
-
hasLocalIdentity
public boolean hasLocalIdentity()
(Optional) Application may specify a local identity. Otherwise, the handshaker chooses a default local identity.
.grpc.gcp.Identity local_identity = 5;
- Specified by:
hasLocalIdentity
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- Whether the localIdentity field is set.
-
getLocalIdentity
public Identity getLocalIdentity()
(Optional) Application may specify a local identity. Otherwise, the handshaker chooses a default local identity.
.grpc.gcp.Identity local_identity = 5;
- Specified by:
getLocalIdentity
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- The localIdentity.
-
setLocalIdentity
public StartClientHandshakeReq.Builder setLocalIdentity(Identity value)
(Optional) Application may specify a local identity. Otherwise, the handshaker chooses a default local identity.
.grpc.gcp.Identity local_identity = 5;
-
setLocalIdentity
public StartClientHandshakeReq.Builder setLocalIdentity(Identity.Builder builderForValue)
(Optional) Application may specify a local identity. Otherwise, the handshaker chooses a default local identity.
.grpc.gcp.Identity local_identity = 5;
-
mergeLocalIdentity
public StartClientHandshakeReq.Builder mergeLocalIdentity(Identity value)
(Optional) Application may specify a local identity. Otherwise, the handshaker chooses a default local identity.
.grpc.gcp.Identity local_identity = 5;
-
clearLocalIdentity
public StartClientHandshakeReq.Builder clearLocalIdentity()
(Optional) Application may specify a local identity. Otherwise, the handshaker chooses a default local identity.
.grpc.gcp.Identity local_identity = 5;
-
getLocalIdentityBuilder
public Identity.Builder getLocalIdentityBuilder()
(Optional) Application may specify a local identity. Otherwise, the handshaker chooses a default local identity.
.grpc.gcp.Identity local_identity = 5;
-
getLocalIdentityOrBuilder
public IdentityOrBuilder getLocalIdentityOrBuilder()
(Optional) Application may specify a local identity. Otherwise, the handshaker chooses a default local identity.
.grpc.gcp.Identity local_identity = 5;
- Specified by:
getLocalIdentityOrBuilder
in interfaceStartClientHandshakeReqOrBuilder
-
getLocalIdentityFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder> getLocalIdentityFieldBuilder()
(Optional) Application may specify a local identity. Otherwise, the handshaker chooses a default local identity.
.grpc.gcp.Identity local_identity = 5;
-
hasLocalEndpoint
public boolean hasLocalEndpoint()
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 6;
- Specified by:
hasLocalEndpoint
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- Whether the localEndpoint field is set.
-
getLocalEndpoint
public Endpoint getLocalEndpoint()
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 6;
- Specified by:
getLocalEndpoint
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- The localEndpoint.
-
setLocalEndpoint
public StartClientHandshakeReq.Builder setLocalEndpoint(Endpoint value)
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 6;
-
setLocalEndpoint
public StartClientHandshakeReq.Builder setLocalEndpoint(Endpoint.Builder builderForValue)
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 6;
-
mergeLocalEndpoint
public StartClientHandshakeReq.Builder mergeLocalEndpoint(Endpoint value)
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 6;
-
clearLocalEndpoint
public StartClientHandshakeReq.Builder clearLocalEndpoint()
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 6;
-
getLocalEndpointBuilder
public Endpoint.Builder getLocalEndpointBuilder()
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 6;
-
getLocalEndpointOrBuilder
public EndpointOrBuilder getLocalEndpointOrBuilder()
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 6;
- Specified by:
getLocalEndpointOrBuilder
in interfaceStartClientHandshakeReqOrBuilder
-
getLocalEndpointFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder,EndpointOrBuilder> getLocalEndpointFieldBuilder()
(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 6;
-
hasRemoteEndpoint
public boolean hasRemoteEndpoint()
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 7;
- Specified by:
hasRemoteEndpoint
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- Whether the remoteEndpoint field is set.
-
getRemoteEndpoint
public Endpoint getRemoteEndpoint()
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 7;
- Specified by:
getRemoteEndpoint
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- The remoteEndpoint.
-
setRemoteEndpoint
public StartClientHandshakeReq.Builder setRemoteEndpoint(Endpoint value)
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 7;
-
setRemoteEndpoint
public StartClientHandshakeReq.Builder setRemoteEndpoint(Endpoint.Builder builderForValue)
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 7;
-
mergeRemoteEndpoint
public StartClientHandshakeReq.Builder mergeRemoteEndpoint(Endpoint value)
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 7;
-
clearRemoteEndpoint
public StartClientHandshakeReq.Builder clearRemoteEndpoint()
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 7;
-
getRemoteEndpointBuilder
public Endpoint.Builder getRemoteEndpointBuilder()
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 7;
-
getRemoteEndpointOrBuilder
public EndpointOrBuilder getRemoteEndpointOrBuilder()
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 7;
- Specified by:
getRemoteEndpointOrBuilder
in interfaceStartClientHandshakeReqOrBuilder
-
getRemoteEndpointFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder,EndpointOrBuilder> getRemoteEndpointFieldBuilder()
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 7;
-
getTargetName
public java.lang.String getTargetName()
(Optional) If target name is provided, a secure naming check is performed to verify that the peer authenticated identity is indeed authorized to run the target name.
string target_name = 8;
- Specified by:
getTargetName
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- The targetName.
-
getTargetNameBytes
public com.google.protobuf.ByteString getTargetNameBytes()
(Optional) If target name is provided, a secure naming check is performed to verify that the peer authenticated identity is indeed authorized to run the target name.
string target_name = 8;
- Specified by:
getTargetNameBytes
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- The bytes for targetName.
-
setTargetName
public StartClientHandshakeReq.Builder setTargetName(java.lang.String value)
(Optional) If target name is provided, a secure naming check is performed to verify that the peer authenticated identity is indeed authorized to run the target name.
string target_name = 8;
- Parameters:
value
- The targetName to set.- Returns:
- This builder for chaining.
-
clearTargetName
public StartClientHandshakeReq.Builder clearTargetName()
(Optional) If target name is provided, a secure naming check is performed to verify that the peer authenticated identity is indeed authorized to run the target name.
string target_name = 8;
- Returns:
- This builder for chaining.
-
setTargetNameBytes
public StartClientHandshakeReq.Builder setTargetNameBytes(com.google.protobuf.ByteString value)
(Optional) If target name is provided, a secure naming check is performed to verify that the peer authenticated identity is indeed authorized to run the target name.
string target_name = 8;
- Parameters:
value
- The bytes for targetName to set.- Returns:
- This builder for chaining.
-
hasRpcVersions
public boolean hasRpcVersions()
(Optional) RPC protocol versions supported by the client.
.grpc.gcp.RpcProtocolVersions rpc_versions = 9;
- Specified by:
hasRpcVersions
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- Whether the rpcVersions field is set.
-
getRpcVersions
public RpcProtocolVersions getRpcVersions()
(Optional) RPC protocol versions supported by the client.
.grpc.gcp.RpcProtocolVersions rpc_versions = 9;
- Specified by:
getRpcVersions
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- The rpcVersions.
-
setRpcVersions
public StartClientHandshakeReq.Builder setRpcVersions(RpcProtocolVersions value)
(Optional) RPC protocol versions supported by the client.
.grpc.gcp.RpcProtocolVersions rpc_versions = 9;
-
setRpcVersions
public StartClientHandshakeReq.Builder setRpcVersions(RpcProtocolVersions.Builder builderForValue)
(Optional) RPC protocol versions supported by the client.
.grpc.gcp.RpcProtocolVersions rpc_versions = 9;
-
mergeRpcVersions
public StartClientHandshakeReq.Builder mergeRpcVersions(RpcProtocolVersions value)
(Optional) RPC protocol versions supported by the client.
.grpc.gcp.RpcProtocolVersions rpc_versions = 9;
-
clearRpcVersions
public StartClientHandshakeReq.Builder clearRpcVersions()
(Optional) RPC protocol versions supported by the client.
.grpc.gcp.RpcProtocolVersions rpc_versions = 9;
-
getRpcVersionsBuilder
public RpcProtocolVersions.Builder getRpcVersionsBuilder()
(Optional) RPC protocol versions supported by the client.
.grpc.gcp.RpcProtocolVersions rpc_versions = 9;
-
getRpcVersionsOrBuilder
public RpcProtocolVersionsOrBuilder getRpcVersionsOrBuilder()
(Optional) RPC protocol versions supported by the client.
.grpc.gcp.RpcProtocolVersions rpc_versions = 9;
- Specified by:
getRpcVersionsOrBuilder
in interfaceStartClientHandshakeReqOrBuilder
-
getRpcVersionsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RpcProtocolVersions,RpcProtocolVersions.Builder,RpcProtocolVersionsOrBuilder> getRpcVersionsFieldBuilder()
(Optional) RPC protocol versions supported by the client.
.grpc.gcp.RpcProtocolVersions rpc_versions = 9;
-
getMaxFrameSize
public int getMaxFrameSize()
(Optional) Maximum frame size supported by the client.
uint32 max_frame_size = 10;
- Specified by:
getMaxFrameSize
in interfaceStartClientHandshakeReqOrBuilder
- Returns:
- The maxFrameSize.
-
setMaxFrameSize
public StartClientHandshakeReq.Builder setMaxFrameSize(int value)
(Optional) Maximum frame size supported by the client.
uint32 max_frame_size = 10;
- Parameters:
value
- The maxFrameSize to set.- Returns:
- This builder for chaining.
-
clearMaxFrameSize
public StartClientHandshakeReq.Builder clearMaxFrameSize()
(Optional) Maximum frame size supported by the client.
uint32 max_frame_size = 10;
- Returns:
- This builder for chaining.
-
-