Class ConfidentialInstanceConfig.Builder

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

public static final class ConfidentialInstanceConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConfidentialInstanceConfig.Builder> implements ConfidentialInstanceConfigOrBuilder
 A set of Confidential Instance options.
 
Protobuf type google.cloud.compute.v1.ConfidentialInstanceConfig
  • 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<ConfidentialInstanceConfig.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<ConfidentialInstanceConfig.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<ConfidentialInstanceConfig.Builder>
    • getDefaultInstanceForType

      public ConfidentialInstanceConfig 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 ConfidentialInstanceConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ConfidentialInstanceConfig.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<ConfidentialInstanceConfig.Builder>
      Throws:
      IOException
    • hasConfidentialInstanceType

      public boolean hasConfidentialInstanceType()
       Defines the type of technology used by the confidential instance.
       Check the ConfidentialInstanceType enum for the list of possible values.
       
      optional string confidential_instance_type = 43484717;
      Specified by:
      hasConfidentialInstanceType in interface ConfidentialInstanceConfigOrBuilder
      Returns:
      Whether the confidentialInstanceType field is set.
    • getConfidentialInstanceType

      public String getConfidentialInstanceType()
       Defines the type of technology used by the confidential instance.
       Check the ConfidentialInstanceType enum for the list of possible values.
       
      optional string confidential_instance_type = 43484717;
      Specified by:
      getConfidentialInstanceType in interface ConfidentialInstanceConfigOrBuilder
      Returns:
      The confidentialInstanceType.
    • getConfidentialInstanceTypeBytes

      public com.google.protobuf.ByteString getConfidentialInstanceTypeBytes()
       Defines the type of technology used by the confidential instance.
       Check the ConfidentialInstanceType enum for the list of possible values.
       
      optional string confidential_instance_type = 43484717;
      Specified by:
      getConfidentialInstanceTypeBytes in interface ConfidentialInstanceConfigOrBuilder
      Returns:
      The bytes for confidentialInstanceType.
    • setConfidentialInstanceType

      public ConfidentialInstanceConfig.Builder setConfidentialInstanceType(String value)
       Defines the type of technology used by the confidential instance.
       Check the ConfidentialInstanceType enum for the list of possible values.
       
      optional string confidential_instance_type = 43484717;
      Parameters:
      value - The confidentialInstanceType to set.
      Returns:
      This builder for chaining.
    • clearConfidentialInstanceType

      public ConfidentialInstanceConfig.Builder clearConfidentialInstanceType()
       Defines the type of technology used by the confidential instance.
       Check the ConfidentialInstanceType enum for the list of possible values.
       
      optional string confidential_instance_type = 43484717;
      Returns:
      This builder for chaining.
    • setConfidentialInstanceTypeBytes

      public ConfidentialInstanceConfig.Builder setConfidentialInstanceTypeBytes(com.google.protobuf.ByteString value)
       Defines the type of technology used by the confidential instance.
       Check the ConfidentialInstanceType enum for the list of possible values.
       
      optional string confidential_instance_type = 43484717;
      Parameters:
      value - The bytes for confidentialInstanceType to set.
      Returns:
      This builder for chaining.
    • hasEnableConfidentialCompute

      public boolean hasEnableConfidentialCompute()
       Defines whether the instance should have confidential compute enabled.
       
      optional bool enable_confidential_compute = 102135228;
      Specified by:
      hasEnableConfidentialCompute in interface ConfidentialInstanceConfigOrBuilder
      Returns:
      Whether the enableConfidentialCompute field is set.
    • getEnableConfidentialCompute

      public boolean getEnableConfidentialCompute()
       Defines whether the instance should have confidential compute enabled.
       
      optional bool enable_confidential_compute = 102135228;
      Specified by:
      getEnableConfidentialCompute in interface ConfidentialInstanceConfigOrBuilder
      Returns:
      The enableConfidentialCompute.
    • setEnableConfidentialCompute

      public ConfidentialInstanceConfig.Builder setEnableConfidentialCompute(boolean value)
       Defines whether the instance should have confidential compute enabled.
       
      optional bool enable_confidential_compute = 102135228;
      Parameters:
      value - The enableConfidentialCompute to set.
      Returns:
      This builder for chaining.
    • clearEnableConfidentialCompute

      public ConfidentialInstanceConfig.Builder clearEnableConfidentialCompute()
       Defines whether the instance should have confidential compute enabled.
       
      optional bool enable_confidential_compute = 102135228;
      Returns:
      This builder for chaining.