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 classStartServerHandshakeReq.Builder.HandshakeParametersConverter
-
Field Summary
Fields Modifier and Type Field Description private com.google.protobuf.LazyStringArrayListapplicationProtocols_private intbitField0_private com.google.protobuf.MapFieldBuilder<java.lang.Integer,ServerHandshakeParametersOrBuilder,ServerHandshakeParameters,ServerHandshakeParameters.Builder>handshakeParameters_private static StartServerHandshakeReq.Builder.HandshakeParametersConverterhandshakeParametersConverterprivate com.google.protobuf.ByteStringinBytes_private EndpointlocalEndpoint_private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder,EndpointOrBuilder>localEndpointBuilder_private intmaxFrameSize_private EndpointremoteEndpoint_private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder,EndpointOrBuilder>remoteEndpointBuilder_private RpcProtocolVersionsrpcVersions_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.BuilderaddAllApplicationProtocols(java.lang.Iterable<java.lang.String> values)The application protocols supported by the server, e.g., "h2" (for http2), "grpc".StartServerHandshakeReq.BuilderaddApplicationProtocols(java.lang.String value)The application protocols supported by the server, e.g., "h2" (for http2), "grpc".StartServerHandshakeReq.BuilderaddApplicationProtocolsBytes(com.google.protobuf.ByteString value)The application protocols supported by the server, e.g., "h2" (for http2), "grpc".StartServerHandshakeReqbuild()StartServerHandshakeReqbuildPartial()private voidbuildPartial0(StartServerHandshakeReq result)StartServerHandshakeReq.Builderclear()StartServerHandshakeReq.BuilderclearApplicationProtocols()The application protocols supported by the server, e.g., "h2" (for http2), "grpc".StartServerHandshakeReq.BuilderclearHandshakeParameters()StartServerHandshakeReq.BuilderclearInBytes()Bytes in out_frames returned from the peer's HandshakerResp.StartServerHandshakeReq.BuilderclearLocalEndpoint()(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.StartServerHandshakeReq.BuilderclearMaxFrameSize()(Optional) Maximum frame size supported by the server.StartServerHandshakeReq.BuilderclearRemoteEndpoint()(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.StartServerHandshakeReq.BuilderclearRpcVersions()(Optional) RPC protocol versions supported by the server.booleancontainsHandshakeParameters(int key)Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.private voidensureApplicationProtocolsIsMutable()java.lang.StringgetApplicationProtocols(int index)The application protocols supported by the server, e.g., "h2" (for http2), "grpc".com.google.protobuf.ByteStringgetApplicationProtocolsBytes(int index)The application protocols supported by the server, e.g., "h2" (for http2), "grpc".intgetApplicationProtocolsCount()The application protocols supported by the server, e.g., "h2" (for http2), "grpc".com.google.protobuf.ProtocolStringListgetApplicationProtocolsList()The application protocols supported by the server, e.g., "h2" (for http2), "grpc".StartServerHandshakeReqgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.util.Map<java.lang.Integer,ServerHandshakeParameters>getHandshakeParameters()Deprecated.intgetHandshakeParametersCount()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.ServerHandshakeParametersgetHandshakeParametersOrDefault(int key, ServerHandshakeParameters defaultValue)Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.ServerHandshakeParametersgetHandshakeParametersOrThrow(int key)Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.com.google.protobuf.ByteStringgetInBytes()Bytes in out_frames returned from the peer's HandshakerResp.EndpointgetLocalEndpoint()(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.Endpoint.BuildergetLocalEndpointBuilder()(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.EndpointOrBuildergetLocalEndpointOrBuilder()(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.intgetMaxFrameSize()(Optional) Maximum frame size supported by the server.java.util.Map<java.lang.Integer,ServerHandshakeParameters>getMutableHandshakeParameters()Deprecated.EndpointgetRemoteEndpoint()(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.Endpoint.BuildergetRemoteEndpointBuilder()(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.EndpointOrBuildergetRemoteEndpointOrBuilder()(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.RpcProtocolVersionsgetRpcVersions()(Optional) RPC protocol versions supported by the server.RpcProtocolVersions.BuildergetRpcVersionsBuilder()(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.RpcProtocolVersionsOrBuildergetRpcVersionsOrBuilder()(Optional) RPC protocol versions supported by the server.booleanhasLocalEndpoint()(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.booleanhasRemoteEndpoint()(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.booleanhasRpcVersions()(Optional) RPC protocol versions supported by the server.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()private com.google.protobuf.MapFieldBuilder<java.lang.Integer,ServerHandshakeParametersOrBuilder,ServerHandshakeParameters,ServerHandshakeParameters.Builder>internalGetHandshakeParameters()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)private com.google.protobuf.MapFieldBuilder<java.lang.Integer,ServerHandshakeParametersOrBuilder,ServerHandshakeParameters,ServerHandshakeParameters.Builder>internalGetMutableHandshakeParameters()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()private voidmaybeForceBuilderInitialization()StartServerHandshakeReq.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)StartServerHandshakeReq.BuildermergeFrom(com.google.protobuf.Message other)StartServerHandshakeReq.BuildermergeFrom(StartServerHandshakeReq other)StartServerHandshakeReq.BuildermergeLocalEndpoint(Endpoint value)(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.StartServerHandshakeReq.BuildermergeRemoteEndpoint(Endpoint value)(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.StartServerHandshakeReq.BuildermergeRpcVersions(RpcProtocolVersions value)(Optional) RPC protocol versions supported by the server.StartServerHandshakeReq.BuilderputAllHandshakeParameters(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.BuilderputHandshakeParameters(int key, ServerHandshakeParameters value)Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.ServerHandshakeParameters.BuilderputHandshakeParametersBuilderIfAbsent(int key)Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.StartServerHandshakeReq.BuilderremoveHandshakeParameters(int key)Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.StartServerHandshakeReq.BuildersetApplicationProtocols(int index, java.lang.String value)The application protocols supported by the server, e.g., "h2" (for http2), "grpc".StartServerHandshakeReq.BuildersetInBytes(com.google.protobuf.ByteString value)Bytes in out_frames returned from the peer's HandshakerResp.StartServerHandshakeReq.BuildersetLocalEndpoint(Endpoint value)(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.StartServerHandshakeReq.BuildersetLocalEndpoint(Endpoint.Builder builderForValue)(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.StartServerHandshakeReq.BuildersetMaxFrameSize(int value)(Optional) Maximum frame size supported by the server.StartServerHandshakeReq.BuildersetRemoteEndpoint(Endpoint value)(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.StartServerHandshakeReq.BuildersetRemoteEndpoint(Endpoint.Builder builderForValue)(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.StartServerHandshakeReq.BuildersetRpcVersions(RpcProtocolVersions value)(Optional) RPC protocol versions supported by the server.StartServerHandshakeReq.BuildersetRpcVersions(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:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<StartServerHandshakeReq.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<StartServerHandshakeReq.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StartServerHandshakeReq.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public StartServerHandshakeReq.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StartServerHandshakeReq.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<StartServerHandshakeReq.Builder>
-
getDefaultInstanceForType
public StartServerHandshakeReq getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public StartServerHandshakeReq build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StartServerHandshakeReq buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(StartServerHandshakeReq result)
-
mergeFrom
public StartServerHandshakeReq.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StartServerHandshakeReq.Builder>
-
mergeFrom
public StartServerHandshakeReq.Builder mergeFrom(StartServerHandshakeReq other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getApplicationProtocolsListin 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:
getApplicationProtocolsCountin 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:
getApplicationProtocolsin 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:
getApplicationProtocolsBytesin 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:StartServerHandshakeReqOrBuilderHandshake 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:
getHandshakeParametersCountin 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:
containsHandshakeParametersin interfaceStartServerHandshakeReqOrBuilder
-
getHandshakeParameters
@Deprecated public java.util.Map<java.lang.Integer,ServerHandshakeParameters> getHandshakeParameters()
Deprecated.UsegetHandshakeParametersMap()instead.- Specified by:
getHandshakeParametersin 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:
getHandshakeParametersMapin 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:
getHandshakeParametersOrDefaultin 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:
getHandshakeParametersOrThrowin 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:
getInBytesin 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:
hasLocalEndpointin 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:
getLocalEndpointin 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:
getLocalEndpointOrBuilderin 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:
hasRemoteEndpointin 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:
getRemoteEndpointin 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:
getRemoteEndpointOrBuilderin 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:
hasRpcVersionsin 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:
getRpcVersionsin 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:
getRpcVersionsOrBuilderin 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:
getMaxFrameSizein 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.
-
-