java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
io.envoyproxy.envoy.config.transport_socket.alts.v2alpha.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 Summary

    Modifier and Type
    Method
    Description
    The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.
    The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.
    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.
    addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
     
     
     
    clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
     
    The location of a handshaker service, this is usually 169.254.169.254:8080 on GCE.
    clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
     
    The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The location of a handshaker service, this is usually 169.254.169.254:8080 on GCE.
    com.google.protobuf.ByteString
    The location of a handshaker service, this is usually 169.254.169.254:8080 on GCE.
    The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.
    com.google.protobuf.ByteString
    The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.
    int
    The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.
    com.google.protobuf.ProtocolStringList
    The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    mergeFrom(Alts other)
     
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    The location of a handshaker service, this is usually 169.254.169.254:8080 on GCE.
    setHandshakerServiceBytes(com.google.protobuf.ByteString value)
    The location of a handshaker service, this is usually 169.254.169.254:8080 on GCE.
    setPeerServiceAccounts(int index, String value)
    The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.
    setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
     
    setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

    getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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>
    • mergeFrom

      public Alts.Builder mergeFrom(Alts other)
    • 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
      Returns:
      The handshakerService.
    • 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
      Returns:
      The bytes for handshakerService.
    • 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) = { ... }
      Parameters:
      value - The handshakerService to set.
      Returns:
      This builder for chaining.
    • 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) = { ... }
      Returns:
      This builder for chaining.
    • 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) = { ... }
      Parameters:
      value - The bytes for handshakerService to set.
      Returns:
      This builder for chaining.
    • 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
      Returns:
      A list containing the peerServiceAccounts.
    • 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
      Returns:
      The count of peerServiceAccounts.
    • 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
      Parameters:
      index - The index of the element to return.
      Returns:
      The peerServiceAccounts at the given index.
    • 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
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the peerServiceAccounts at the given index.
    • 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;
      Parameters:
      index - The index to set the value at.
      value - The peerServiceAccounts to set.
      Returns:
      This builder for chaining.
    • 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;
      Parameters:
      value - The peerServiceAccounts to add.
      Returns:
      This builder for chaining.
    • 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;
      Parameters:
      values - The peerServiceAccounts to add.
      Returns:
      This builder for chaining.
    • 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;
      Returns:
      This builder for chaining.
    • 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;
      Parameters:
      value - The bytes of the peerServiceAccounts to add.
      Returns:
      This builder for chaining.
    • 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>