Class Meta.CreateOptions.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Meta.CreateOptions.Builder>
io.kubernetes.client.proto.Meta.CreateOptions.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Meta.CreateOptionsOrBuilder, Cloneable
Enclosing class:
Meta.CreateOptions

public static final class Meta.CreateOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Meta.CreateOptions.Builder> implements Meta.CreateOptionsOrBuilder
 CreateOptions may be provided when creating an API object.
 
Protobuf type k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.CreateOptions.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.GeneratedMessageV3.Builder<Meta.CreateOptions.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.GeneratedMessageV3.Builder<Meta.CreateOptions.Builder>
    • getDefaultInstanceForType

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

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

      public Meta.CreateOptions buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.CreateOptions.Builder>
    • setField

      public Meta.CreateOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.CreateOptions.Builder>
    • clearField

      public Meta.CreateOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.CreateOptions.Builder>
    • clearOneof

      public Meta.CreateOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.CreateOptions.Builder>
    • setRepeatedField

      public Meta.CreateOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.CreateOptions.Builder>
    • addRepeatedField

      public Meta.CreateOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.CreateOptions.Builder>
    • mergeFrom

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

    • isInitialized

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

      public Meta.CreateOptions.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<Meta.CreateOptions.Builder>
      Throws:
      IOException
    • getDryRunList

      public com.google.protobuf.ProtocolStringList getDryRunList()
       When present, indicates that modifications should not be
       persisted. An invalid or unrecognized dryRun directive will
       result in an error response and no further processing of the
       request. Valid values are:
       - All: all dry run stages will be processed
       +optional
       
      repeated string dryRun = 1;
      Specified by:
      getDryRunList in interface Meta.CreateOptionsOrBuilder
    • getDryRunCount

      public int getDryRunCount()
       When present, indicates that modifications should not be
       persisted. An invalid or unrecognized dryRun directive will
       result in an error response and no further processing of the
       request. Valid values are:
       - All: all dry run stages will be processed
       +optional
       
      repeated string dryRun = 1;
      Specified by:
      getDryRunCount in interface Meta.CreateOptionsOrBuilder
    • getDryRun

      public String getDryRun(int index)
       When present, indicates that modifications should not be
       persisted. An invalid or unrecognized dryRun directive will
       result in an error response and no further processing of the
       request. Valid values are:
       - All: all dry run stages will be processed
       +optional
       
      repeated string dryRun = 1;
      Specified by:
      getDryRun in interface Meta.CreateOptionsOrBuilder
    • getDryRunBytes

      public com.google.protobuf.ByteString getDryRunBytes(int index)
       When present, indicates that modifications should not be
       persisted. An invalid or unrecognized dryRun directive will
       result in an error response and no further processing of the
       request. Valid values are:
       - All: all dry run stages will be processed
       +optional
       
      repeated string dryRun = 1;
      Specified by:
      getDryRunBytes in interface Meta.CreateOptionsOrBuilder
    • setDryRun

      public Meta.CreateOptions.Builder setDryRun(int index, String value)
       When present, indicates that modifications should not be
       persisted. An invalid or unrecognized dryRun directive will
       result in an error response and no further processing of the
       request. Valid values are:
       - All: all dry run stages will be processed
       +optional
       
      repeated string dryRun = 1;
    • addDryRun

      public Meta.CreateOptions.Builder addDryRun(String value)
       When present, indicates that modifications should not be
       persisted. An invalid or unrecognized dryRun directive will
       result in an error response and no further processing of the
       request. Valid values are:
       - All: all dry run stages will be processed
       +optional
       
      repeated string dryRun = 1;
    • addAllDryRun

      public Meta.CreateOptions.Builder addAllDryRun(Iterable<String> values)
       When present, indicates that modifications should not be
       persisted. An invalid or unrecognized dryRun directive will
       result in an error response and no further processing of the
       request. Valid values are:
       - All: all dry run stages will be processed
       +optional
       
      repeated string dryRun = 1;
    • clearDryRun

      public Meta.CreateOptions.Builder clearDryRun()
       When present, indicates that modifications should not be
       persisted. An invalid or unrecognized dryRun directive will
       result in an error response and no further processing of the
       request. Valid values are:
       - All: all dry run stages will be processed
       +optional
       
      repeated string dryRun = 1;
    • addDryRunBytes

      public Meta.CreateOptions.Builder addDryRunBytes(com.google.protobuf.ByteString value)
       When present, indicates that modifications should not be
       persisted. An invalid or unrecognized dryRun directive will
       result in an error response and no further processing of the
       request. Valid values are:
       - All: all dry run stages will be processed
       +optional
       
      repeated string dryRun = 1;
    • hasFieldManager

      public boolean hasFieldManager()
       fieldManager is a name associated with the actor or entity
       that is making these changes. The value must be less than or
       128 characters long, and only contain printable characters,
       as defined by https://golang.org/pkg/unicode/#IsPrint.
       +optional
       
      optional string fieldManager = 3;
      Specified by:
      hasFieldManager in interface Meta.CreateOptionsOrBuilder
    • getFieldManager

      public String getFieldManager()
       fieldManager is a name associated with the actor or entity
       that is making these changes. The value must be less than or
       128 characters long, and only contain printable characters,
       as defined by https://golang.org/pkg/unicode/#IsPrint.
       +optional
       
      optional string fieldManager = 3;
      Specified by:
      getFieldManager in interface Meta.CreateOptionsOrBuilder
    • getFieldManagerBytes

      public com.google.protobuf.ByteString getFieldManagerBytes()
       fieldManager is a name associated with the actor or entity
       that is making these changes. The value must be less than or
       128 characters long, and only contain printable characters,
       as defined by https://golang.org/pkg/unicode/#IsPrint.
       +optional
       
      optional string fieldManager = 3;
      Specified by:
      getFieldManagerBytes in interface Meta.CreateOptionsOrBuilder
    • setFieldManager

      public Meta.CreateOptions.Builder setFieldManager(String value)
       fieldManager is a name associated with the actor or entity
       that is making these changes. The value must be less than or
       128 characters long, and only contain printable characters,
       as defined by https://golang.org/pkg/unicode/#IsPrint.
       +optional
       
      optional string fieldManager = 3;
    • clearFieldManager

      public Meta.CreateOptions.Builder clearFieldManager()
       fieldManager is a name associated with the actor or entity
       that is making these changes. The value must be less than or
       128 characters long, and only contain printable characters,
       as defined by https://golang.org/pkg/unicode/#IsPrint.
       +optional
       
      optional string fieldManager = 3;
    • setFieldManagerBytes

      public Meta.CreateOptions.Builder setFieldManagerBytes(com.google.protobuf.ByteString value)
       fieldManager is a name associated with the actor or entity
       that is making these changes. The value must be less than or
       128 characters long, and only contain printable characters,
       as defined by https://golang.org/pkg/unicode/#IsPrint.
       +optional
       
      optional string fieldManager = 3;
    • setUnknownFields

      public final Meta.CreateOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.CreateOptions.Builder>
    • mergeUnknownFields

      public final Meta.CreateOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.CreateOptions.Builder>