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.LazyStringArrayList
private int
private int
private Endpoint
private com.google.protobuf.SingleFieldBuilder
<Endpoint, Endpoint.Builder, EndpointOrBuilder> private Identity
private com.google.protobuf.SingleFieldBuilder
<Identity, Identity.Builder, IdentityOrBuilder> private int
private com.google.protobuf.LazyStringArrayList
private Endpoint
private com.google.protobuf.SingleFieldBuilder
<Endpoint, Endpoint.Builder, EndpointOrBuilder> private RpcProtocolVersions
private 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 void
buildPartial0
(StartClientHandshakeReq result) private void
clear()
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 void
private void
private void
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
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".com.google.protobuf.ProtocolStringList
The application protocols supported by the client, e.g., "h2" (for http2), "grpc".static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Handshake security protocol requested by the client.int
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) 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.ByteString
getRecordProtocolsBytes
(int index) The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".int
The record protocols supported by the client, e.g., "ALTSRP_GCM_AES128".com.google.protobuf.ProtocolStringList
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) 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.FieldAccessorTable
final boolean
private void
mergeFrom
(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, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<StartClientHandshakeReq.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
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
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StartClientHandshakeReq.Builder>
-
mergeFrom
-
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 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:
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
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:
getHandshakeSecurityProtocol
in 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:
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
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
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:
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
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
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:
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
(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
(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:
getTargetIdentitiesOrBuilder
in 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:
getTargetIdentitiesOrBuilderList
in 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:
hasLocalIdentity
in 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:
getLocalIdentity
in 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:
getLocalIdentityOrBuilder
in 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:
hasLocalEndpoint
in 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:
getLocalEndpoint
in 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:
getLocalEndpointOrBuilder
in 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:
hasRemoteEndpoint
in 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:
getRemoteEndpoint
in 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:
getRemoteEndpointOrBuilder
in 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:
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
(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:
hasRpcVersions
in 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:
getRpcVersions
in 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:
getRpcVersionsOrBuilder
in 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:
getMaxFrameSize
in 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.
-