Class ShieldedInstanceConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ShieldedInstanceConfig.Builder>
com.google.container.v1.ShieldedInstanceConfig.Builder
All Implemented Interfaces:
ShieldedInstanceConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ShieldedInstanceConfig

public static final class ShieldedInstanceConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<ShieldedInstanceConfig.Builder> implements ShieldedInstanceConfigOrBuilder
 A set of Shielded Instance options.
 
Protobuf type google.container.v1.ShieldedInstanceConfig
  • 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<ShieldedInstanceConfig.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<ShieldedInstanceConfig.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<ShieldedInstanceConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ShieldedInstanceConfig.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<ShieldedInstanceConfig.Builder>
      Throws:
      IOException
    • getEnableSecureBoot

      public boolean getEnableSecureBoot()
       Defines whether the instance has Secure Boot enabled.
      
       Secure Boot helps ensure that the system only runs authentic software by
       verifying the digital signature of all boot components, and halting the
       boot process if signature verification fails.
       
      bool enable_secure_boot = 1;
      Specified by:
      getEnableSecureBoot in interface ShieldedInstanceConfigOrBuilder
      Returns:
      The enableSecureBoot.
    • setEnableSecureBoot

      public ShieldedInstanceConfig.Builder setEnableSecureBoot(boolean value)
       Defines whether the instance has Secure Boot enabled.
      
       Secure Boot helps ensure that the system only runs authentic software by
       verifying the digital signature of all boot components, and halting the
       boot process if signature verification fails.
       
      bool enable_secure_boot = 1;
      Parameters:
      value - The enableSecureBoot to set.
      Returns:
      This builder for chaining.
    • clearEnableSecureBoot

      public ShieldedInstanceConfig.Builder clearEnableSecureBoot()
       Defines whether the instance has Secure Boot enabled.
      
       Secure Boot helps ensure that the system only runs authentic software by
       verifying the digital signature of all boot components, and halting the
       boot process if signature verification fails.
       
      bool enable_secure_boot = 1;
      Returns:
      This builder for chaining.
    • getEnableIntegrityMonitoring

      public boolean getEnableIntegrityMonitoring()
       Defines whether the instance has integrity monitoring enabled.
      
       Enables monitoring and attestation of the boot integrity of the instance.
       The attestation is performed against the integrity policy baseline. This
       baseline is initially derived from the implicitly trusted boot image when
       the instance is created.
       
      bool enable_integrity_monitoring = 2;
      Specified by:
      getEnableIntegrityMonitoring in interface ShieldedInstanceConfigOrBuilder
      Returns:
      The enableIntegrityMonitoring.
    • setEnableIntegrityMonitoring

      public ShieldedInstanceConfig.Builder setEnableIntegrityMonitoring(boolean value)
       Defines whether the instance has integrity monitoring enabled.
      
       Enables monitoring and attestation of the boot integrity of the instance.
       The attestation is performed against the integrity policy baseline. This
       baseline is initially derived from the implicitly trusted boot image when
       the instance is created.
       
      bool enable_integrity_monitoring = 2;
      Parameters:
      value - The enableIntegrityMonitoring to set.
      Returns:
      This builder for chaining.
    • clearEnableIntegrityMonitoring

      public ShieldedInstanceConfig.Builder clearEnableIntegrityMonitoring()
       Defines whether the instance has integrity monitoring enabled.
      
       Enables monitoring and attestation of the boot integrity of the instance.
       The attestation is performed against the integrity policy baseline. This
       baseline is initially derived from the implicitly trusted boot image when
       the instance is created.
       
      bool enable_integrity_monitoring = 2;
      Returns:
      This builder for chaining.