Class ServerHandshakeParameters

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.grpc.alts.internal.ServerHandshakeParameters
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ServerHandshakeParametersOrBuilder, Serializable

public final class ServerHandshakeParameters extends com.google.protobuf.GeneratedMessage implements ServerHandshakeParametersOrBuilder
Protobuf type grpc.gcp.ServerHandshakeParameters
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • RECORD_PROTOCOLS_FIELD_NUMBER

      public static final int RECORD_PROTOCOLS_FIELD_NUMBER
      See Also:
    • recordProtocols_

      private com.google.protobuf.LazyStringArrayList recordProtocols_
    • LOCAL_IDENTITIES_FIELD_NUMBER

      public static final int LOCAL_IDENTITIES_FIELD_NUMBER
      See Also:
    • localIdentities_

      private List<Identity> localIdentities_
    • memoizedIsInitialized

      private byte memoizedIsInitialized
    • DEFAULT_INSTANCE

      private static final ServerHandshakeParameters DEFAULT_INSTANCE
    • PARSER

      private static final com.google.protobuf.Parser<ServerHandshakeParameters> PARSER
  • Constructor Details

    • ServerHandshakeParameters

      private ServerHandshakeParameters(com.google.protobuf.GeneratedMessage.Builder<?> builder)
    • ServerHandshakeParameters

      private ServerHandshakeParameters()
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getRecordProtocolsList

      public com.google.protobuf.ProtocolStringList getRecordProtocolsList()
       The record protocols supported by the server, e.g.,
       "ALTSRP_GCM_AES128".
       
      repeated string record_protocols = 1;
      Specified by:
      getRecordProtocolsList in interface ServerHandshakeParametersOrBuilder
      Returns:
      A list containing the recordProtocols.
    • getRecordProtocolsCount

      public int getRecordProtocolsCount()
       The record protocols supported by the server, e.g.,
       "ALTSRP_GCM_AES128".
       
      repeated string record_protocols = 1;
      Specified by:
      getRecordProtocolsCount in interface ServerHandshakeParametersOrBuilder
      Returns:
      The count of recordProtocols.
    • getRecordProtocols

      public String getRecordProtocols(int index)
       The record protocols supported by the server, e.g.,
       "ALTSRP_GCM_AES128".
       
      repeated string record_protocols = 1;
      Specified by:
      getRecordProtocols in interface ServerHandshakeParametersOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The recordProtocols at the given index.
    • getRecordProtocolsBytes

      public com.google.protobuf.ByteString getRecordProtocolsBytes(int index)
       The record protocols supported by the server, e.g.,
       "ALTSRP_GCM_AES128".
       
      repeated string record_protocols = 1;
      Specified by:
      getRecordProtocolsBytes in interface ServerHandshakeParametersOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the recordProtocols at the given index.
    • getLocalIdentitiesList

      public List<Identity> getLocalIdentitiesList()
       (Optional) A list of local identities supported by the server, if
       specified. Otherwise, the handshaker chooses a default local identity.
       
      repeated .grpc.gcp.Identity local_identities = 2;
      Specified by:
      getLocalIdentitiesList in interface ServerHandshakeParametersOrBuilder
    • getLocalIdentitiesOrBuilderList

      public List<? extends IdentityOrBuilder> getLocalIdentitiesOrBuilderList()
       (Optional) A list of local identities supported by the server, if
       specified. Otherwise, the handshaker chooses a default local identity.
       
      repeated .grpc.gcp.Identity local_identities = 2;
      Specified by:
      getLocalIdentitiesOrBuilderList in interface ServerHandshakeParametersOrBuilder
    • getLocalIdentitiesCount

      public int getLocalIdentitiesCount()
       (Optional) A list of local identities supported by the server, if
       specified. Otherwise, the handshaker chooses a default local identity.
       
      repeated .grpc.gcp.Identity local_identities = 2;
      Specified by:
      getLocalIdentitiesCount in interface ServerHandshakeParametersOrBuilder
    • getLocalIdentities

      public Identity getLocalIdentities(int index)
       (Optional) A list of local identities supported by the server, if
       specified. Otherwise, the handshaker chooses a default local identity.
       
      repeated .grpc.gcp.Identity local_identities = 2;
      Specified by:
      getLocalIdentities in interface ServerHandshakeParametersOrBuilder
    • getLocalIdentitiesOrBuilder

      public IdentityOrBuilder getLocalIdentitiesOrBuilder(int index)
       (Optional) A list of local identities supported by the server, if
       specified. Otherwise, the handshaker chooses a default local identity.
       
      repeated .grpc.gcp.Identity local_identities = 2;
      Specified by:
      getLocalIdentitiesOrBuilder in interface ServerHandshakeParametersOrBuilder
    • 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 ServerHandshakeParameters parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServerHandshakeParameters parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServerHandshakeParameters parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServerHandshakeParameters parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServerHandshakeParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServerHandshakeParameters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static ServerHandshakeParameters parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static ServerHandshakeParameters parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServerHandshakeParameters parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ServerHandshakeParameters.Builder newBuilder()
    • newBuilder

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

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static ServerHandshakeParameters getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ServerHandshakeParameters> 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 ServerHandshakeParameters getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder