Class Generated.ApplyOptions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.apimachinery.pkg.apis.meta.v1.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 typek8s.io.apimachinery.pkg.apis.meta.v1.ApplyOptions- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.ApplyOptions.BuilderApplyOptions 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
-
-
Field Summary
Fields Modifier and Type Field Description static intDRYRUN_FIELD_NUMBERstatic intFIELDMANAGER_FIELD_NUMBERstatic intFORCE_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.ApplyOptions>PARSERDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Generated.ApplyOptionsgetDefaultInstance()Generated.ApplyOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDryRun(int index)When present, indicates that modifications should not be persisted.com.google.protobuf.ByteStringgetDryRunBytes(int index)When present, indicates that modifications should not be persisted.intgetDryRunCount()When present, indicates that modifications should not be persisted.com.google.protobuf.ProtocolStringListgetDryRunList()When present, indicates that modifications should not be persisted.StringgetFieldManager()fieldManager is a name associated with the actor or entity that is making these changes.com.google.protobuf.ByteStringgetFieldManagerBytes()fieldManager is a name associated with the actor or entity that is making these changes.booleangetForce()Force is going to "force" Apply requests.com.google.protobuf.Parser<Generated.ApplyOptions>getParserForType()intgetSerializedSize()booleanhasFieldManager()fieldManager is a name associated with the actor or entity that is making these changes.booleanhasForce()Force is going to "force" Apply requests.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.ApplyOptions.BuildernewBuilder()static Generated.ApplyOptions.BuildernewBuilder(Generated.ApplyOptions prototype)Generated.ApplyOptions.BuildernewBuilderForType()protected Generated.ApplyOptions.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.ApplyOptionsparseDelimitedFrom(InputStream input)static Generated.ApplyOptionsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ApplyOptionsparseFrom(byte[] data)static Generated.ApplyOptionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ApplyOptionsparseFrom(com.google.protobuf.ByteString data)static Generated.ApplyOptionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ApplyOptionsparseFrom(com.google.protobuf.CodedInputStream input)static Generated.ApplyOptionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ApplyOptionsparseFrom(InputStream input)static Generated.ApplyOptionsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ApplyOptionsparseFrom(ByteBuffer data)static Generated.ApplyOptionsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.ApplyOptions>parser()Generated.ApplyOptions.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DRYRUN_FIELD_NUMBER
public static final int DRYRUN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FORCE_FIELD_NUMBER
public static final int FORCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIELDMANAGER_FIELD_NUMBER
public static final int FIELDMANAGER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.ApplyOptions> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.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:
getDryRunListin interfaceGenerated.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:
getDryRunCountin interfaceGenerated.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:
getDryRunin interfaceGenerated.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:
getDryRunBytesin interfaceGenerated.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:
hasForcein interfaceGenerated.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:
getForcein interfaceGenerated.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:
hasFieldManagerin interfaceGenerated.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:
getFieldManagerin interfaceGenerated.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:
getFieldManagerBytesin interfaceGenerated.ApplyOptionsOrBuilder- Returns:
- The bytes for fieldManager.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
-
parseFrom
public static Generated.ApplyOptions parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ApplyOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.ApplyOptions parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.ApplyOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ApplyOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ApplyOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.ApplyOptions.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.ApplyOptions.Builder newBuilder()
-
newBuilder
public static Generated.ApplyOptions.Builder newBuilder(Generated.ApplyOptions prototype)
-
toBuilder
public Generated.ApplyOptions.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.ApplyOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.ApplyOptions getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.ApplyOptions> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.ApplyOptions> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.ApplyOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-