Package io.grpc.alts.internal
Class StartClientHandshakeReq.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<StartClientHandshakeReq.Builder>
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,Cloneable
- Enclosing class:
StartClientHandshakeReq
public static final class StartClientHandshakeReq.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StartClientHandshakeReq.Builder>
implements StartClientHandshakeReqOrBuilder
Protobuf type
grpc.gcp.StartClientHandshakeReq-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.google.protobuf.LazyStringArrayListprivate intprivate intprivate Endpointprivate com.google.protobuf.SingleFieldBuilder<Endpoint, Endpoint.Builder, EndpointOrBuilder> private Identityprivate com.google.protobuf.SingleFieldBuilder<Identity, Identity.Builder, IdentityOrBuilder> private intprivate com.google.protobuf.LazyStringArrayListprivate Endpointprivate com.google.protobuf.SingleFieldBuilder<Endpoint, Endpoint.Builder, EndpointOrBuilder> private RpcProtocolVersionsprivate com.google.protobuf.SingleFieldBuilder<RpcProtocolVersions, RpcProtocolVersions.Builder, RpcProtocolVersionsOrBuilder> private com.google.protobuf.RepeatedFieldBuilder<Identity, Identity.Builder, IdentityOrBuilder> private Object -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllApplicationProtocols(Iterable<String> values) The application protocols supported by the client, e.g., "h2" (for http2), "grpc".addAllRecordProtocols(Iterable<String> values) The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".addAllTargetIdentities(Iterable<? extends Identity> values) (Optional) Describes which server identities are acceptable by the client.addApplicationProtocols(String value) The application protocols supported by the client, e.g., "h2" (for http2), "grpc".addApplicationProtocolsBytes(com.google.protobuf.ByteString value) The application protocols supported by the client, e.g., "h2" (for http2), "grpc".addRecordProtocols(String value) The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".addRecordProtocolsBytes(com.google.protobuf.ByteString value) The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".addTargetIdentities(int index, Identity value) (Optional) Describes which server identities are acceptable by the client.addTargetIdentities(int index, Identity.Builder builderForValue) (Optional) Describes which server identities are acceptable by the client.addTargetIdentities(Identity value) (Optional) Describes which server identities are acceptable by the client.addTargetIdentities(Identity.Builder builderForValue) (Optional) Describes which server identities are acceptable by the client.(Optional) Describes which server identities are acceptable by the client.addTargetIdentitiesBuilder(int index) (Optional) Describes which server identities are acceptable by the client.build()private voidbuildPartial0(StartClientHandshakeReq result) private voidclear()The application protocols supported by the client, e.g., "h2" (for http2), "grpc".Handshake security protocol requested by the client.(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.(Optional) Application may specify a local identity.(Optional) Maximum frame size supported by the client.The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.(Optional) RPC protocol versions supported by the client.(Optional) Describes which server identities are acceptable by the client.(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 voidprivate voidprivate voidgetApplicationProtocols(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".intThe application protocols supported by the client, e.g., "h2" (for http2), "grpc".com.google.protobuf.ProtocolStringListThe application protocols supported by the client, e.g., "h2" (for http2), "grpc".static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorHandshake security protocol requested by the client.intHandshake security protocol requested by the client.(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.(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> (Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.(Optional) Application may specify a local identity.(Optional) Application may specify a local identity.private com.google.protobuf.SingleFieldBuilder<Identity, Identity.Builder, IdentityOrBuilder> (Optional) Application may specify a local identity.(Optional) Application may specify a local identity.int(Optional) Maximum frame size supported by the client.getRecordProtocols(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".intThe record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".com.google.protobuf.ProtocolStringListThe record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.(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> (Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.(Optional) RPC protocol versions supported by the client.(Optional) RPC protocol versions supported by the client.private com.google.protobuf.SingleFieldBuilder<RpcProtocolVersions, RpcProtocolVersions.Builder, RpcProtocolVersionsOrBuilder> (Optional) RPC protocol versions supported by the client.(Optional) RPC protocol versions supported by the client.getTargetIdentities(int index) (Optional) Describes which server identities are acceptable by the client.getTargetIdentitiesBuilder(int index) (Optional) Describes which server identities are acceptable by the client.(Optional) Describes which server identities are acceptable by the client.int(Optional) Describes which server identities are acceptable by the client.private com.google.protobuf.RepeatedFieldBuilder<Identity, Identity.Builder, IdentityOrBuilder> (Optional) Describes which server identities are acceptable by the client.getTargetIdentitiesOrBuilder(int index) (Optional) Describes which server identities are acceptable by the client.List<? extends IdentityOrBuilder> (Optional) Describes which server identities are acceptable by the client.(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(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(Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.boolean(Optional) Application may specify a local identity.boolean(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.boolean(Optional) RPC protocol versions supported by the client.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanprivate voidmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(StartClientHandshakeReq other) mergeLocalEndpoint(Endpoint value) (Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.mergeLocalIdentity(Identity value) (Optional) Application may specify a local identity.mergeRemoteEndpoint(Endpoint value) (Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.(Optional) RPC protocol versions supported by the client.removeTargetIdentities(int index) (Optional) Describes which server identities are acceptable by the client.setApplicationProtocols(int index, String value) The application protocols supported by the client, e.g., "h2" (for http2), "grpc".Handshake security protocol requested by the client.setHandshakeSecurityProtocolValue(int value) Handshake security protocol requested by the client.setLocalEndpoint(Endpoint value) (Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.setLocalEndpoint(Endpoint.Builder builderForValue) (Optional) Local endpoint information of the connection to the server, such as local IP address, port number, and network protocol.setLocalIdentity(Identity value) (Optional) Application may specify a local identity.setLocalIdentity(Identity.Builder builderForValue) (Optional) Application may specify a local identity.setMaxFrameSize(int value) (Optional) Maximum frame size supported by the client.setRecordProtocols(int index, String value) The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".setRemoteEndpoint(Endpoint value) (Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.setRemoteEndpoint(Endpoint.Builder builderForValue) (Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.(Optional) RPC protocol versions supported by the client.setRpcVersions(RpcProtocolVersions.Builder builderForValue) (Optional) RPC protocol versions supported by the client.setTargetIdentities(int index, Identity value) (Optional) Describes which server identities are acceptable by the client.setTargetIdentities(int index, Identity.Builder builderForValue) (Optional) Describes which server identities are acceptable by the client.setTargetName(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.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
handshakeSecurityProtocol_
private int handshakeSecurityProtocol_ -
applicationProtocols_
private com.google.protobuf.LazyStringArrayList applicationProtocols_ -
recordProtocols_
private com.google.protobuf.LazyStringArrayList recordProtocols_ -
targetIdentities_
-
targetIdentitiesBuilder_
private com.google.protobuf.RepeatedFieldBuilder<Identity,Identity.Builder, targetIdentitiesBuilder_IdentityOrBuilder> -
localIdentity_
-
localIdentityBuilder_
private com.google.protobuf.SingleFieldBuilder<Identity,Identity.Builder, localIdentityBuilder_IdentityOrBuilder> -
localEndpoint_
-
localEndpointBuilder_
private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder, localEndpointBuilder_EndpointOrBuilder> -
remoteEndpoint_
-
remoteEndpointBuilder_
private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder, remoteEndpointBuilder_EndpointOrBuilder> -
targetName_
-
rpcVersions_
-
rpcVersionsBuilder_
private com.google.protobuf.SingleFieldBuilder<RpcProtocolVersions,RpcProtocolVersions.Builder, rpcVersionsBuilder_RpcProtocolVersionsOrBuilder> -
maxFrameSize_
private int maxFrameSize_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StartClientHandshakeReq.Builder>
-
mergeFrom
-
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 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:
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
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
Handshake security protocol requested by the client.
.grpc.gcp.HandshakeProtocol handshake_security_protocol = 1;- Specified by:
getHandshakeSecurityProtocolin interfaceStartClientHandshakeReqOrBuilder- Returns:
- The handshakeSecurityProtocol.
-
setHandshakeSecurityProtocol
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
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
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
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
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
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
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
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
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
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
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
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
(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
(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
(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
(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
(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
(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
(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
(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
(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
(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
(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
(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
(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
(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
(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, getTargetIdentitiesFieldBuilder()IdentityOrBuilder> -
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
(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
(Optional) Application may specify a local identity. Otherwise, the handshaker chooses a default local identity.
.grpc.gcp.Identity local_identity = 5; -
setLocalIdentity
(Optional) Application may specify a local identity. Otherwise, the handshaker chooses a default local identity.
.grpc.gcp.Identity local_identity = 5; -
mergeLocalIdentity
(Optional) Application may specify a local identity. Otherwise, the handshaker chooses a default local identity.
.grpc.gcp.Identity local_identity = 5; -
clearLocalIdentity
(Optional) Application may specify a local identity. Otherwise, the handshaker chooses a default local identity.
.grpc.gcp.Identity local_identity = 5; -
getLocalIdentityBuilder
(Optional) Application may specify a local identity. Otherwise, the handshaker chooses a default local identity.
.grpc.gcp.Identity local_identity = 5; -
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, getLocalIdentityFieldBuilder()IdentityOrBuilder> (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
(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
(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
(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
(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
(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
(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
(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, getLocalEndpointFieldBuilder()EndpointOrBuilder> (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
(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
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 7; -
setRemoteEndpoint
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 7; -
mergeRemoteEndpoint
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 7; -
clearRemoteEndpoint
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 7; -
getRemoteEndpointBuilder
(Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 7; -
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, getRemoteEndpointFieldBuilder()EndpointOrBuilder> (Optional) Endpoint information of the remote server, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 7; -
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
(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
(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
(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
(Optional) RPC protocol versions supported by the client.
.grpc.gcp.RpcProtocolVersions rpc_versions = 9;- Specified by:
getRpcVersionsin interfaceStartClientHandshakeReqOrBuilder- Returns:
- The rpcVersions.
-
setRpcVersions
(Optional) RPC protocol versions supported by the client.
.grpc.gcp.RpcProtocolVersions rpc_versions = 9; -
setRpcVersions
(Optional) RPC protocol versions supported by the client.
.grpc.gcp.RpcProtocolVersions rpc_versions = 9; -
mergeRpcVersions
(Optional) RPC protocol versions supported by the client.
.grpc.gcp.RpcProtocolVersions rpc_versions = 9; -
clearRpcVersions
(Optional) RPC protocol versions supported by the client.
.grpc.gcp.RpcProtocolVersions rpc_versions = 9; -
getRpcVersionsBuilder
(Optional) RPC protocol versions supported by the client.
.grpc.gcp.RpcProtocolVersions rpc_versions = 9; -
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, getRpcVersionsFieldBuilder()RpcProtocolVersionsOrBuilder> (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
(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
(Optional) Maximum frame size supported by the client.
uint32 max_frame_size = 10;- Returns:
- This builder for chaining.
-