Class Generated.ApplyOptions

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

    public static final class Generated.ApplyOptions
    extends com.google.protobuf.GeneratedMessageV3
    implements Generated.ApplyOptionsOrBuilder
     ApplyOptions may be provided when applying an API object.
     FieldManager is required for apply requests.
     ApplyOptions is equivalent to PatchOptions. It is provided as a convenience with documentation
     that speaks specifically to how the options fields relate to apply.
     
    Protobuf type k8s.io.apimachinery.pkg.apis.meta.v1.ApplyOptions
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Generated.ApplyOptions.Builder
      ApplyOptions may be provided when applying an API object.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DRYRUN_FIELD_NUMBER  
      static int FIELDMANAGER_FIELD_NUMBER  
      static int FORCE_FIELD_NUMBER  
      static com.google.protobuf.Parser<Generated.ApplyOptions> PARSER
      Deprecated.
      • Fields inherited from class com.google.protobuf.GeneratedMessageV3

        alwaysUseFieldBuilders, unknownFields
      • Fields inherited from class com.google.protobuf.AbstractMessage

        memoizedSize
      • Fields inherited from class com.google.protobuf.AbstractMessageLite

        memoizedHashCode
    • 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
      • 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
         +listType=atomic
         
        repeated string dryRun = 1;
        Specified by:
        getDryRunList in interface Generated.ApplyOptionsOrBuilder
        Returns:
        A list containing the dryRun.
      • 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
         +listType=atomic
         
        repeated string dryRun = 1;
        Specified by:
        getDryRunCount in interface Generated.ApplyOptionsOrBuilder
        Returns:
        The count of dryRun.
      • 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
         +listType=atomic
         
        repeated string dryRun = 1;
        Specified by:
        getDryRun in interface Generated.ApplyOptionsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The dryRun at the given index.
      • 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
         +listType=atomic
         
        repeated string dryRun = 1;
        Specified by:
        getDryRunBytes in interface Generated.ApplyOptionsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the dryRun at the given index.
      • hasForce

        public boolean hasForce()
         Force is going to "force" Apply requests. It means user will
         re-acquire conflicting fields owned by other people.
         
        optional bool force = 2;
        Specified by:
        hasForce in interface Generated.ApplyOptionsOrBuilder
        Returns:
        Whether the force field is set.
      • getForce

        public boolean getForce()
         Force is going to "force" Apply requests. It means user will
         re-acquire conflicting fields owned by other people.
         
        optional bool force = 2;
        Specified by:
        getForce in interface Generated.ApplyOptionsOrBuilder
        Returns:
        The force.
      • 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. This
         field is required.
         
        optional string fieldManager = 3;
        Specified by:
        hasFieldManager in interface Generated.ApplyOptionsOrBuilder
        Returns:
        Whether the fieldManager field is set.
      • 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. This
         field is required.
         
        optional string fieldManager = 3;
        Specified by:
        getFieldManager in interface Generated.ApplyOptionsOrBuilder
        Returns:
        The fieldManager.
      • 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. This
         field is required.
         
        optional string fieldManager = 3;
        Specified by:
        getFieldManagerBytes in interface Generated.ApplyOptionsOrBuilder
        Returns:
        The bytes for fieldManager.
      • 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.ApplyOptions parseFrom​(ByteBuffer data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

        public static Generated.ApplyOptions 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.ApplyOptions parseFrom​(byte[] data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public com.google.protobuf.Parser<Generated.ApplyOptions> 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.ApplyOptions getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder