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 classProtobuf typegrpc.gcp.StartServerHandshakeReqprivate static final classNested 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.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate com.google.protobuf.LazyStringArrayListprivate intprivate static final StartServerHandshakeReqstatic final intprivate com.google.protobuf.MapField<Integer, ServerHandshakeParameters> static final intprivate com.google.protobuf.ByteStringstatic final intprivate Endpointstatic final intprivate intprivate byteprivate static final com.google.protobuf.Parser<StartServerHandshakeReq> static final intprivate Endpointstatic final intprivate RpcProtocolVersionsprivate static final longFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateprivateStartServerHandshakeReq(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsHandshakeParameters(int key) Handshake parameters (record protocols and local identities supported by the server) mapped by the handshake protocol.booleangetApplicationProtocols(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".intThe application protocols supported by the server, e.g., "h2" (for http2), "grpc".com.google.protobuf.ProtocolStringListThe application protocols supported by the server, e.g., "h2" (for http2), "grpc".static StartServerHandshakeReqstatic final com.google.protobuf.Descriptors.DescriptorDeprecated.intHandshake 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.ByteStringBytes 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.intinthashCode()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.FieldAccessorTableprivate com.google.protobuf.MapField<Integer, ServerHandshakeParameters> protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(StartServerHandshakeReq prototype) protected StartServerHandshakeReq.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static StartServerHandshakeReqparseDelimitedFrom(InputStream input) static StartServerHandshakeReqparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartServerHandshakeReqparseFrom(byte[] data) static StartServerHandshakeReqparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartServerHandshakeReqparseFrom(com.google.protobuf.ByteString data) static StartServerHandshakeReqparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartServerHandshakeReqparseFrom(com.google.protobuf.CodedInputStream input) static StartServerHandshakeReqparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartServerHandshakeReqparseFrom(InputStream input) static StartServerHandshakeReqparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartServerHandshakeReqparseFrom(ByteBuffer data) static StartServerHandshakeReqparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StartServerHandshakeReq> parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein 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:
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
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.
-
internalGetHandshakeParameters
private com.google.protobuf.MapField<Integer,ServerHandshakeParameters> internalGetHandshakeParameters() -
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.UsegetHandshakeParametersMap()instead.- Specified by:
getHandshakeParametersin 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:
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
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
-
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.
-
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
(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.
-
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
-
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
(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.
-
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
-
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
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;- Specified by:
getRpcVersionsin interfaceStartServerHandshakeReqOrBuilder- Returns:
- The rpcVersions.
-
getRpcVersionsOrBuilder
(Optional) RPC protocol versions supported by the server.
.grpc.gcp.RpcProtocolVersions rpc_versions = 6;- Specified by:
getRpcVersionsOrBuilderin interfaceStartServerHandshakeReqOrBuilder
-
getMaxFrameSize
public int getMaxFrameSize()(Optional) Maximum frame size supported by the server.
uint32 max_frame_size = 7;- Specified by:
getMaxFrameSizein interfaceStartServerHandshakeReqOrBuilder- Returns:
- The maxFrameSize.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StartServerHandshakeReq.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-