Class VpnTunnelPhase2Algorithms.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VpnTunnelPhase2Algorithms.Builder>
com.google.cloud.compute.v1.VpnTunnelPhase2Algorithms.Builder
All Implemented Interfaces:
VpnTunnelPhase2AlgorithmsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
VpnTunnelPhase2Algorithms

public static final class VpnTunnelPhase2Algorithms.Builder extends com.google.protobuf.GeneratedMessage.Builder<VpnTunnelPhase2Algorithms.Builder> implements VpnTunnelPhase2AlgorithmsOrBuilder
 
Protobuf type google.cloud.compute.v1.VpnTunnelPhase2Algorithms
  • 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.Builder<VpnTunnelPhase2Algorithms.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.GeneratedMessage.Builder<VpnTunnelPhase2Algorithms.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.GeneratedMessage.Builder<VpnTunnelPhase2Algorithms.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public VpnTunnelPhase2Algorithms.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<VpnTunnelPhase2Algorithms.Builder>
      Throws:
      IOException
    • getEncryptionList

      public com.google.protobuf.ProtocolStringList getEncryptionList()
      repeated string encryption = 97980291;
      Specified by:
      getEncryptionList in interface VpnTunnelPhase2AlgorithmsOrBuilder
      Returns:
      A list containing the encryption.
    • getEncryptionCount

      public int getEncryptionCount()
      repeated string encryption = 97980291;
      Specified by:
      getEncryptionCount in interface VpnTunnelPhase2AlgorithmsOrBuilder
      Returns:
      The count of encryption.
    • getEncryption

      public String getEncryption(int index)
      repeated string encryption = 97980291;
      Specified by:
      getEncryption in interface VpnTunnelPhase2AlgorithmsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The encryption at the given index.
    • getEncryptionBytes

      public com.google.protobuf.ByteString getEncryptionBytes(int index)
      repeated string encryption = 97980291;
      Specified by:
      getEncryptionBytes in interface VpnTunnelPhase2AlgorithmsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the encryption at the given index.
    • setEncryption

      public VpnTunnelPhase2Algorithms.Builder setEncryption(int index, String value)
      repeated string encryption = 97980291;
      Parameters:
      index - The index to set the value at.
      value - The encryption to set.
      Returns:
      This builder for chaining.
    • addEncryption

      public VpnTunnelPhase2Algorithms.Builder addEncryption(String value)
      repeated string encryption = 97980291;
      Parameters:
      value - The encryption to add.
      Returns:
      This builder for chaining.
    • addAllEncryption

      public VpnTunnelPhase2Algorithms.Builder addAllEncryption(Iterable<String> values)
      repeated string encryption = 97980291;
      Parameters:
      values - The encryption to add.
      Returns:
      This builder for chaining.
    • clearEncryption

      public VpnTunnelPhase2Algorithms.Builder clearEncryption()
      repeated string encryption = 97980291;
      Returns:
      This builder for chaining.
    • addEncryptionBytes

      public VpnTunnelPhase2Algorithms.Builder addEncryptionBytes(com.google.protobuf.ByteString value)
      repeated string encryption = 97980291;
      Parameters:
      value - The bytes of the encryption to add.
      Returns:
      This builder for chaining.
    • getIntegrityList

      public com.google.protobuf.ProtocolStringList getIntegrityList()
      repeated string integrity = 492830541;
      Specified by:
      getIntegrityList in interface VpnTunnelPhase2AlgorithmsOrBuilder
      Returns:
      A list containing the integrity.
    • getIntegrityCount

      public int getIntegrityCount()
      repeated string integrity = 492830541;
      Specified by:
      getIntegrityCount in interface VpnTunnelPhase2AlgorithmsOrBuilder
      Returns:
      The count of integrity.
    • getIntegrity

      public String getIntegrity(int index)
      repeated string integrity = 492830541;
      Specified by:
      getIntegrity in interface VpnTunnelPhase2AlgorithmsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The integrity at the given index.
    • getIntegrityBytes

      public com.google.protobuf.ByteString getIntegrityBytes(int index)
      repeated string integrity = 492830541;
      Specified by:
      getIntegrityBytes in interface VpnTunnelPhase2AlgorithmsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the integrity at the given index.
    • setIntegrity

      public VpnTunnelPhase2Algorithms.Builder setIntegrity(int index, String value)
      repeated string integrity = 492830541;
      Parameters:
      index - The index to set the value at.
      value - The integrity to set.
      Returns:
      This builder for chaining.
    • addIntegrity

      public VpnTunnelPhase2Algorithms.Builder addIntegrity(String value)
      repeated string integrity = 492830541;
      Parameters:
      value - The integrity to add.
      Returns:
      This builder for chaining.
    • addAllIntegrity

      public VpnTunnelPhase2Algorithms.Builder addAllIntegrity(Iterable<String> values)
      repeated string integrity = 492830541;
      Parameters:
      values - The integrity to add.
      Returns:
      This builder for chaining.
    • clearIntegrity

      public VpnTunnelPhase2Algorithms.Builder clearIntegrity()
      repeated string integrity = 492830541;
      Returns:
      This builder for chaining.
    • addIntegrityBytes

      public VpnTunnelPhase2Algorithms.Builder addIntegrityBytes(com.google.protobuf.ByteString value)
      repeated string integrity = 492830541;
      Parameters:
      value - The bytes of the integrity to add.
      Returns:
      This builder for chaining.
    • getPfsList

      public com.google.protobuf.ProtocolStringList getPfsList()
      repeated string pfs = 110909;
      Specified by:
      getPfsList in interface VpnTunnelPhase2AlgorithmsOrBuilder
      Returns:
      A list containing the pfs.
    • getPfsCount

      public int getPfsCount()
      repeated string pfs = 110909;
      Specified by:
      getPfsCount in interface VpnTunnelPhase2AlgorithmsOrBuilder
      Returns:
      The count of pfs.
    • getPfs

      public String getPfs(int index)
      repeated string pfs = 110909;
      Specified by:
      getPfs in interface VpnTunnelPhase2AlgorithmsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The pfs at the given index.
    • getPfsBytes

      public com.google.protobuf.ByteString getPfsBytes(int index)
      repeated string pfs = 110909;
      Specified by:
      getPfsBytes in interface VpnTunnelPhase2AlgorithmsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the pfs at the given index.
    • setPfs

      public VpnTunnelPhase2Algorithms.Builder setPfs(int index, String value)
      repeated string pfs = 110909;
      Parameters:
      index - The index to set the value at.
      value - The pfs to set.
      Returns:
      This builder for chaining.
    • addPfs

      repeated string pfs = 110909;
      Parameters:
      value - The pfs to add.
      Returns:
      This builder for chaining.
    • addAllPfs

      repeated string pfs = 110909;
      Parameters:
      values - The pfs to add.
      Returns:
      This builder for chaining.
    • clearPfs

      repeated string pfs = 110909;
      Returns:
      This builder for chaining.
    • addPfsBytes

      public VpnTunnelPhase2Algorithms.Builder addPfsBytes(com.google.protobuf.ByteString value)
      repeated string pfs = 110909;
      Parameters:
      value - The bytes of the pfs to add.
      Returns:
      This builder for chaining.