Class ShieldedInstanceIdentityEntry.Builder

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

public static final class ShieldedInstanceIdentityEntry.Builder extends com.google.protobuf.GeneratedMessage.Builder<ShieldedInstanceIdentityEntry.Builder> implements ShieldedInstanceIdentityEntryOrBuilder
 A Shielded Instance Identity Entry.
 
Protobuf type google.cloud.compute.v1.ShieldedInstanceIdentityEntry
  • 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<ShieldedInstanceIdentityEntry.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<ShieldedInstanceIdentityEntry.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<ShieldedInstanceIdentityEntry.Builder>
    • getDefaultInstanceForType

      public ShieldedInstanceIdentityEntry 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

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

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

      public ShieldedInstanceIdentityEntry.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<ShieldedInstanceIdentityEntry.Builder>
      Throws:
      IOException
    • hasEkCert

      public boolean hasEkCert()
       A PEM-encoded X.509 certificate. This field can be empty.
       
      optional string ek_cert = 450178589;
      Specified by:
      hasEkCert in interface ShieldedInstanceIdentityEntryOrBuilder
      Returns:
      Whether the ekCert field is set.
    • getEkCert

      public String getEkCert()
       A PEM-encoded X.509 certificate. This field can be empty.
       
      optional string ek_cert = 450178589;
      Specified by:
      getEkCert in interface ShieldedInstanceIdentityEntryOrBuilder
      Returns:
      The ekCert.
    • getEkCertBytes

      public com.google.protobuf.ByteString getEkCertBytes()
       A PEM-encoded X.509 certificate. This field can be empty.
       
      optional string ek_cert = 450178589;
      Specified by:
      getEkCertBytes in interface ShieldedInstanceIdentityEntryOrBuilder
      Returns:
      The bytes for ekCert.
    • setEkCert

       A PEM-encoded X.509 certificate. This field can be empty.
       
      optional string ek_cert = 450178589;
      Parameters:
      value - The ekCert to set.
      Returns:
      This builder for chaining.
    • clearEkCert

       A PEM-encoded X.509 certificate. This field can be empty.
       
      optional string ek_cert = 450178589;
      Returns:
      This builder for chaining.
    • setEkCertBytes

      public ShieldedInstanceIdentityEntry.Builder setEkCertBytes(com.google.protobuf.ByteString value)
       A PEM-encoded X.509 certificate. This field can be empty.
       
      optional string ek_cert = 450178589;
      Parameters:
      value - The bytes for ekCert to set.
      Returns:
      This builder for chaining.
    • hasEkPub

      public boolean hasEkPub()
       A PEM-encoded public key.
       
      optional string ek_pub = 308947940;
      Specified by:
      hasEkPub in interface ShieldedInstanceIdentityEntryOrBuilder
      Returns:
      Whether the ekPub field is set.
    • getEkPub

      public String getEkPub()
       A PEM-encoded public key.
       
      optional string ek_pub = 308947940;
      Specified by:
      getEkPub in interface ShieldedInstanceIdentityEntryOrBuilder
      Returns:
      The ekPub.
    • getEkPubBytes

      public com.google.protobuf.ByteString getEkPubBytes()
       A PEM-encoded public key.
       
      optional string ek_pub = 308947940;
      Specified by:
      getEkPubBytes in interface ShieldedInstanceIdentityEntryOrBuilder
      Returns:
      The bytes for ekPub.
    • setEkPub

       A PEM-encoded public key.
       
      optional string ek_pub = 308947940;
      Parameters:
      value - The ekPub to set.
      Returns:
      This builder for chaining.
    • clearEkPub

       A PEM-encoded public key.
       
      optional string ek_pub = 308947940;
      Returns:
      This builder for chaining.
    • setEkPubBytes

      public ShieldedInstanceIdentityEntry.Builder setEkPubBytes(com.google.protobuf.ByteString value)
       A PEM-encoded public key.
       
      optional string ek_pub = 308947940;
      Parameters:
      value - The bytes for ekPub to set.
      Returns:
      This builder for chaining.