public static final class Meta.ApplyOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder> implements Meta.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| Modifier and Type | Method and Description |
|---|---|
Meta.ApplyOptions.Builder |
addAllDryRun(Iterable<String> values)
When present, indicates that modifications should not be
persisted.
|
Meta.ApplyOptions.Builder |
addDryRun(String value)
When present, indicates that modifications should not be
persisted.
|
Meta.ApplyOptions.Builder |
addDryRunBytes(com.google.protobuf.ByteString value)
When present, indicates that modifications should not be
persisted.
|
Meta.ApplyOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Meta.ApplyOptions |
build() |
Meta.ApplyOptions |
buildPartial() |
Meta.ApplyOptions.Builder |
clear() |
Meta.ApplyOptions.Builder |
clearDryRun()
When present, indicates that modifications should not be
persisted.
|
Meta.ApplyOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Meta.ApplyOptions.Builder |
clearFieldManager()
fieldManager is a name associated with the actor or entity
that is making these changes.
|
Meta.ApplyOptions.Builder |
clearForce()
Force is going to "force" Apply requests.
|
Meta.ApplyOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Meta.ApplyOptions.Builder |
clone() |
Meta.ApplyOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDryRun(int index)
When present, indicates that modifications should not be
persisted.
|
com.google.protobuf.ByteString |
getDryRunBytes(int index)
When present, indicates that modifications should not be
persisted.
|
int |
getDryRunCount()
When present, indicates that modifications should not be
persisted.
|
com.google.protobuf.ProtocolStringList |
getDryRunList()
When present, indicates that modifications should not be
persisted.
|
String |
getFieldManager()
fieldManager is a name associated with the actor or entity
that is making these changes.
|
com.google.protobuf.ByteString |
getFieldManagerBytes()
fieldManager is a name associated with the actor or entity
that is making these changes.
|
boolean |
getForce()
Force is going to "force" Apply requests.
|
boolean |
hasFieldManager()
fieldManager is a name associated with the actor or entity
that is making these changes.
|
boolean |
hasForce()
Force is going to "force" Apply requests.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Meta.ApplyOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Meta.ApplyOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
Meta.ApplyOptions.Builder |
mergeFrom(Meta.ApplyOptions other) |
Meta.ApplyOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Meta.ApplyOptions.Builder |
setDryRun(int index,
String value)
When present, indicates that modifications should not be
persisted.
|
Meta.ApplyOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Meta.ApplyOptions.Builder |
setFieldManager(String value)
fieldManager is a name associated with the actor or entity
that is making these changes.
|
Meta.ApplyOptions.Builder |
setFieldManagerBytes(com.google.protobuf.ByteString value)
fieldManager is a name associated with the actor or entity
that is making these changes.
|
Meta.ApplyOptions.Builder |
setForce(boolean value)
Force is going to "force" Apply requests.
|
Meta.ApplyOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Meta.ApplyOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>public Meta.ApplyOptions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>public Meta.ApplyOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Meta.ApplyOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Meta.ApplyOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Meta.ApplyOptions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>public Meta.ApplyOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>public Meta.ApplyOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>public Meta.ApplyOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>public Meta.ApplyOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>public Meta.ApplyOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>public Meta.ApplyOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Meta.ApplyOptions.Builder>public Meta.ApplyOptions.Builder mergeFrom(Meta.ApplyOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>public Meta.ApplyOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Meta.ApplyOptions.Builder>IOExceptionpublic 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
repeated string dryRun = 1;getDryRunList in interface Meta.ApplyOptionsOrBuilderpublic 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
repeated string dryRun = 1;getDryRunCount in interface Meta.ApplyOptionsOrBuilderpublic 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
repeated string dryRun = 1;getDryRun in interface Meta.ApplyOptionsOrBuilderpublic 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
repeated string dryRun = 1;getDryRunBytes in interface Meta.ApplyOptionsOrBuilderpublic Meta.ApplyOptions.Builder setDryRun(int index, String value)
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
repeated string dryRun = 1;public Meta.ApplyOptions.Builder addDryRun(String value)
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
repeated string dryRun = 1;public Meta.ApplyOptions.Builder addAllDryRun(Iterable<String> values)
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
repeated string dryRun = 1;public Meta.ApplyOptions.Builder clearDryRun()
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
repeated string dryRun = 1;public Meta.ApplyOptions.Builder addDryRunBytes(com.google.protobuf.ByteString value)
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
repeated string dryRun = 1;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;hasForce in interface Meta.ApplyOptionsOrBuilderpublic 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;getForce in interface Meta.ApplyOptionsOrBuilderpublic Meta.ApplyOptions.Builder setForce(boolean value)
Force is going to "force" Apply requests. It means user will re-acquire conflicting fields owned by other people.
optional bool force = 2;public Meta.ApplyOptions.Builder clearForce()
Force is going to "force" Apply requests. It means user will re-acquire conflicting fields owned by other people.
optional bool force = 2;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;hasFieldManager in interface Meta.ApplyOptionsOrBuilderpublic 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;getFieldManager in interface Meta.ApplyOptionsOrBuilderpublic 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;getFieldManagerBytes in interface Meta.ApplyOptionsOrBuilderpublic Meta.ApplyOptions.Builder setFieldManager(String value)
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;public Meta.ApplyOptions.Builder clearFieldManager()
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;public Meta.ApplyOptions.Builder setFieldManagerBytes(com.google.protobuf.ByteString value)
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;public final Meta.ApplyOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>public final Meta.ApplyOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>Copyright © 2023. All rights reserved.