Package io.grpc.alts.internal
Class StartServerHandshakeReq.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<StartServerHandshakeReq.Builder>
-
- io.grpc.alts.internal.StartServerHandshakeReq.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,StartServerHandshakeReqOrBuilder
,java.lang.Cloneable
- Enclosing class:
- StartServerHandshakeReq
public static final class StartServerHandshakeReq.Builder extends com.google.protobuf.GeneratedMessage.Builder<StartServerHandshakeReq.Builder> implements StartServerHandshakeReqOrBuilder
Protobuf typegrpc.gcp.StartServerHandshakeReq
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
StartServerHandshakeReq.Builder.HandshakeParametersConverter
-
Field Summary
Fields Modifier and Type Field Description private com.google.protobuf.LazyStringArrayList
applicationProtocols_
private int
bitField0_
private com.google.protobuf.MapFieldBuilder<java.lang.Integer,ServerHandshakeParametersOrBuilder,ServerHandshakeParameters,ServerHandshakeParameters.Builder>
handshakeParameters_
private static StartServerHandshakeReq.Builder.HandshakeParametersConverter
handshakeParametersConverter
private com.google.protobuf.ByteString
inBytes_
private Endpoint
localEndpoint_
private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder,EndpointOrBuilder>
localEndpointBuilder_
private int
maxFrameSize_
private Endpoint
remoteEndpoint_
private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder,EndpointOrBuilder>
remoteEndpointBuilder_
private RpcProtocolVersions
rpcVersions_
private com.google.protobuf.SingleFieldBuilder<RpcProtocolVersions,RpcProtocolVersions.Builder,RpcProtocolVersionsOrBuilder>
rpcVersionsBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StartServerHandshakeReq.Builder
addAllApplicationProtocols(java.lang.Iterable<java.lang.String> values)
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".StartServerHandshakeReq.Builder
addApplicationProtocols(java.lang.String value)
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".StartServerHandshakeReq.Builder
addApplicationProtocolsBytes(com.google.protobuf.ByteString value)
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".StartServerHandshakeReq
build()
StartServerHandshakeReq
buildPartial()
private void
buildPartial0(StartServerHandshakeReq result)
StartServerHandshakeReq.Builder
clear()
StartServerHandshakeReq.Builder
clearApplicationProtocols()
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".StartServerHandshakeReq.Builder
clearHandshakeParameters()
StartServerHandshakeReq.Builder
clearInBytes()
Bytes in out_frames returned from the peer's HandshakerResp.StartServerHandshakeReq.Builder
clearLocalEndpoint()
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.StartServerHandshakeReq.Builder
clearMaxFrameSize()
(Optional) Maximum frame size supported by the server.StartServerHandshakeReq.Builder
clearRemoteEndpoint()
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.StartServerHandshakeReq.Builder
clearRpcVersions()
(Optional) RPC protocol versions supported by the server.boolean
containsHandshakeParameters(int key)
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.private void
ensureApplicationProtocolsIsMutable()
java.lang.String
getApplicationProtocols(int index)
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".com.google.protobuf.ByteString
getApplicationProtocolsBytes(int index)
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".int
getApplicationProtocolsCount()
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".com.google.protobuf.ProtocolStringList
getApplicationProtocolsList()
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".StartServerHandshakeReq
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.util.Map<java.lang.Integer,ServerHandshakeParameters>
getHandshakeParameters()
Deprecated.int
getHandshakeParametersCount()
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.java.util.Map<java.lang.Integer,ServerHandshakeParameters>
getHandshakeParametersMap()
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.ServerHandshakeParameters
getHandshakeParametersOrDefault(int key, ServerHandshakeParameters defaultValue)
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.ServerHandshakeParameters
getHandshakeParametersOrThrow(int key)
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.com.google.protobuf.ByteString
getInBytes()
Bytes in out_frames returned from the peer's HandshakerResp.Endpoint
getLocalEndpoint()
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.Endpoint.Builder
getLocalEndpointBuilder()
(Optional) Local endpoint information of the connection to the client, 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 client, such as local IP address, port number, and network protocol.EndpointOrBuilder
getLocalEndpointOrBuilder()
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.int
getMaxFrameSize()
(Optional) Maximum frame size supported by the server.java.util.Map<java.lang.Integer,ServerHandshakeParameters>
getMutableHandshakeParameters()
Deprecated.Endpoint
getRemoteEndpoint()
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.Endpoint.Builder
getRemoteEndpointBuilder()
(Optional) Endpoint information of the remote client, 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 client, such as IP address, port number, and network protocol.EndpointOrBuilder
getRemoteEndpointOrBuilder()
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.RpcProtocolVersions
getRpcVersions()
(Optional) RPC protocol versions supported by the server.RpcProtocolVersions.Builder
getRpcVersionsBuilder()
(Optional) RPC protocol versions supported by the server.private com.google.protobuf.SingleFieldBuilder<RpcProtocolVersions,RpcProtocolVersions.Builder,RpcProtocolVersionsOrBuilder>
getRpcVersionsFieldBuilder()
(Optional) RPC protocol versions supported by the server.RpcProtocolVersionsOrBuilder
getRpcVersionsOrBuilder()
(Optional) RPC protocol versions supported by the server.boolean
hasLocalEndpoint()
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.boolean
hasRemoteEndpoint()
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.boolean
hasRpcVersions()
(Optional) RPC protocol versions supported by the server.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
private com.google.protobuf.MapFieldBuilder<java.lang.Integer,ServerHandshakeParametersOrBuilder,ServerHandshakeParameters,ServerHandshakeParameters.Builder>
internalGetHandshakeParameters()
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection(int number)
private com.google.protobuf.MapFieldBuilder<java.lang.Integer,ServerHandshakeParametersOrBuilder,ServerHandshakeParameters,ServerHandshakeParameters.Builder>
internalGetMutableHandshakeParameters()
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection(int number)
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
StartServerHandshakeReq.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
StartServerHandshakeReq.Builder
mergeFrom(com.google.protobuf.Message other)
StartServerHandshakeReq.Builder
mergeFrom(StartServerHandshakeReq other)
StartServerHandshakeReq.Builder
mergeLocalEndpoint(Endpoint value)
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.StartServerHandshakeReq.Builder
mergeRemoteEndpoint(Endpoint value)
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.StartServerHandshakeReq.Builder
mergeRpcVersions(RpcProtocolVersions value)
(Optional) RPC protocol versions supported by the server.StartServerHandshakeReq.Builder
putAllHandshakeParameters(java.util.Map<java.lang.Integer,ServerHandshakeParameters> values)
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.StartServerHandshakeReq.Builder
putHandshakeParameters(int key, ServerHandshakeParameters value)
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.ServerHandshakeParameters.Builder
putHandshakeParametersBuilderIfAbsent(int key)
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.StartServerHandshakeReq.Builder
removeHandshakeParameters(int key)
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.StartServerHandshakeReq.Builder
setApplicationProtocols(int index, java.lang.String value)
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".StartServerHandshakeReq.Builder
setInBytes(com.google.protobuf.ByteString value)
Bytes in out_frames returned from the peer's HandshakerResp.StartServerHandshakeReq.Builder
setLocalEndpoint(Endpoint value)
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.StartServerHandshakeReq.Builder
setLocalEndpoint(Endpoint.Builder builderForValue)
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.StartServerHandshakeReq.Builder
setMaxFrameSize(int value)
(Optional) Maximum frame size supported by the server.StartServerHandshakeReq.Builder
setRemoteEndpoint(Endpoint value)
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.StartServerHandshakeReq.Builder
setRemoteEndpoint(Endpoint.Builder builderForValue)
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.StartServerHandshakeReq.Builder
setRpcVersions(RpcProtocolVersions value)
(Optional) RPC protocol versions supported by the server.StartServerHandshakeReq.Builder
setRpcVersions(RpcProtocolVersions.Builder builderForValue)
(Optional) RPC protocol versions supported by the server.-
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, internalGetMutableMapField, 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_
-
applicationProtocols_
private com.google.protobuf.LazyStringArrayList applicationProtocols_
-
handshakeParametersConverter
private static final StartServerHandshakeReq.Builder.HandshakeParametersConverter handshakeParametersConverter
-
handshakeParameters_
private com.google.protobuf.MapFieldBuilder<java.lang.Integer,ServerHandshakeParametersOrBuilder,ServerHandshakeParameters,ServerHandshakeParameters.Builder> handshakeParameters_
-
inBytes_
private com.google.protobuf.ByteString inBytes_
-
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_
-
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()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<StartServerHandshakeReq.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<StartServerHandshakeReq.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<StartServerHandshakeReq.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public StartServerHandshakeReq.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<StartServerHandshakeReq.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<StartServerHandshakeReq.Builder>
-
getDefaultInstanceForType
public StartServerHandshakeReq getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StartServerHandshakeReq build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StartServerHandshakeReq buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(StartServerHandshakeReq result)
-
mergeFrom
public StartServerHandshakeReq.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StartServerHandshakeReq.Builder>
-
mergeFrom
public StartServerHandshakeReq.Builder mergeFrom(StartServerHandshakeReq other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<StartServerHandshakeReq.Builder>
-
mergeFrom
public StartServerHandshakeReq.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StartServerHandshakeReq.Builder>
- Throws:
java.io.IOException
-
ensureApplicationProtocolsIsMutable
private void ensureApplicationProtocolsIsMutable()
-
getApplicationProtocolsList
public com.google.protobuf.ProtocolStringList getApplicationProtocolsList()
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 1;
- Specified by:
getApplicationProtocolsList
in interfaceStartServerHandshakeReqOrBuilder
- Returns:
- A list containing the applicationProtocols.
-
getApplicationProtocolsCount
public int getApplicationProtocolsCount()
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 1;
- Specified by:
getApplicationProtocolsCount
in interfaceStartServerHandshakeReqOrBuilder
- Returns:
- The count of applicationProtocols.
-
getApplicationProtocols
public java.lang.String getApplicationProtocols(int index)
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 1;
- Specified by:
getApplicationProtocols
in interfaceStartServerHandshakeReqOrBuilder
- 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 server, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 1;
- Specified by:
getApplicationProtocolsBytes
in interfaceStartServerHandshakeReqOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the applicationProtocols at the given index.
-
setApplicationProtocols
public StartServerHandshakeReq.Builder setApplicationProtocols(int index, java.lang.String value)
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 1;
- Parameters:
index
- The index to set the value at.value
- The applicationProtocols to set.- Returns:
- This builder for chaining.
-
addApplicationProtocols
public StartServerHandshakeReq.Builder addApplicationProtocols(java.lang.String value)
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 1;
- Parameters:
value
- The applicationProtocols to add.- Returns:
- This builder for chaining.
-
addAllApplicationProtocols
public StartServerHandshakeReq.Builder addAllApplicationProtocols(java.lang.Iterable<java.lang.String> values)
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 1;
- Parameters:
values
- The applicationProtocols to add.- Returns:
- This builder for chaining.
-
clearApplicationProtocols
public StartServerHandshakeReq.Builder clearApplicationProtocols()
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 1;
- Returns:
- This builder for chaining.
-
addApplicationProtocolsBytes
public StartServerHandshakeReq.Builder addApplicationProtocolsBytes(com.google.protobuf.ByteString value)
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 1;
- Parameters:
value
- The bytes of the applicationProtocols to add.- Returns:
- This builder for chaining.
-
internalGetHandshakeParameters
private com.google.protobuf.MapFieldBuilder<java.lang.Integer,ServerHandshakeParametersOrBuilder,ServerHandshakeParameters,ServerHandshakeParameters.Builder> internalGetHandshakeParameters()
-
internalGetMutableHandshakeParameters
private com.google.protobuf.MapFieldBuilder<java.lang.Integer,ServerHandshakeParametersOrBuilder,ServerHandshakeParameters,ServerHandshakeParameters.Builder> internalGetMutableHandshakeParameters()
-
getHandshakeParametersCount
public int getHandshakeParametersCount()
Description copied from interface:StartServerHandshakeReqOrBuilder
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol. Each handshake security protocol (e.g., TLS or ALTS) has its own set of record protocols and local identities. Since protobuf does not support enum as key to the map, the key to handshake_parameters is the integer value of HandshakeProtocol enum.
map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
- Specified by:
getHandshakeParametersCount
in interfaceStartServerHandshakeReqOrBuilder
-
containsHandshakeParameters
public boolean containsHandshakeParameters(int key)
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol. Each handshake security protocol (e.g., TLS or ALTS) has its own set of record protocols and local identities. Since protobuf does not support enum as key to the map, the key to handshake_parameters is the integer value of HandshakeProtocol enum.
map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
- Specified by:
containsHandshakeParameters
in interfaceStartServerHandshakeReqOrBuilder
-
getHandshakeParameters
@Deprecated public java.util.Map<java.lang.Integer,ServerHandshakeParameters> getHandshakeParameters()
Deprecated.UsegetHandshakeParametersMap()
instead.- Specified by:
getHandshakeParameters
in interfaceStartServerHandshakeReqOrBuilder
-
getHandshakeParametersMap
public java.util.Map<java.lang.Integer,ServerHandshakeParameters> getHandshakeParametersMap()
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol. Each handshake security protocol (e.g., TLS or ALTS) has its own set of record protocols and local identities. Since protobuf does not support enum as key to the map, the key to handshake_parameters is the integer value of HandshakeProtocol enum.
map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
- Specified by:
getHandshakeParametersMap
in interfaceStartServerHandshakeReqOrBuilder
-
getHandshakeParametersOrDefault
public ServerHandshakeParameters getHandshakeParametersOrDefault(int key, ServerHandshakeParameters defaultValue)
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol. Each handshake security protocol (e.g., TLS or ALTS) has its own set of record protocols and local identities. Since protobuf does not support enum as key to the map, the key to handshake_parameters is the integer value of HandshakeProtocol enum.
map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
- Specified by:
getHandshakeParametersOrDefault
in interfaceStartServerHandshakeReqOrBuilder
-
getHandshakeParametersOrThrow
public ServerHandshakeParameters getHandshakeParametersOrThrow(int key)
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol. Each handshake security protocol (e.g., TLS or ALTS) has its own set of record protocols and local identities. Since protobuf does not support enum as key to the map, the key to handshake_parameters is the integer value of HandshakeProtocol enum.
map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
- Specified by:
getHandshakeParametersOrThrow
in interfaceStartServerHandshakeReqOrBuilder
-
clearHandshakeParameters
public StartServerHandshakeReq.Builder clearHandshakeParameters()
-
removeHandshakeParameters
public StartServerHandshakeReq.Builder removeHandshakeParameters(int key)
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol. Each handshake security protocol (e.g., TLS or ALTS) has its own set of record protocols and local identities. Since protobuf does not support enum as key to the map, the key to handshake_parameters is the integer value of HandshakeProtocol enum.
map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
-
getMutableHandshakeParameters
@Deprecated public java.util.Map<java.lang.Integer,ServerHandshakeParameters> getMutableHandshakeParameters()
Deprecated.Use alternate mutation accessors instead.
-
putHandshakeParameters
public StartServerHandshakeReq.Builder putHandshakeParameters(int key, ServerHandshakeParameters value)
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol. Each handshake security protocol (e.g., TLS or ALTS) has its own set of record protocols and local identities. Since protobuf does not support enum as key to the map, the key to handshake_parameters is the integer value of HandshakeProtocol enum.
map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
-
putAllHandshakeParameters
public StartServerHandshakeReq.Builder putAllHandshakeParameters(java.util.Map<java.lang.Integer,ServerHandshakeParameters> values)
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol. Each handshake security protocol (e.g., TLS or ALTS) has its own set of record protocols and local identities. Since protobuf does not support enum as key to the map, the key to handshake_parameters is the integer value of HandshakeProtocol enum.
map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
-
putHandshakeParametersBuilderIfAbsent
public ServerHandshakeParameters.Builder putHandshakeParametersBuilderIfAbsent(int key)
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol. Each handshake security protocol (e.g., TLS or ALTS) has its own set of record protocols and local identities. Since protobuf does not support enum as key to the map, the key to handshake_parameters is the integer value of HandshakeProtocol enum.
map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
-
getInBytes
public com.google.protobuf.ByteString getInBytes()
Bytes in out_frames returned from the peer's HandshakerResp. It is possible that the peer's out_frames are split into multiple HandshakReq messages.
bytes in_bytes = 3;
- Specified by:
getInBytes
in interfaceStartServerHandshakeReqOrBuilder
- Returns:
- The inBytes.
-
setInBytes
public StartServerHandshakeReq.Builder setInBytes(com.google.protobuf.ByteString value)
Bytes in out_frames returned from the peer's HandshakerResp. It is possible that the peer's out_frames are split into multiple HandshakReq messages.
bytes in_bytes = 3;
- Parameters:
value
- The inBytes to set.- Returns:
- This builder for chaining.
-
clearInBytes
public StartServerHandshakeReq.Builder clearInBytes()
Bytes in out_frames returned from the peer's HandshakerResp. It is possible that the peer's out_frames are split into multiple HandshakReq messages.
bytes in_bytes = 3;
- Returns:
- This builder for chaining.
-
hasLocalEndpoint
public boolean hasLocalEndpoint()
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 4;
- Specified by:
hasLocalEndpoint
in interfaceStartServerHandshakeReqOrBuilder
- Returns:
- Whether the localEndpoint field is set.
-
getLocalEndpoint
public Endpoint getLocalEndpoint()
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 4;
- Specified by:
getLocalEndpoint
in interfaceStartServerHandshakeReqOrBuilder
- Returns:
- The localEndpoint.
-
setLocalEndpoint
public StartServerHandshakeReq.Builder setLocalEndpoint(Endpoint value)
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 4;
-
setLocalEndpoint
public StartServerHandshakeReq.Builder setLocalEndpoint(Endpoint.Builder builderForValue)
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 4;
-
mergeLocalEndpoint
public StartServerHandshakeReq.Builder mergeLocalEndpoint(Endpoint value)
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 4;
-
clearLocalEndpoint
public StartServerHandshakeReq.Builder clearLocalEndpoint()
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 4;
-
getLocalEndpointBuilder
public Endpoint.Builder getLocalEndpointBuilder()
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 4;
-
getLocalEndpointOrBuilder
public EndpointOrBuilder getLocalEndpointOrBuilder()
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 4;
- Specified by:
getLocalEndpointOrBuilder
in interfaceStartServerHandshakeReqOrBuilder
-
getLocalEndpointFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder,EndpointOrBuilder> getLocalEndpointFieldBuilder()
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.
.grpc.gcp.Endpoint local_endpoint = 4;
-
hasRemoteEndpoint
public boolean hasRemoteEndpoint()
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
- Specified by:
hasRemoteEndpoint
in interfaceStartServerHandshakeReqOrBuilder
- Returns:
- Whether the remoteEndpoint field is set.
-
getRemoteEndpoint
public Endpoint getRemoteEndpoint()
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
- Specified by:
getRemoteEndpoint
in interfaceStartServerHandshakeReqOrBuilder
- Returns:
- The remoteEndpoint.
-
setRemoteEndpoint
public StartServerHandshakeReq.Builder setRemoteEndpoint(Endpoint value)
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
-
setRemoteEndpoint
public StartServerHandshakeReq.Builder setRemoteEndpoint(Endpoint.Builder builderForValue)
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
-
mergeRemoteEndpoint
public StartServerHandshakeReq.Builder mergeRemoteEndpoint(Endpoint value)
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
-
clearRemoteEndpoint
public StartServerHandshakeReq.Builder clearRemoteEndpoint()
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
-
getRemoteEndpointBuilder
public Endpoint.Builder getRemoteEndpointBuilder()
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
-
getRemoteEndpointOrBuilder
public EndpointOrBuilder getRemoteEndpointOrBuilder()
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
- Specified by:
getRemoteEndpointOrBuilder
in interfaceStartServerHandshakeReqOrBuilder
-
getRemoteEndpointFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder,EndpointOrBuilder> getRemoteEndpointFieldBuilder()
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
-
hasRpcVersions
public boolean hasRpcVersions()
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
- Specified by:
hasRpcVersions
in interfaceStartServerHandshakeReqOrBuilder
- Returns:
- Whether the rpcVersions field is set.
-
getRpcVersions
public RpcProtocolVersions getRpcVersions()
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
- Specified by:
getRpcVersions
in interfaceStartServerHandshakeReqOrBuilder
- Returns:
- The rpcVersions.
-
setRpcVersions
public StartServerHandshakeReq.Builder setRpcVersions(RpcProtocolVersions value)
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
-
setRpcVersions
public StartServerHandshakeReq.Builder setRpcVersions(RpcProtocolVersions.Builder builderForValue)
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
-
mergeRpcVersions
public StartServerHandshakeReq.Builder mergeRpcVersions(RpcProtocolVersions value)
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
-
clearRpcVersions
public StartServerHandshakeReq.Builder clearRpcVersions()
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
-
getRpcVersionsBuilder
public RpcProtocolVersions.Builder getRpcVersionsBuilder()
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
-
getRpcVersionsOrBuilder
public RpcProtocolVersionsOrBuilder getRpcVersionsOrBuilder()
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
- Specified by:
getRpcVersionsOrBuilder
in interfaceStartServerHandshakeReqOrBuilder
-
getRpcVersionsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RpcProtocolVersions,RpcProtocolVersions.Builder,RpcProtocolVersionsOrBuilder> getRpcVersionsFieldBuilder()
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
-
getMaxFrameSize
public int getMaxFrameSize()
(Optional) Maximum frame size supported by the server.
uint32 max_frame_size = 7;
- Specified by:
getMaxFrameSize
in interfaceStartServerHandshakeReqOrBuilder
- Returns:
- The maxFrameSize.
-
setMaxFrameSize
public StartServerHandshakeReq.Builder setMaxFrameSize(int value)
(Optional) Maximum frame size supported by the server.
uint32 max_frame_size = 7;
- Parameters:
value
- The maxFrameSize to set.- Returns:
- This builder for chaining.
-
clearMaxFrameSize
public StartServerHandshakeReq.Builder clearMaxFrameSize()
(Optional) Maximum frame size supported by the server.
uint32 max_frame_size = 7;
- Returns:
- This builder for chaining.
-
-