Package io.grpc.alts.internal
Class StartServerHandshakeReq
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.grpc.alts.internal.StartServerHandshakeReq
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,StartServerHandshakeReqOrBuilder
,Serializable
public final class StartServerHandshakeReq
extends com.google.protobuf.GeneratedMessage
implements StartServerHandshakeReqOrBuilder
Protobuf type
grpc.gcp.StartServerHandshakeReq
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Protobuf typegrpc.gcp.StartServerHandshakeReq
private static final class
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
private com.google.protobuf.LazyStringArrayList
private int
private static final StartServerHandshakeReq
static final int
private com.google.protobuf.MapField
<Integer, ServerHandshakeParameters> static final int
private com.google.protobuf.ByteString
static final int
private Endpoint
static final int
private int
private byte
private static final com.google.protobuf.Parser
<StartServerHandshakeReq> static final int
private Endpoint
static final int
private RpcProtocolVersions
private static final long
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
private
StartServerHandshakeReq
(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsHandshakeParameters
(int key) Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.boolean
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 StartServerHandshakeReq
static final 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.int
(Optional) Maximum frame size supported by the server.com.google.protobuf.Parser
<StartServerHandshakeReq> (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.int
int
hashCode()
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.MapField
<Integer, ServerHandshakeParameters> protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection
(int number) final boolean
newBuilder
(StartServerHandshakeReq prototype) protected StartServerHandshakeReq.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) static StartServerHandshakeReq
parseDelimitedFrom
(InputStream input) static StartServerHandshakeReq
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartServerHandshakeReq
parseFrom
(byte[] data) static StartServerHandshakeReq
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartServerHandshakeReq
parseFrom
(com.google.protobuf.ByteString data) static StartServerHandshakeReq
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartServerHandshakeReq
parseFrom
(com.google.protobuf.CodedInputStream input) static StartServerHandshakeReq
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartServerHandshakeReq
parseFrom
(InputStream input) static StartServerHandshakeReq
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartServerHandshakeReq
parseFrom
(ByteBuffer data) static StartServerHandshakeReq
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<StartServerHandshakeReq> parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
APPLICATION_PROTOCOLS_FIELD_NUMBER
public static final int APPLICATION_PROTOCOLS_FIELD_NUMBER- See Also:
-
applicationProtocols_
private com.google.protobuf.LazyStringArrayList applicationProtocols_ -
HANDSHAKE_PARAMETERS_FIELD_NUMBER
public static final int HANDSHAKE_PARAMETERS_FIELD_NUMBER- See Also:
-
handshakeParameters_
-
IN_BYTES_FIELD_NUMBER
public static final int IN_BYTES_FIELD_NUMBER- See Also:
-
inBytes_
private com.google.protobuf.ByteString inBytes_ -
LOCAL_ENDPOINT_FIELD_NUMBER
public static final int LOCAL_ENDPOINT_FIELD_NUMBER- See Also:
-
localEndpoint_
-
REMOTE_ENDPOINT_FIELD_NUMBER
public static final int REMOTE_ENDPOINT_FIELD_NUMBER- See Also:
-
remoteEndpoint_
-
RPC_VERSIONS_FIELD_NUMBER
public static final int RPC_VERSIONS_FIELD_NUMBER- See Also:
-
rpcVersions_
-
MAX_FRAME_SIZE_FIELD_NUMBER
public static final int MAX_FRAME_SIZE_FIELD_NUMBER- See Also:
-
maxFrameSize_
private int maxFrameSize_ -
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
StartServerHandshakeReq
private StartServerHandshakeReq(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
StartServerHandshakeReq
private StartServerHandshakeReq()
-
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
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.
-
internalGetHandshakeParameters
private com.google.protobuf.MapField<Integer,ServerHandshakeParameters> internalGetHandshakeParameters() -
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
-
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.
-
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.
-
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
-
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.
-
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
-
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.
-
getRpcVersionsOrBuilder
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;
- Specified by:
getRpcVersionsOrBuilder
in interfaceStartServerHandshakeReqOrBuilder
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static StartServerHandshakeReq parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartServerHandshakeReq parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartServerHandshakeReq parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartServerHandshakeReq parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartServerHandshakeReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartServerHandshakeReq parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static StartServerHandshakeReq parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static StartServerHandshakeReq parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static StartServerHandshakeReq parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static StartServerHandshakeReq parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StartServerHandshakeReq.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-