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.BuilderaddAllApplicationProtocols(java.lang.Iterable<java.lang.String> values)The application protocols supported by the client, e.g., "h2" (for http2), "grpc".StartClientHandshakeReq.BuilderaddAllRecordProtocols(java.lang.Iterable<java.lang.String> values)The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".StartClientHandshakeReq.BuilderaddAllTargetIdentities(java.lang.Iterable<? extends Identity> values)(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq.BuilderaddApplicationProtocols(java.lang.String value)The application protocols supported by the client, e.g., "h2" (for http2), "grpc".StartClientHandshakeReq.BuilderaddApplicationProtocolsBytes(com.google.protobuf.ByteString value)The application protocols supported by the client, e.g., "h2" (for http2), "grpc".StartClientHandshakeReq.BuilderaddRecordProtocols(java.lang.String value)The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".StartClientHandshakeReq.BuilderaddRecordProtocolsBytes(com.google.protobuf.ByteString value)The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".StartClientHandshakeReq.BuilderaddTargetIdentities(int index, Identity value)(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq.BuilderaddTargetIdentities(int index, Identity.Builder builderForValue)(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq.BuilderaddTargetIdentities(Identity value)(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq.BuilderaddTargetIdentities(Identity.Builder builderForValue)(Optional) Describes which server identities are acceptable by the client.Identity.BuilderaddTargetIdentitiesBuilder()(Optional) Describes which server identities are acceptable by the client.Identity.BuilderaddTargetIdentitiesBuilder(int index)(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReqbuild()StartClientHandshakeReqbuildPartial()private voidbuildPartial0(StartClientHandshakeReq result)private voidbuildPartialRepeatedFields(StartClientHandshakeReq result)StartClientHandshakeReq.Builderclear()StartClientHandshakeReq.BuilderclearApplicationProtocols()The application protocols supported by the client, e.g., "h2" (for http2), "grpc".StartClientHandshakeReq.BuilderclearHandshakeSecurityProtocol()Handshake security protocol requested by the client.StartClientHandshakeReq.BuilderclearLocalEndpoint()(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.StartClientHandshakeReq.BuilderclearLocalIdentity()(Optional) Application may specify a local identity.StartClientHandshakeReq.BuilderclearMaxFrameSize()(Optional) Maximum frame size supported by the client.StartClientHandshakeReq.BuilderclearRecordProtocols()The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".StartClientHandshakeReq.BuilderclearRemoteEndpoint()(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.StartClientHandshakeReq.BuilderclearRpcVersions()(Optional) RPC protocol versions supported by the client.StartClientHandshakeReq.BuilderclearTargetIdentities()(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq.BuilderclearTargetName()(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 voidensureApplicationProtocolsIsMutable()private voidensureRecordProtocolsIsMutable()private voidensureTargetIdentitiesIsMutable()java.lang.StringgetApplicationProtocols(int index)The application protocols supported by the client, e.g., "h2" (for http2), "grpc".com.google.protobuf.ByteStringgetApplicationProtocolsBytes(int index)The application protocols supported by the client, e.g., "h2" (for http2), "grpc".intgetApplicationProtocolsCount()The application protocols supported by the client, e.g., "h2" (for http2), "grpc".com.google.protobuf.ProtocolStringListgetApplicationProtocolsList()The application protocols supported by the client, e.g., "h2" (for http2), "grpc".StartClientHandshakeReqgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HandshakeProtocolgetHandshakeSecurityProtocol()Handshake security protocol requested by the client.intgetHandshakeSecurityProtocolValue()Handshake security protocol requested by the client.EndpointgetLocalEndpoint()(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.Endpoint.BuildergetLocalEndpointBuilder()(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.EndpointOrBuildergetLocalEndpointOrBuilder()(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.IdentitygetLocalIdentity()(Optional) Application may specify a local identity.Identity.BuildergetLocalIdentityBuilder()(Optional) Application may specify a local identity.private com.google.protobuf.SingleFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder>getLocalIdentityFieldBuilder()(Optional) Application may specify a local identity.IdentityOrBuildergetLocalIdentityOrBuilder()(Optional) Application may specify a local identity.intgetMaxFrameSize()(Optional) Maximum frame size supported by the client.java.lang.StringgetRecordProtocols(int index)The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".com.google.protobuf.ByteStringgetRecordProtocolsBytes(int index)The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".intgetRecordProtocolsCount()The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".com.google.protobuf.ProtocolStringListgetRecordProtocolsList()The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".EndpointgetRemoteEndpoint()(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.Endpoint.BuildergetRemoteEndpointBuilder()(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.EndpointOrBuildergetRemoteEndpointOrBuilder()(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.RpcProtocolVersionsgetRpcVersions()(Optional) RPC protocol versions supported by the client.RpcProtocolVersions.BuildergetRpcVersionsBuilder()(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.RpcProtocolVersionsOrBuildergetRpcVersionsOrBuilder()(Optional) RPC protocol versions supported by the client.IdentitygetTargetIdentities(int index)(Optional) Describes which server identities are acceptable by the client.Identity.BuildergetTargetIdentitiesBuilder(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.intgetTargetIdentitiesCount()(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.IdentityOrBuildergetTargetIdentitiesOrBuilder(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.StringgetTargetName()(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.ByteStringgetTargetNameBytes()(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.booleanhasLocalEndpoint()(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.booleanhasLocalIdentity()(Optional) Application may specify a local identity.booleanhasRemoteEndpoint()(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.booleanhasRpcVersions()(Optional) RPC protocol versions supported by the client.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()private voidmaybeForceBuilderInitialization()StartClientHandshakeReq.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)StartClientHandshakeReq.BuildermergeFrom(com.google.protobuf.Message other)StartClientHandshakeReq.BuildermergeFrom(StartClientHandshakeReq other)StartClientHandshakeReq.BuildermergeLocalEndpoint(Endpoint value)(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.StartClientHandshakeReq.BuildermergeLocalIdentity(Identity value)(Optional) Application may specify a local identity.StartClientHandshakeReq.BuildermergeRemoteEndpoint(Endpoint value)(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.StartClientHandshakeReq.BuildermergeRpcVersions(RpcProtocolVersions value)(Optional) RPC protocol versions supported by the client.StartClientHandshakeReq.BuilderremoveTargetIdentities(int index)(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq.BuildersetApplicationProtocols(int index, java.lang.String value)The application protocols supported by the client, e.g., "h2" (for http2), "grpc".StartClientHandshakeReq.BuildersetHandshakeSecurityProtocol(HandshakeProtocol value)Handshake security protocol requested by the client.StartClientHandshakeReq.BuildersetHandshakeSecurityProtocolValue(int value)Handshake security protocol requested by the client.StartClientHandshakeReq.BuildersetLocalEndpoint(Endpoint value)(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.StartClientHandshakeReq.BuildersetLocalEndpoint(Endpoint.Builder builderForValue)(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.StartClientHandshakeReq.BuildersetLocalIdentity(Identity value)(Optional) Application may specify a local identity.StartClientHandshakeReq.BuildersetLocalIdentity(Identity.Builder builderForValue)(Optional) Application may specify a local identity.StartClientHandshakeReq.BuildersetMaxFrameSize(int value)(Optional) Maximum frame size supported by the client.StartClientHandshakeReq.BuildersetRecordProtocols(int index, java.lang.String value)The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".StartClientHandshakeReq.BuildersetRemoteEndpoint(Endpoint value)(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.StartClientHandshakeReq.BuildersetRemoteEndpoint(Endpoint.Builder builderForValue)(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.StartClientHandshakeReq.BuildersetRpcVersions(RpcProtocolVersions value)(Optional) RPC protocol versions supported by the client.StartClientHandshakeReq.BuildersetRpcVersions(RpcProtocolVersions.Builder builderForValue)(Optional) RPC protocol versions supported by the client.StartClientHandshakeReq.BuildersetTargetIdentities(int index, Identity value)(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq.BuildersetTargetIdentities(int index, Identity.Builder builderForValue)(Optional) Describes which server identities are acceptable by the client.StartClientHandshakeReq.BuildersetTargetName(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.BuildersetTargetNameBytes(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StartClientHandshakeReq.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public StartClientHandshakeReq.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StartClientHandshakeReq.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StartClientHandshakeReq.Builder>
-
getDefaultInstanceForType
public StartClientHandshakeReq getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public StartClientHandshakeReq build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StartClientHandshakeReq buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StartClientHandshakeReq.Builder>
-
mergeFrom
public StartClientHandshakeReq.Builder mergeFrom(StartClientHandshakeReq other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getHandshakeSecurityProtocolValuein 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:
getHandshakeSecurityProtocolin 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:
getApplicationProtocolsListin 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:
getApplicationProtocolsCountin 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:
getApplicationProtocolsin 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:
getApplicationProtocolsBytesin 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:
getRecordProtocolsListin 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:
getRecordProtocolsCountin 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:
getRecordProtocolsin 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:
getRecordProtocolsBytesin 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:
getTargetIdentitiesListin 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:
getTargetIdentitiesCountin 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:
getTargetIdentitiesin 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:
getTargetIdentitiesOrBuilderin 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:
getTargetIdentitiesOrBuilderListin 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:
hasLocalIdentityin 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:
getLocalIdentityin 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:
getLocalIdentityOrBuilderin 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:
hasLocalEndpointin 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:
getLocalEndpointin 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:
getLocalEndpointOrBuilderin 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:
hasRemoteEndpointin 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:
getRemoteEndpointin 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:
getRemoteEndpointOrBuilderin 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:
getTargetNamein 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:
getTargetNameBytesin 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:
hasRpcVersionsin 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:
getRpcVersionsin 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:
getRpcVersionsOrBuilderin 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:
getMaxFrameSizein 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.
-
-