Class KeyOperationAttestation.CertificateChains.Builder

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

public static final class KeyOperationAttestation.CertificateChains.Builder extends com.google.protobuf.GeneratedMessage.Builder<KeyOperationAttestation.CertificateChains.Builder> implements KeyOperationAttestation.CertificateChainsOrBuilder
 Certificate chains needed to verify the attestation.
 Certificates in chains are PEM-encoded and are ordered based on
 https://tools.ietf.org/html/rfc5246#section-7.4.2.
 
Protobuf type google.cloud.kms.v1.KeyOperationAttestation.CertificateChains
  • 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<KeyOperationAttestation.CertificateChains.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<KeyOperationAttestation.CertificateChains.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<KeyOperationAttestation.CertificateChains.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public KeyOperationAttestation.CertificateChains.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<KeyOperationAttestation.CertificateChains.Builder>
      Throws:
      IOException
    • getCaviumCertsList

      public com.google.protobuf.ProtocolStringList getCaviumCertsList()
       Cavium certificate chain corresponding to the attestation.
       
      repeated string cavium_certs = 1;
      Specified by:
      getCaviumCertsList in interface KeyOperationAttestation.CertificateChainsOrBuilder
      Returns:
      A list containing the caviumCerts.
    • getCaviumCertsCount

      public int getCaviumCertsCount()
       Cavium certificate chain corresponding to the attestation.
       
      repeated string cavium_certs = 1;
      Specified by:
      getCaviumCertsCount in interface KeyOperationAttestation.CertificateChainsOrBuilder
      Returns:
      The count of caviumCerts.
    • getCaviumCerts

      public String getCaviumCerts(int index)
       Cavium certificate chain corresponding to the attestation.
       
      repeated string cavium_certs = 1;
      Specified by:
      getCaviumCerts in interface KeyOperationAttestation.CertificateChainsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The caviumCerts at the given index.
    • getCaviumCertsBytes

      public com.google.protobuf.ByteString getCaviumCertsBytes(int index)
       Cavium certificate chain corresponding to the attestation.
       
      repeated string cavium_certs = 1;
      Specified by:
      getCaviumCertsBytes in interface KeyOperationAttestation.CertificateChainsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the caviumCerts at the given index.
    • setCaviumCerts

      public KeyOperationAttestation.CertificateChains.Builder setCaviumCerts(int index, String value)
       Cavium certificate chain corresponding to the attestation.
       
      repeated string cavium_certs = 1;
      Parameters:
      index - The index to set the value at.
      value - The caviumCerts to set.
      Returns:
      This builder for chaining.
    • addCaviumCerts

       Cavium certificate chain corresponding to the attestation.
       
      repeated string cavium_certs = 1;
      Parameters:
      value - The caviumCerts to add.
      Returns:
      This builder for chaining.
    • addAllCaviumCerts

       Cavium certificate chain corresponding to the attestation.
       
      repeated string cavium_certs = 1;
      Parameters:
      values - The caviumCerts to add.
      Returns:
      This builder for chaining.
    • clearCaviumCerts

       Cavium certificate chain corresponding to the attestation.
       
      repeated string cavium_certs = 1;
      Returns:
      This builder for chaining.
    • addCaviumCertsBytes

      public KeyOperationAttestation.CertificateChains.Builder addCaviumCertsBytes(com.google.protobuf.ByteString value)
       Cavium certificate chain corresponding to the attestation.
       
      repeated string cavium_certs = 1;
      Parameters:
      value - The bytes of the caviumCerts to add.
      Returns:
      This builder for chaining.
    • getGoogleCardCertsList

      public com.google.protobuf.ProtocolStringList getGoogleCardCertsList()
       Google card certificate chain corresponding to the attestation.
       
      repeated string google_card_certs = 2;
      Specified by:
      getGoogleCardCertsList in interface KeyOperationAttestation.CertificateChainsOrBuilder
      Returns:
      A list containing the googleCardCerts.
    • getGoogleCardCertsCount

      public int getGoogleCardCertsCount()
       Google card certificate chain corresponding to the attestation.
       
      repeated string google_card_certs = 2;
      Specified by:
      getGoogleCardCertsCount in interface KeyOperationAttestation.CertificateChainsOrBuilder
      Returns:
      The count of googleCardCerts.
    • getGoogleCardCerts

      public String getGoogleCardCerts(int index)
       Google card certificate chain corresponding to the attestation.
       
      repeated string google_card_certs = 2;
      Specified by:
      getGoogleCardCerts in interface KeyOperationAttestation.CertificateChainsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The googleCardCerts at the given index.
    • getGoogleCardCertsBytes

      public com.google.protobuf.ByteString getGoogleCardCertsBytes(int index)
       Google card certificate chain corresponding to the attestation.
       
      repeated string google_card_certs = 2;
      Specified by:
      getGoogleCardCertsBytes in interface KeyOperationAttestation.CertificateChainsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the googleCardCerts at the given index.
    • setGoogleCardCerts

      public KeyOperationAttestation.CertificateChains.Builder setGoogleCardCerts(int index, String value)
       Google card certificate chain corresponding to the attestation.
       
      repeated string google_card_certs = 2;
      Parameters:
      index - The index to set the value at.
      value - The googleCardCerts to set.
      Returns:
      This builder for chaining.
    • addGoogleCardCerts

      public KeyOperationAttestation.CertificateChains.Builder addGoogleCardCerts(String value)
       Google card certificate chain corresponding to the attestation.
       
      repeated string google_card_certs = 2;
      Parameters:
      value - The googleCardCerts to add.
      Returns:
      This builder for chaining.
    • addAllGoogleCardCerts

      public KeyOperationAttestation.CertificateChains.Builder addAllGoogleCardCerts(Iterable<String> values)
       Google card certificate chain corresponding to the attestation.
       
      repeated string google_card_certs = 2;
      Parameters:
      values - The googleCardCerts to add.
      Returns:
      This builder for chaining.
    • clearGoogleCardCerts

       Google card certificate chain corresponding to the attestation.
       
      repeated string google_card_certs = 2;
      Returns:
      This builder for chaining.
    • addGoogleCardCertsBytes

      public KeyOperationAttestation.CertificateChains.Builder addGoogleCardCertsBytes(com.google.protobuf.ByteString value)
       Google card certificate chain corresponding to the attestation.
       
      repeated string google_card_certs = 2;
      Parameters:
      value - The bytes of the googleCardCerts to add.
      Returns:
      This builder for chaining.
    • getGooglePartitionCertsList

      public com.google.protobuf.ProtocolStringList getGooglePartitionCertsList()
       Google partition certificate chain corresponding to the attestation.
       
      repeated string google_partition_certs = 3;
      Specified by:
      getGooglePartitionCertsList in interface KeyOperationAttestation.CertificateChainsOrBuilder
      Returns:
      A list containing the googlePartitionCerts.
    • getGooglePartitionCertsCount

      public int getGooglePartitionCertsCount()
       Google partition certificate chain corresponding to the attestation.
       
      repeated string google_partition_certs = 3;
      Specified by:
      getGooglePartitionCertsCount in interface KeyOperationAttestation.CertificateChainsOrBuilder
      Returns:
      The count of googlePartitionCerts.
    • getGooglePartitionCerts

      public String getGooglePartitionCerts(int index)
       Google partition certificate chain corresponding to the attestation.
       
      repeated string google_partition_certs = 3;
      Specified by:
      getGooglePartitionCerts in interface KeyOperationAttestation.CertificateChainsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The googlePartitionCerts at the given index.
    • getGooglePartitionCertsBytes

      public com.google.protobuf.ByteString getGooglePartitionCertsBytes(int index)
       Google partition certificate chain corresponding to the attestation.
       
      repeated string google_partition_certs = 3;
      Specified by:
      getGooglePartitionCertsBytes in interface KeyOperationAttestation.CertificateChainsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the googlePartitionCerts at the given index.
    • setGooglePartitionCerts

      public KeyOperationAttestation.CertificateChains.Builder setGooglePartitionCerts(int index, String value)
       Google partition certificate chain corresponding to the attestation.
       
      repeated string google_partition_certs = 3;
      Parameters:
      index - The index to set the value at.
      value - The googlePartitionCerts to set.
      Returns:
      This builder for chaining.
    • addGooglePartitionCerts

      public KeyOperationAttestation.CertificateChains.Builder addGooglePartitionCerts(String value)
       Google partition certificate chain corresponding to the attestation.
       
      repeated string google_partition_certs = 3;
      Parameters:
      value - The googlePartitionCerts to add.
      Returns:
      This builder for chaining.
    • addAllGooglePartitionCerts

      public KeyOperationAttestation.CertificateChains.Builder addAllGooglePartitionCerts(Iterable<String> values)
       Google partition certificate chain corresponding to the attestation.
       
      repeated string google_partition_certs = 3;
      Parameters:
      values - The googlePartitionCerts to add.
      Returns:
      This builder for chaining.
    • clearGooglePartitionCerts

      public KeyOperationAttestation.CertificateChains.Builder clearGooglePartitionCerts()
       Google partition certificate chain corresponding to the attestation.
       
      repeated string google_partition_certs = 3;
      Returns:
      This builder for chaining.
    • addGooglePartitionCertsBytes

      public KeyOperationAttestation.CertificateChains.Builder addGooglePartitionCertsBytes(com.google.protobuf.ByteString value)
       Google partition certificate chain corresponding to the attestation.
       
      repeated string google_partition_certs = 3;
      Parameters:
      value - The bytes of the googlePartitionCerts to add.
      Returns:
      This builder for chaining.