Class ConfidentialNodes.Builder

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

public static final class ConfidentialNodes.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConfidentialNodes.Builder> implements ConfidentialNodesOrBuilder
 ConfidentialNodes is configuration for the confidential nodes feature, which
 makes nodes run on confidential VMs.
 
Protobuf type google.container.v1.ConfidentialNodes
  • 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<ConfidentialNodes.Builder>
    • clear

      public ConfidentialNodes.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<ConfidentialNodes.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<ConfidentialNodes.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ConfidentialNodes.Builder mergeFrom(ConfidentialNodes other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ConfidentialNodes.Builder>
    • mergeFrom

      public ConfidentialNodes.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<ConfidentialNodes.Builder>
      Throws:
      IOException
    • getEnabled

      public boolean getEnabled()
       Whether Confidential Nodes feature is enabled.
       
      bool enabled = 1;
      Specified by:
      getEnabled in interface ConfidentialNodesOrBuilder
      Returns:
      The enabled.
    • setEnabled

      public ConfidentialNodes.Builder setEnabled(boolean value)
       Whether Confidential Nodes feature is enabled.
       
      bool enabled = 1;
      Parameters:
      value - The enabled to set.
      Returns:
      This builder for chaining.
    • clearEnabled

      public ConfidentialNodes.Builder clearEnabled()
       Whether Confidential Nodes feature is enabled.
       
      bool enabled = 1;
      Returns:
      This builder for chaining.
    • getConfidentialInstanceTypeValue

      public int getConfidentialInstanceTypeValue()
       Defines the type of technology used by the confidential node.
       
      .google.container.v1.ConfidentialNodes.ConfidentialInstanceType confidential_instance_type = 2;
      Specified by:
      getConfidentialInstanceTypeValue in interface ConfidentialNodesOrBuilder
      Returns:
      The enum numeric value on the wire for confidentialInstanceType.
    • setConfidentialInstanceTypeValue

      public ConfidentialNodes.Builder setConfidentialInstanceTypeValue(int value)
       Defines the type of technology used by the confidential node.
       
      .google.container.v1.ConfidentialNodes.ConfidentialInstanceType confidential_instance_type = 2;
      Parameters:
      value - The enum numeric value on the wire for confidentialInstanceType to set.
      Returns:
      This builder for chaining.
    • getConfidentialInstanceType

      public ConfidentialNodes.ConfidentialInstanceType getConfidentialInstanceType()
       Defines the type of technology used by the confidential node.
       
      .google.container.v1.ConfidentialNodes.ConfidentialInstanceType confidential_instance_type = 2;
      Specified by:
      getConfidentialInstanceType in interface ConfidentialNodesOrBuilder
      Returns:
      The confidentialInstanceType.
    • setConfidentialInstanceType

      public ConfidentialNodes.Builder setConfidentialInstanceType(ConfidentialNodes.ConfidentialInstanceType value)
       Defines the type of technology used by the confidential node.
       
      .google.container.v1.ConfidentialNodes.ConfidentialInstanceType confidential_instance_type = 2;
      Parameters:
      value - The confidentialInstanceType to set.
      Returns:
      This builder for chaining.
    • clearConfidentialInstanceType

      public ConfidentialNodes.Builder clearConfidentialInstanceType()
       Defines the type of technology used by the confidential node.
       
      .google.container.v1.ConfidentialNodes.ConfidentialInstanceType confidential_instance_type = 2;
      Returns:
      This builder for chaining.