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:
  • 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_

      private com.google.protobuf.MapField<Integer,ServerHandshakeParameters> 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_

      private Endpoint localEndpoint_
    • REMOTE_ENDPOINT_FIELD_NUMBER

      public static final int REMOTE_ENDPOINT_FIELD_NUMBER
      See Also:
    • remoteEndpoint_

      private Endpoint remoteEndpoint_
    • RPC_VERSIONS_FIELD_NUMBER

      public static final int RPC_VERSIONS_FIELD_NUMBER
      See Also:
    • rpcVersions_

      private RpcProtocolVersions 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

      private static final StartServerHandshakeReq DEFAULT_INSTANCE
    • PARSER

      private static final com.google.protobuf.Parser<StartServerHandshakeReq> 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 class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.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 interface StartServerHandshakeReqOrBuilder
      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 interface StartServerHandshakeReqOrBuilder
      Returns:
      The count of applicationProtocols.
    • getApplicationProtocols

      public String getApplicationProtocols(int index)
       The application protocols supported by the server, e.g., "h2" (for http2),
       "grpc".
       
      repeated string application_protocols = 1;
      Specified by:
      getApplicationProtocols in interface StartServerHandshakeReqOrBuilder
      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 interface StartServerHandshakeReqOrBuilder
      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 interface StartServerHandshakeReqOrBuilder
    • 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 interface StartServerHandshakeReqOrBuilder
    • getHandshakeParameters

      @Deprecated public Map<Integer,ServerHandshakeParameters> getHandshakeParameters()
      Deprecated.
      Specified by:
      getHandshakeParameters in interface StartServerHandshakeReqOrBuilder
    • getHandshakeParametersMap

      public Map<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:
      getHandshakeParametersMap in interface StartServerHandshakeReqOrBuilder
    • 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 interface StartServerHandshakeReqOrBuilder
    • 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:
      getHandshakeParametersOrThrow in interface StartServerHandshakeReqOrBuilder
    • 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 interface StartServerHandshakeReqOrBuilder
      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 interface StartServerHandshakeReqOrBuilder
      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:
      getLocalEndpoint in interface StartServerHandshakeReqOrBuilder
      Returns:
      The localEndpoint.
    • 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:
      getLocalEndpointOrBuilder in interface StartServerHandshakeReqOrBuilder
    • 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 interface StartServerHandshakeReqOrBuilder
      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:
      getRemoteEndpoint in interface StartServerHandshakeReqOrBuilder
      Returns:
      The remoteEndpoint.
    • 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:
      getRemoteEndpointOrBuilder in interface StartServerHandshakeReqOrBuilder
    • hasRpcVersions

      public boolean hasRpcVersions()
       (Optional) RPC protocol versions supported by the server.
       
      .grpc.gcp.RpcProtocolVersions rpc_versions = 6;
      Specified by:
      hasRpcVersions in interface StartServerHandshakeReqOrBuilder
      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:
      getRpcVersions in interface StartServerHandshakeReqOrBuilder
      Returns:
      The rpcVersions.
    • getRpcVersionsOrBuilder

      public RpcProtocolVersionsOrBuilder getRpcVersionsOrBuilder()
       (Optional) RPC protocol versions supported by the server.
       
      .grpc.gcp.RpcProtocolVersions rpc_versions = 6;
      Specified by:
      getRpcVersionsOrBuilder in interface StartServerHandshakeReqOrBuilder
    • getMaxFrameSize

      public int getMaxFrameSize()
       (Optional) Maximum frame size supported by the server.
       
      uint32 max_frame_size = 7;
      Specified by:
      getMaxFrameSize in interface StartServerHandshakeReqOrBuilder
      Returns:
      The maxFrameSize.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static StartServerHandshakeReq parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StartServerHandshakeReq parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StartServerHandshakeReq parseDelimitedFrom(InputStream input) throws IOException
      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

      public StartServerHandshakeReq.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static StartServerHandshakeReq.Builder newBuilder()
    • newBuilder

      public static StartServerHandshakeReq.Builder newBuilder(StartServerHandshakeReq prototype)
    • toBuilder

      public StartServerHandshakeReq.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected StartServerHandshakeReq.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static StartServerHandshakeReq getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<StartServerHandshakeReq> parser()
    • getParserForType

      public com.google.protobuf.Parser<StartServerHandshakeReq> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public StartServerHandshakeReq getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder