Class ServerHandshakeParameters

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ServerHandshakeParametersOrBuilder, java.io.Serializable

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

      • RECORD_PROTOCOLS_FIELD_NUMBER

        public static final int RECORD_PROTOCOLS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • recordProtocols_

        private com.google.protobuf.LazyStringArrayList recordProtocols_
      • LOCAL_IDENTITIES_FIELD_NUMBER

        public static final int LOCAL_IDENTITIES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • localIdentities_

        private java.util.List<Identity> localIdentities_
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • Constructor Detail

      • ServerHandshakeParameters

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

        private ServerHandshakeParameters()
    • Method Detail

      • 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 java.lang.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 java.util.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
      • 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
      • 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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.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​(java.lang.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​(java.nio.ByteBuffer data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ServerHandshakeParameters parseFrom​(java.nio.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​(java.io.InputStream input)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static ServerHandshakeParameters parseDelimitedFrom​(java.io.InputStream input)
                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

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

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

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

        public ServerHandshakeParameters.Builder 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
      • 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