Class Alts.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AltsOrBuilder, Cloneable
    Enclosing class:
    Alts

    public static final class Alts.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
    implements AltsOrBuilder
     Configuration for ALTS transport socket. This provides Google's ALTS protocol to Envoy.
     https://cloud.google.com/security/encryption-in-transit/application-layer-transport-security/
     
    Protobuf type envoy.config.transport_socket.alts.v2alpha.Alts
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
      • clear

        public Alts.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
      • getDefaultInstanceForType

        public Alts getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Alts build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Alts buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Alts.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
      • setField

        public Alts.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
      • clearField

        public Alts.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
      • clearOneof

        public Alts.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
      • setRepeatedField

        public Alts.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             int index,
                                             Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
      • addRepeatedField

        public Alts.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
      • mergeFrom

        public Alts.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Alts.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
      • mergeFrom

        public Alts.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Alts.Builder>
        Throws:
        IOException
      • getHandshakerService

        public String getHandshakerService()
         The location of a handshaker service, this is usually 169.254.169.254:8080
         on GCE.
         
        string handshaker_service = 1 [(.validate.rules) = { ... }
        Specified by:
        getHandshakerService in interface AltsOrBuilder
      • getHandshakerServiceBytes

        public com.google.protobuf.ByteString getHandshakerServiceBytes()
         The location of a handshaker service, this is usually 169.254.169.254:8080
         on GCE.
         
        string handshaker_service = 1 [(.validate.rules) = { ... }
        Specified by:
        getHandshakerServiceBytes in interface AltsOrBuilder
      • setHandshakerService

        public Alts.Builder setHandshakerService​(String value)
         The location of a handshaker service, this is usually 169.254.169.254:8080
         on GCE.
         
        string handshaker_service = 1 [(.validate.rules) = { ... }
      • clearHandshakerService

        public Alts.Builder clearHandshakerService()
         The location of a handshaker service, this is usually 169.254.169.254:8080
         on GCE.
         
        string handshaker_service = 1 [(.validate.rules) = { ... }
      • setHandshakerServiceBytes

        public Alts.Builder setHandshakerServiceBytes​(com.google.protobuf.ByteString value)
         The location of a handshaker service, this is usually 169.254.169.254:8080
         on GCE.
         
        string handshaker_service = 1 [(.validate.rules) = { ... }
      • getPeerServiceAccountsList

        public com.google.protobuf.ProtocolStringList getPeerServiceAccountsList()
         The acceptable service accounts from peer, peers not in the list will be rejected in the
         handshake validation step. If empty, no validation will be performed.
         
        repeated string peer_service_accounts = 2;
        Specified by:
        getPeerServiceAccountsList in interface AltsOrBuilder
      • getPeerServiceAccountsCount

        public int getPeerServiceAccountsCount()
         The acceptable service accounts from peer, peers not in the list will be rejected in the
         handshake validation step. If empty, no validation will be performed.
         
        repeated string peer_service_accounts = 2;
        Specified by:
        getPeerServiceAccountsCount in interface AltsOrBuilder
      • getPeerServiceAccounts

        public String getPeerServiceAccounts​(int index)
         The acceptable service accounts from peer, peers not in the list will be rejected in the
         handshake validation step. If empty, no validation will be performed.
         
        repeated string peer_service_accounts = 2;
        Specified by:
        getPeerServiceAccounts in interface AltsOrBuilder
      • getPeerServiceAccountsBytes

        public com.google.protobuf.ByteString getPeerServiceAccountsBytes​(int index)
         The acceptable service accounts from peer, peers not in the list will be rejected in the
         handshake validation step. If empty, no validation will be performed.
         
        repeated string peer_service_accounts = 2;
        Specified by:
        getPeerServiceAccountsBytes in interface AltsOrBuilder
      • setPeerServiceAccounts

        public Alts.Builder setPeerServiceAccounts​(int index,
                                                   String value)
         The acceptable service accounts from peer, peers not in the list will be rejected in the
         handshake validation step. If empty, no validation will be performed.
         
        repeated string peer_service_accounts = 2;
      • addPeerServiceAccounts

        public Alts.Builder addPeerServiceAccounts​(String value)
         The acceptable service accounts from peer, peers not in the list will be rejected in the
         handshake validation step. If empty, no validation will be performed.
         
        repeated string peer_service_accounts = 2;
      • addAllPeerServiceAccounts

        public Alts.Builder addAllPeerServiceAccounts​(Iterable<String> values)
         The acceptable service accounts from peer, peers not in the list will be rejected in the
         handshake validation step. If empty, no validation will be performed.
         
        repeated string peer_service_accounts = 2;
      • clearPeerServiceAccounts

        public Alts.Builder clearPeerServiceAccounts()
         The acceptable service accounts from peer, peers not in the list will be rejected in the
         handshake validation step. If empty, no validation will be performed.
         
        repeated string peer_service_accounts = 2;
      • addPeerServiceAccountsBytes

        public Alts.Builder addPeerServiceAccountsBytes​(com.google.protobuf.ByteString value)
         The acceptable service accounts from peer, peers not in the list will be rejected in the
         handshake validation step. If empty, no validation will be performed.
         
        repeated string peer_service_accounts = 2;
      • setUnknownFields

        public final Alts.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
      • mergeUnknownFields

        public final Alts.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>