Class Generated.ManagedFieldsEntry.Builder

    • Method Detail

      • 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<Generated.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<Generated.ManagedFieldsEntry.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public Generated.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<Generated.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 Generated.ManagedFieldsEntryOrBuilder
        Returns:
        Whether the manager field is set.
      • 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 Generated.ManagedFieldsEntryOrBuilder
        Returns:
        The bytes for manager.
      • setManager

        public Generated.ManagedFieldsEntry.Builder setManager​(String value)
         Manager is an identifier of the workflow managing these fields.
         
        optional string manager = 1;
        Parameters:
        value - The manager to set.
        Returns:
        This builder for chaining.
      • clearManager

        public Generated.ManagedFieldsEntry.Builder clearManager()
         Manager is an identifier of the workflow managing these fields.
         
        optional string manager = 1;
        Returns:
        This builder for chaining.
      • setManagerBytes

        public Generated.ManagedFieldsEntry.Builder setManagerBytes​(com.google.protobuf.ByteString value)
         Manager is an identifier of the workflow managing these fields.
         
        optional string manager = 1;
        Parameters:
        value - The bytes for manager to set.
        Returns:
        This builder for chaining.
      • 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 Generated.ManagedFieldsEntryOrBuilder
        Returns:
        Whether the operation field is set.
      • 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 Generated.ManagedFieldsEntryOrBuilder
        Returns:
        The operation.
      • 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 Generated.ManagedFieldsEntryOrBuilder
        Returns:
        The bytes for operation.
      • setOperation

        public Generated.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;
        Parameters:
        value - The operation to set.
        Returns:
        This builder for chaining.
      • clearOperation

        public Generated.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;
        Returns:
        This builder for chaining.
      • setOperationBytes

        public Generated.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;
        Parameters:
        value - The bytes for operation to set.
        Returns:
        This builder for chaining.
      • 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 Generated.ManagedFieldsEntryOrBuilder
        Returns:
        Whether the apiVersion field is set.
      • 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 Generated.ManagedFieldsEntryOrBuilder
        Returns:
        The apiVersion.
      • 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 Generated.ManagedFieldsEntryOrBuilder
        Returns:
        The bytes for apiVersion.
      • setApiVersion

        public Generated.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;
        Parameters:
        value - The apiVersion to set.
        Returns:
        This builder for chaining.
      • clearApiVersion

        public Generated.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;
        Returns:
        This builder for chaining.
      • setApiVersionBytes

        public Generated.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;
        Parameters:
        value - The bytes for apiVersion to set.
        Returns:
        This builder for chaining.
      • hasTime

        public boolean hasTime()
         Time is the timestamp of when the ManagedFields entry was added. The
         timestamp will also be updated if a field is added, the manager
         changes any of the owned fields value or removes a field. The
         timestamp does not update when a field is removed from the entry
         because another manager took it over.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
        Specified by:
        hasTime in interface Generated.ManagedFieldsEntryOrBuilder
        Returns:
        Whether the time field is set.
      • getTime

        public Generated.Time getTime()
         Time is the timestamp of when the ManagedFields entry was added. The
         timestamp will also be updated if a field is added, the manager
         changes any of the owned fields value or removes a field. The
         timestamp does not update when a field is removed from the entry
         because another manager took it over.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
        Specified by:
        getTime in interface Generated.ManagedFieldsEntryOrBuilder
        Returns:
        The time.
      • setTime

        public Generated.ManagedFieldsEntry.Builder setTime​(Generated.Time value)
         Time is the timestamp of when the ManagedFields entry was added. The
         timestamp will also be updated if a field is added, the manager
         changes any of the owned fields value or removes a field. The
         timestamp does not update when a field is removed from the entry
         because another manager took it over.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
      • setTime

        public Generated.ManagedFieldsEntry.Builder setTime​(Generated.Time.Builder builderForValue)
         Time is the timestamp of when the ManagedFields entry was added. The
         timestamp will also be updated if a field is added, the manager
         changes any of the owned fields value or removes a field. The
         timestamp does not update when a field is removed from the entry
         because another manager took it over.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
      • mergeTime

        public Generated.ManagedFieldsEntry.Builder mergeTime​(Generated.Time value)
         Time is the timestamp of when the ManagedFields entry was added. The
         timestamp will also be updated if a field is added, the manager
         changes any of the owned fields value or removes a field. The
         timestamp does not update when a field is removed from the entry
         because another manager took it over.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
      • clearTime

        public Generated.ManagedFieldsEntry.Builder clearTime()
         Time is the timestamp of when the ManagedFields entry was added. The
         timestamp will also be updated if a field is added, the manager
         changes any of the owned fields value or removes a field. The
         timestamp does not update when a field is removed from the entry
         because another manager took it over.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
      • getTimeBuilder

        public Generated.Time.Builder getTimeBuilder()
         Time is the timestamp of when the ManagedFields entry was added. The
         timestamp will also be updated if a field is added, the manager
         changes any of the owned fields value or removes a field. The
         timestamp does not update when a field is removed from the entry
         because another manager took it over.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
      • getTimeOrBuilder

        public Generated.TimeOrBuilder getTimeOrBuilder()
         Time is the timestamp of when the ManagedFields entry was added. The
         timestamp will also be updated if a field is added, the manager
         changes any of the owned fields value or removes a field. The
         timestamp does not update when a field is removed from the entry
         because another manager took it over.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
        Specified by:
        getTimeOrBuilder in interface Generated.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 Generated.ManagedFieldsEntryOrBuilder
        Returns:
        Whether the fieldsType field is set.
      • 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 Generated.ManagedFieldsEntryOrBuilder
        Returns:
        The fieldsType.
      • 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 Generated.ManagedFieldsEntryOrBuilder
        Returns:
        The bytes for fieldsType.
      • setFieldsType

        public Generated.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;
        Parameters:
        value - The fieldsType to set.
        Returns:
        This builder for chaining.
      • clearFieldsType

        public Generated.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;
        Returns:
        This builder for chaining.
      • setFieldsTypeBytes

        public Generated.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;
        Parameters:
        value - The bytes for fieldsType to set.
        Returns:
        This builder for chaining.
      • 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 Generated.ManagedFieldsEntryOrBuilder
        Returns:
        Whether the fieldsV1 field is set.
      • clearFieldsV1

        public Generated.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 Generated.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;
      • 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 Generated.ManagedFieldsEntryOrBuilder
        Returns:
        Whether the subresource field is set.
      • 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 Generated.ManagedFieldsEntryOrBuilder
        Returns:
        The subresource.
      • 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 Generated.ManagedFieldsEntryOrBuilder
        Returns:
        The bytes for subresource.
      • setSubresource

        public Generated.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;
        Parameters:
        value - The subresource to set.
        Returns:
        This builder for chaining.
      • clearSubresource

        public Generated.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;
        Returns:
        This builder for chaining.
      • setSubresourceBytes

        public Generated.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;
        Parameters:
        value - The bytes for subresource to set.
        Returns:
        This builder for chaining.