Class VpnTunnelPhase1Algorithms.Builder

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

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

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

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

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

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

      public VpnTunnelPhase1Algorithms.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<VpnTunnelPhase1Algorithms.Builder>
      Throws:
      IOException
    • getDhList

      public com.google.protobuf.ProtocolStringList getDhList()
      repeated string dh = 3204;
      Specified by:
      getDhList in interface VpnTunnelPhase1AlgorithmsOrBuilder
      Returns:
      A list containing the dh.
    • getDhCount

      public int getDhCount()
      repeated string dh = 3204;
      Specified by:
      getDhCount in interface VpnTunnelPhase1AlgorithmsOrBuilder
      Returns:
      The count of dh.
    • getDh

      public String getDh(int index)
      repeated string dh = 3204;
      Specified by:
      getDh in interface VpnTunnelPhase1AlgorithmsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The dh at the given index.
    • getDhBytes

      public com.google.protobuf.ByteString getDhBytes(int index)
      repeated string dh = 3204;
      Specified by:
      getDhBytes in interface VpnTunnelPhase1AlgorithmsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the dh at the given index.
    • setDh

      public VpnTunnelPhase1Algorithms.Builder setDh(int index, String value)
      repeated string dh = 3204;
      Parameters:
      index - The index to set the value at.
      value - The dh to set.
      Returns:
      This builder for chaining.
    • addDh

      repeated string dh = 3204;
      Parameters:
      value - The dh to add.
      Returns:
      This builder for chaining.
    • addAllDh

      repeated string dh = 3204;
      Parameters:
      values - The dh to add.
      Returns:
      This builder for chaining.
    • clearDh

      repeated string dh = 3204;
      Returns:
      This builder for chaining.
    • addDhBytes

      public VpnTunnelPhase1Algorithms.Builder addDhBytes(com.google.protobuf.ByteString value)
      repeated string dh = 3204;
      Parameters:
      value - The bytes of the dh to add.
      Returns:
      This builder for chaining.
    • getEncryptionList

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

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

      public String getEncryption(int index)
      repeated string encryption = 97980291;
      Specified by:
      getEncryption in interface VpnTunnelPhase1AlgorithmsOrBuilder
      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 VpnTunnelPhase1AlgorithmsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the encryption at the given index.
    • setEncryption

      public VpnTunnelPhase1Algorithms.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 VpnTunnelPhase1Algorithms.Builder addEncryption(String value)
      repeated string encryption = 97980291;
      Parameters:
      value - The encryption to add.
      Returns:
      This builder for chaining.
    • addAllEncryption

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

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

      public VpnTunnelPhase1Algorithms.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 VpnTunnelPhase1AlgorithmsOrBuilder
      Returns:
      A list containing the integrity.
    • getIntegrityCount

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

      public String getIntegrity(int index)
      repeated string integrity = 492830541;
      Specified by:
      getIntegrity in interface VpnTunnelPhase1AlgorithmsOrBuilder
      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 VpnTunnelPhase1AlgorithmsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the integrity at the given index.
    • setIntegrity

      public VpnTunnelPhase1Algorithms.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 VpnTunnelPhase1Algorithms.Builder addIntegrity(String value)
      repeated string integrity = 492830541;
      Parameters:
      value - The integrity to add.
      Returns:
      This builder for chaining.
    • addAllIntegrity

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

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

      public VpnTunnelPhase1Algorithms.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.
    • getPrfList

      public com.google.protobuf.ProtocolStringList getPrfList()
      repeated string prf = 111268;
      Specified by:
      getPrfList in interface VpnTunnelPhase1AlgorithmsOrBuilder
      Returns:
      A list containing the prf.
    • getPrfCount

      public int getPrfCount()
      repeated string prf = 111268;
      Specified by:
      getPrfCount in interface VpnTunnelPhase1AlgorithmsOrBuilder
      Returns:
      The count of prf.
    • getPrf

      public String getPrf(int index)
      repeated string prf = 111268;
      Specified by:
      getPrf in interface VpnTunnelPhase1AlgorithmsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The prf at the given index.
    • getPrfBytes

      public com.google.protobuf.ByteString getPrfBytes(int index)
      repeated string prf = 111268;
      Specified by:
      getPrfBytes in interface VpnTunnelPhase1AlgorithmsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the prf at the given index.
    • setPrf

      public VpnTunnelPhase1Algorithms.Builder setPrf(int index, String value)
      repeated string prf = 111268;
      Parameters:
      index - The index to set the value at.
      value - The prf to set.
      Returns:
      This builder for chaining.
    • addPrf

      repeated string prf = 111268;
      Parameters:
      value - The prf to add.
      Returns:
      This builder for chaining.
    • addAllPrf

      repeated string prf = 111268;
      Parameters:
      values - The prf to add.
      Returns:
      This builder for chaining.
    • clearPrf

      repeated string prf = 111268;
      Returns:
      This builder for chaining.
    • addPrfBytes

      public VpnTunnelPhase1Algorithms.Builder addPrfBytes(com.google.protobuf.ByteString value)
      repeated string prf = 111268;
      Parameters:
      value - The bytes of the prf to add.
      Returns:
      This builder for chaining.