Class Meta.ManagedFieldsEntry.Builder

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

public static final class Meta.ManagedFieldsEntry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Meta.ManagedFieldsEntry.Builder> implements Meta.ManagedFieldsEntryOrBuilder
 ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource
 that the fieldset applies to.
 
Protobuf type k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry
  • 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.ManagedFieldsEntry.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.ManagedFieldsEntry.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.ManagedFieldsEntry.Builder>
    • getDefaultInstanceForType

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

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

      public Meta.ManagedFieldsEntry 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.ManagedFieldsEntry.Builder>
    • setField

      public Meta.ManagedFieldsEntry.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.ManagedFieldsEntry.Builder>
    • clearField

      public Meta.ManagedFieldsEntry.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.ManagedFieldsEntry.Builder>
    • clearOneof

      public Meta.ManagedFieldsEntry.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.ManagedFieldsEntry.Builder>
    • setRepeatedField

      public Meta.ManagedFieldsEntry.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.ManagedFieldsEntry.Builder>
    • addRepeatedField

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

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

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

      public boolean hasManager()
       Manager is an identifier of the workflow managing these fields.
       
      optional string manager = 1;
      Specified by:
      hasManager in interface Meta.ManagedFieldsEntryOrBuilder
    • getManager

      public String getManager()
       Manager is an identifier of the workflow managing these fields.
       
      optional string manager = 1;
      Specified by:
      getManager in interface Meta.ManagedFieldsEntryOrBuilder
    • getManagerBytes

      public com.google.protobuf.ByteString getManagerBytes()
       Manager is an identifier of the workflow managing these fields.
       
      optional string manager = 1;
      Specified by:
      getManagerBytes in interface Meta.ManagedFieldsEntryOrBuilder
    • setManager

      public Meta.ManagedFieldsEntry.Builder setManager(String value)
       Manager is an identifier of the workflow managing these fields.
       
      optional string manager = 1;
    • clearManager

      public Meta.ManagedFieldsEntry.Builder clearManager()
       Manager is an identifier of the workflow managing these fields.
       
      optional string manager = 1;
    • setManagerBytes

      public Meta.ManagedFieldsEntry.Builder setManagerBytes(com.google.protobuf.ByteString value)
       Manager is an identifier of the workflow managing these fields.
       
      optional string manager = 1;
    • hasOperation

      public boolean hasOperation()
       Operation is the type of operation which lead to this ManagedFieldsEntry being created.
       The only valid values for this field are 'Apply' and 'Update'.
       
      optional string operation = 2;
      Specified by:
      hasOperation in interface Meta.ManagedFieldsEntryOrBuilder
    • getOperation

      public String getOperation()
       Operation is the type of operation which lead to this ManagedFieldsEntry being created.
       The only valid values for this field are 'Apply' and 'Update'.
       
      optional string operation = 2;
      Specified by:
      getOperation in interface Meta.ManagedFieldsEntryOrBuilder
    • getOperationBytes

      public com.google.protobuf.ByteString getOperationBytes()
       Operation is the type of operation which lead to this ManagedFieldsEntry being created.
       The only valid values for this field are 'Apply' and 'Update'.
       
      optional string operation = 2;
      Specified by:
      getOperationBytes in interface Meta.ManagedFieldsEntryOrBuilder
    • setOperation

      public Meta.ManagedFieldsEntry.Builder setOperation(String value)
       Operation is the type of operation which lead to this ManagedFieldsEntry being created.
       The only valid values for this field are 'Apply' and 'Update'.
       
      optional string operation = 2;
    • clearOperation

      public Meta.ManagedFieldsEntry.Builder clearOperation()
       Operation is the type of operation which lead to this ManagedFieldsEntry being created.
       The only valid values for this field are 'Apply' and 'Update'.
       
      optional string operation = 2;
    • setOperationBytes

      public Meta.ManagedFieldsEntry.Builder setOperationBytes(com.google.protobuf.ByteString value)
       Operation is the type of operation which lead to this ManagedFieldsEntry being created.
       The only valid values for this field are 'Apply' and 'Update'.
       
      optional string operation = 2;
    • hasApiVersion

      public boolean hasApiVersion()
       APIVersion defines the version of this resource that this field set
       applies to. The format is "group/version" just like the top-level
       APIVersion field. It is necessary to track the version of a field
       set because it cannot be automatically converted.
       
      optional string apiVersion = 3;
      Specified by:
      hasApiVersion in interface Meta.ManagedFieldsEntryOrBuilder
    • getApiVersion

      public String getApiVersion()
       APIVersion defines the version of this resource that this field set
       applies to. The format is "group/version" just like the top-level
       APIVersion field. It is necessary to track the version of a field
       set because it cannot be automatically converted.
       
      optional string apiVersion = 3;
      Specified by:
      getApiVersion in interface Meta.ManagedFieldsEntryOrBuilder
    • getApiVersionBytes

      public com.google.protobuf.ByteString getApiVersionBytes()
       APIVersion defines the version of this resource that this field set
       applies to. The format is "group/version" just like the top-level
       APIVersion field. It is necessary to track the version of a field
       set because it cannot be automatically converted.
       
      optional string apiVersion = 3;
      Specified by:
      getApiVersionBytes in interface Meta.ManagedFieldsEntryOrBuilder
    • setApiVersion

      public Meta.ManagedFieldsEntry.Builder setApiVersion(String value)
       APIVersion defines the version of this resource that this field set
       applies to. The format is "group/version" just like the top-level
       APIVersion field. It is necessary to track the version of a field
       set because it cannot be automatically converted.
       
      optional string apiVersion = 3;
    • clearApiVersion

      public Meta.ManagedFieldsEntry.Builder clearApiVersion()
       APIVersion defines the version of this resource that this field set
       applies to. The format is "group/version" just like the top-level
       APIVersion field. It is necessary to track the version of a field
       set because it cannot be automatically converted.
       
      optional string apiVersion = 3;
    • setApiVersionBytes

      public Meta.ManagedFieldsEntry.Builder setApiVersionBytes(com.google.protobuf.ByteString value)
       APIVersion defines the version of this resource that this field set
       applies to. The format is "group/version" just like the top-level
       APIVersion field. It is necessary to track the version of a field
       set because it cannot be automatically converted.
       
      optional string apiVersion = 3;
    • hasTime

      public boolean hasTime()
       Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
      Specified by:
      hasTime in interface Meta.ManagedFieldsEntryOrBuilder
    • getTime

      public Meta.Time getTime()
       Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
      Specified by:
      getTime in interface Meta.ManagedFieldsEntryOrBuilder
    • setTime

       Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
    • setTime

      public Meta.ManagedFieldsEntry.Builder setTime(Meta.Time.Builder builderForValue)
       Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
    • mergeTime

      public Meta.ManagedFieldsEntry.Builder mergeTime(Meta.Time value)
       Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
    • clearTime

      public Meta.ManagedFieldsEntry.Builder clearTime()
       Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
    • getTimeBuilder

      public Meta.Time.Builder getTimeBuilder()
       Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
    • getTimeOrBuilder

      public Meta.TimeOrBuilder getTimeOrBuilder()
       Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
      Specified by:
      getTimeOrBuilder in interface Meta.ManagedFieldsEntryOrBuilder
    • hasFieldsType

      public boolean hasFieldsType()
       FieldsType is the discriminator for the different fields format and version.
       There is currently only one possible value: "FieldsV1"
       
      optional string fieldsType = 6;
      Specified by:
      hasFieldsType in interface Meta.ManagedFieldsEntryOrBuilder
    • getFieldsType

      public String getFieldsType()
       FieldsType is the discriminator for the different fields format and version.
       There is currently only one possible value: "FieldsV1"
       
      optional string fieldsType = 6;
      Specified by:
      getFieldsType in interface Meta.ManagedFieldsEntryOrBuilder
    • getFieldsTypeBytes

      public com.google.protobuf.ByteString getFieldsTypeBytes()
       FieldsType is the discriminator for the different fields format and version.
       There is currently only one possible value: "FieldsV1"
       
      optional string fieldsType = 6;
      Specified by:
      getFieldsTypeBytes in interface Meta.ManagedFieldsEntryOrBuilder
    • setFieldsType

      public Meta.ManagedFieldsEntry.Builder setFieldsType(String value)
       FieldsType is the discriminator for the different fields format and version.
       There is currently only one possible value: "FieldsV1"
       
      optional string fieldsType = 6;
    • clearFieldsType

      public Meta.ManagedFieldsEntry.Builder clearFieldsType()
       FieldsType is the discriminator for the different fields format and version.
       There is currently only one possible value: "FieldsV1"
       
      optional string fieldsType = 6;
    • setFieldsTypeBytes

      public Meta.ManagedFieldsEntry.Builder setFieldsTypeBytes(com.google.protobuf.ByteString value)
       FieldsType is the discriminator for the different fields format and version.
       There is currently only one possible value: "FieldsV1"
       
      optional string fieldsType = 6;
    • hasFieldsV1

      public boolean hasFieldsV1()
       FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
      Specified by:
      hasFieldsV1 in interface Meta.ManagedFieldsEntryOrBuilder
    • getFieldsV1

      public Meta.FieldsV1 getFieldsV1()
       FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
      Specified by:
      getFieldsV1 in interface Meta.ManagedFieldsEntryOrBuilder
    • setFieldsV1

      public Meta.ManagedFieldsEntry.Builder setFieldsV1(Meta.FieldsV1 value)
       FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
    • setFieldsV1

      public Meta.ManagedFieldsEntry.Builder setFieldsV1(Meta.FieldsV1.Builder builderForValue)
       FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
    • mergeFieldsV1

      public Meta.ManagedFieldsEntry.Builder mergeFieldsV1(Meta.FieldsV1 value)
       FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
    • clearFieldsV1

      public Meta.ManagedFieldsEntry.Builder clearFieldsV1()
       FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
    • getFieldsV1Builder

      public Meta.FieldsV1.Builder getFieldsV1Builder()
       FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
    • getFieldsV1OrBuilder

      public Meta.FieldsV1OrBuilder getFieldsV1OrBuilder()
       FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
      Specified by:
      getFieldsV1OrBuilder in interface Meta.ManagedFieldsEntryOrBuilder
    • hasSubresource

      public boolean hasSubresource()
       Subresource is the name of the subresource used to update that object, or
       empty string if the object was updated through the main resource. The
       value of this field is used to distinguish between managers, even if they
       share the same name. For example, a status update will be distinct from a
       regular update using the same manager name.
       Note that the APIVersion field is not related to the Subresource field and
       it always corresponds to the version of the main resource.
       
      optional string subresource = 8;
      Specified by:
      hasSubresource in interface Meta.ManagedFieldsEntryOrBuilder
    • getSubresource

      public String getSubresource()
       Subresource is the name of the subresource used to update that object, or
       empty string if the object was updated through the main resource. The
       value of this field is used to distinguish between managers, even if they
       share the same name. For example, a status update will be distinct from a
       regular update using the same manager name.
       Note that the APIVersion field is not related to the Subresource field and
       it always corresponds to the version of the main resource.
       
      optional string subresource = 8;
      Specified by:
      getSubresource in interface Meta.ManagedFieldsEntryOrBuilder
    • getSubresourceBytes

      public com.google.protobuf.ByteString getSubresourceBytes()
       Subresource is the name of the subresource used to update that object, or
       empty string if the object was updated through the main resource. The
       value of this field is used to distinguish between managers, even if they
       share the same name. For example, a status update will be distinct from a
       regular update using the same manager name.
       Note that the APIVersion field is not related to the Subresource field and
       it always corresponds to the version of the main resource.
       
      optional string subresource = 8;
      Specified by:
      getSubresourceBytes in interface Meta.ManagedFieldsEntryOrBuilder
    • setSubresource

      public Meta.ManagedFieldsEntry.Builder setSubresource(String value)
       Subresource is the name of the subresource used to update that object, or
       empty string if the object was updated through the main resource. The
       value of this field is used to distinguish between managers, even if they
       share the same name. For example, a status update will be distinct from a
       regular update using the same manager name.
       Note that the APIVersion field is not related to the Subresource field and
       it always corresponds to the version of the main resource.
       
      optional string subresource = 8;
    • clearSubresource

      public Meta.ManagedFieldsEntry.Builder clearSubresource()
       Subresource is the name of the subresource used to update that object, or
       empty string if the object was updated through the main resource. The
       value of this field is used to distinguish between managers, even if they
       share the same name. For example, a status update will be distinct from a
       regular update using the same manager name.
       Note that the APIVersion field is not related to the Subresource field and
       it always corresponds to the version of the main resource.
       
      optional string subresource = 8;
    • setSubresourceBytes

      public Meta.ManagedFieldsEntry.Builder setSubresourceBytes(com.google.protobuf.ByteString value)
       Subresource is the name of the subresource used to update that object, or
       empty string if the object was updated through the main resource. The
       value of this field is used to distinguish between managers, even if they
       share the same name. For example, a status update will be distinct from a
       regular update using the same manager name.
       Note that the APIVersion field is not related to the Subresource field and
       it always corresponds to the version of the main resource.
       
      optional string subresource = 8;
    • setUnknownFields

      public final Meta.ManagedFieldsEntry.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.ManagedFieldsEntry.Builder>
    • mergeUnknownFields

      public final Meta.ManagedFieldsEntry.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.ManagedFieldsEntry.Builder>