Package io.grpc.alts.internal
Interface StartServerHandshakeReqOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StartServerHandshakeReq
,StartServerHandshakeReq.Builder
public interface StartServerHandshakeReqOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsHandshakeParameters(int key)
Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.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".java.util.List<java.lang.String>
getApplicationProtocolsList()
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".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.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.Endpoint
getRemoteEndpoint()
(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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getApplicationProtocolsList
java.util.List<java.lang.String> getApplicationProtocolsList()
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 1;
- Returns:
- A list containing the applicationProtocols.
-
getApplicationProtocolsCount
int getApplicationProtocolsCount()
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 1;
- Returns:
- The count of applicationProtocols.
-
getApplicationProtocols
java.lang.String getApplicationProtocols(int index)
The application protocols supported by the server, e.g., "h2" (for http2), "grpc".
repeated string application_protocols = 1;
- Parameters:
index
- The index of the element to return.- Returns:
- The applicationProtocols at the given index.
-
getApplicationProtocolsBytes
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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the applicationProtocols at the given index.
-
getHandshakeParametersCount
int getHandshakeParametersCount()
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;
-
containsHandshakeParameters
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;
-
getHandshakeParameters
@Deprecated java.util.Map<java.lang.Integer,ServerHandshakeParameters> getHandshakeParameters()
Deprecated.UsegetHandshakeParametersMap()
instead.
-
getHandshakeParametersMap
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;
-
getHandshakeParametersOrDefault
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;
-
getHandshakeParametersOrThrow
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;
-
getInBytes
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;
- Returns:
- The inBytes.
-
hasLocalEndpoint
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;
- Returns:
- Whether the localEndpoint field is set.
-
getLocalEndpoint
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;
- Returns:
- The localEndpoint.
-
getLocalEndpointOrBuilder
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;
-
hasRemoteEndpoint
boolean hasRemoteEndpoint()
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
- Returns:
- Whether the remoteEndpoint field is set.
-
getRemoteEndpoint
Endpoint getRemoteEndpoint()
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
- Returns:
- The remoteEndpoint.
-
getRemoteEndpointOrBuilder
EndpointOrBuilder getRemoteEndpointOrBuilder()
(Optional) Endpoint information of the remote client, such as IP address, port number, and network protocol.
.grpc.gcp.Endpoint remote_endpoint = 5;
-
hasRpcVersions
boolean hasRpcVersions()
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
- Returns:
- Whether the rpcVersions field is set.
-
getRpcVersions
RpcProtocolVersions getRpcVersions()
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
- Returns:
- The rpcVersions.
-
getRpcVersionsOrBuilder
RpcProtocolVersionsOrBuilder getRpcVersionsOrBuilder()
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
-
getMaxFrameSize
int getMaxFrameSize()
(Optional) Maximum frame size supported by the server.
uint32 max_frame_size = 7;
- Returns:
- The maxFrameSize.
-
-