Package io.grpc.alts.internal
Class StartServerHandshakeReq.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<StartServerHandshakeReq.Builder>
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
,Cloneable
- Enclosing class:
StartServerHandshakeReq
public static final class StartServerHandshakeReq.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StartServerHandshakeReq.Builder>
implements StartServerHandshakeReqOrBuilder
Protobuf type
grpc.gcp.StartServerHandshakeReq
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.google.protobuf.LazyStringArrayList
private int
private com.google.protobuf.MapFieldBuilder
<Integer, ServerHandshakeParametersOrBuilder, ServerHandshakeParameters, ServerHandshakeParameters.Builder> private static final StartServerHandshakeReq.Builder.HandshakeParametersConverter
private com.google.protobuf.ByteString
private Endpoint
private com.google.protobuf.SingleFieldBuilder
<Endpoint, Endpoint.Builder, EndpointOrBuilder> private int
private Endpoint
private com.google.protobuf.SingleFieldBuilder
<Endpoint, Endpoint.Builder, EndpointOrBuilder> private RpcProtocolVersions
private com.google.protobuf.SingleFieldBuilder
<RpcProtocolVersions, RpcProtocolVersions.Builder, RpcProtocolVersionsOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllApplicationProtocols
(Iterable<String> values) The application protocols supported by the server, e.g., "h2" (for http2), "grpc".addApplicationProtocols
(String value) The application protocols supported by the server, e.g., "h2" (for http2), "grpc".addApplicationProtocolsBytes
(com.google.protobuf.ByteString value) The application protocols supported by the server, e.g., "h2" (for http2), "grpc".build()
private void
buildPartial0
(StartServerHandshakeReq result) clear()
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".Bytes in out_frames returned from the peer's HandshakerResp.(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.(Optional) Maximum frame size supported by the server.(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.(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
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
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".com.google.protobuf.ProtocolStringList
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.int
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.getHandshakeParametersOrDefault
(int key, ServerHandshakeParameters defaultValue) Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.getHandshakeParametersOrThrow
(int key) Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.com.google.protobuf.ByteString
Bytes in out_frames returned from the peer's HandshakerResp.(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.int
(Optional) Maximum frame size supported by the server.Deprecated.(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.(Optional) RPC protocol versions supported by the server.(Optional) RPC protocol versions supported by the server.(Optional) RPC protocol versions supported by the server.boolean
(Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.boolean
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.boolean
(Optional) RPC protocol versions supported by the server.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
private com.google.protobuf.MapFieldBuilder
<Integer, ServerHandshakeParametersOrBuilder, ServerHandshakeParameters, ServerHandshakeParameters.Builder> private com.google.protobuf.SingleFieldBuilder
<Endpoint, Endpoint.Builder, EndpointOrBuilder> (Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection
(int number) private com.google.protobuf.MapFieldBuilder
<Integer, ServerHandshakeParametersOrBuilder, ServerHandshakeParameters, ServerHandshakeParameters.Builder> protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection
(int number) private com.google.protobuf.SingleFieldBuilder
<Endpoint, Endpoint.Builder, EndpointOrBuilder> (Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.private com.google.protobuf.SingleFieldBuilder
<RpcProtocolVersions, RpcProtocolVersions.Builder, RpcProtocolVersionsOrBuilder> (Optional) RPC protocol versions supported by the server.final boolean
private void
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(StartServerHandshakeReq other) mergeLocalEndpoint
(Endpoint value) (Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.mergeRemoteEndpoint
(Endpoint value) (Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.(Optional) RPC protocol versions supported by the server.Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.putHandshakeParameters
(int key, ServerHandshakeParameters value) Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.removeHandshakeParameters
(int key) Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.setApplicationProtocols
(int index, String value) The application protocols supported by the server, e.g., "h2" (for http2), "grpc".setInBytes
(com.google.protobuf.ByteString value) Bytes in out_frames returned from the peer's HandshakerResp.setLocalEndpoint
(Endpoint value) (Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.setLocalEndpoint
(Endpoint.Builder builderForValue) (Optional) Local endpoint information of the connection to the client, such as local IP address, port number, and network protocol.setMaxFrameSize
(int value) (Optional) Maximum frame size supported by the server.setRemoteEndpoint
(Endpoint value) (Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.setRemoteEndpoint
(Endpoint.Builder builderForValue) (Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.(Optional) RPC protocol versions supported by the server.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
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_ -
applicationProtocols_
private com.google.protobuf.LazyStringArrayList applicationProtocols_ -
handshakeParametersConverter
private static final StartServerHandshakeReq.Builder.HandshakeParametersConverter handshakeParametersConverter -
handshakeParameters_
private com.google.protobuf.MapFieldBuilder<Integer,ServerHandshakeParametersOrBuilder, handshakeParameters_ServerHandshakeParameters, ServerHandshakeParameters.Builder> -
inBytes_
private com.google.protobuf.ByteString inBytes_ -
localEndpoint_
-
localEndpointBuilder_
private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder, localEndpointBuilder_EndpointOrBuilder> -
remoteEndpoint_
-
remoteEndpointBuilder_
private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder, remoteEndpointBuilder_EndpointOrBuilder> -
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() -
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
- 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
- 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
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StartServerHandshakeReq.Builder>
-
mergeFrom
-
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 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:
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
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
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
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
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
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<Integer,ServerHandshakeParametersOrBuilder, internalGetHandshakeParameters()ServerHandshakeParameters, ServerHandshakeParameters.Builder> -
internalGetMutableHandshakeParameters
private com.google.protobuf.MapFieldBuilder<Integer,ServerHandshakeParametersOrBuilder, internalGetMutableHandshakeParameters()ServerHandshakeParameters, ServerHandshakeParameters.Builder> -
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.UsegetHandshakeParametersMap()
instead.- Specified by:
getHandshakeParameters
in interfaceStartServerHandshakeReqOrBuilder
-
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
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
-
removeHandshakeParameters
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.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(Map<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
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
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
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
(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
(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
(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
(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
(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
(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
(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
-
internalGetLocalEndpointFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder, internalGetLocalEndpointFieldBuilder()EndpointOrBuilder> (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
(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
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
-
setRemoteEndpoint
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
-
mergeRemoteEndpoint
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
-
clearRemoteEndpoint
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
-
getRemoteEndpointBuilder
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
-
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
-
internalGetRemoteEndpointFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder, internalGetRemoteEndpointFieldBuilder()EndpointOrBuilder> (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
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
- Specified by:
getRpcVersions
in interfaceStartServerHandshakeReqOrBuilder
- Returns:
- The rpcVersions.
-
setRpcVersions
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
-
setRpcVersions
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
-
mergeRpcVersions
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
-
clearRpcVersions
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
-
getRpcVersionsBuilder
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
-
getRpcVersionsOrBuilder
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
- Specified by:
getRpcVersionsOrBuilder
in interfaceStartServerHandshakeReqOrBuilder
-
internalGetRpcVersionsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RpcProtocolVersions,RpcProtocolVersions.Builder, internalGetRpcVersionsFieldBuilder()RpcProtocolVersionsOrBuilder> (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
(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
(Optional) Maximum frame size supported by the server.
uint32 max_frame_size = 7;
- Returns:
- This builder for chaining.
-