Class Generated.ManagedFieldsEntry

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Generated.ManagedFieldsEntryOrBuilder
    Enclosing class:
    Generated

    public static final class Generated.ManagedFieldsEntry
    extends com.google.protobuf.GeneratedMessageV3
    implements Generated.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
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Generated.ManagedFieldsEntry parseFrom​(ByteBuffer data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ManagedFieldsEntry parseFrom​(ByteBuffer data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ManagedFieldsEntry parseFrom​(com.google.protobuf.ByteString data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ManagedFieldsEntry parseFrom​(com.google.protobuf.ByteString data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ManagedFieldsEntry parseFrom​(byte[] data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ManagedFieldsEntry parseFrom​(byte[] data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

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

        protected Generated.ManagedFieldsEntry.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Generated.ManagedFieldsEntry> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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