Package io.kubernetes.client.proto
Class Meta.ApplyOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
io.kubernetes.client.proto.Meta.ApplyOptions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Meta.ApplyOptionsOrBuilder,Cloneable
- Enclosing class:
- Meta.ApplyOptions
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllDryRun(Iterable<String> values) When present, indicates that modifications should not be persisted.When present, indicates that modifications should not be persisted.addDryRunBytes(com.google.protobuf.ByteString value) When present, indicates that modifications should not be persisted.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()When present, indicates that modifications should not be persisted.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) fieldManager is a name associated with the actor or entity that is making these changes.Force is going to "force" Apply requests.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDryRun(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.intWhen present, indicates that modifications should not be persisted.com.google.protobuf.ProtocolStringListWhen present, indicates that modifications should not be persisted.fieldManager is a name associated with the actor or entity that is making these changes.com.google.protobuf.ByteStringfieldManager is a name associated with the actor or entity that is making these changes.booleangetForce()Force is going to "force" Apply requests.booleanfieldManager is a name associated with the actor or entity that is making these changes.booleanhasForce()Force is going to "force" Apply requests.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Meta.ApplyOptions other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) When present, indicates that modifications should not be persisted.setFieldManager(String value) fieldManager is a name associated with the actor or entity that is making these changes.setFieldManagerBytes(com.google.protobuf.ByteString value) fieldManager is a name associated with the actor or entity that is making these changes.setForce(boolean value) Force is going to "force" Apply requests.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<Meta.ApplyOptions.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
setField
public Meta.ApplyOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
setRepeatedField
public Meta.ApplyOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
addRepeatedField
public Meta.ApplyOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Meta.ApplyOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
mergeFrom
public Meta.ApplyOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Meta.ApplyOptions.Builder>- Throws:
IOException
-
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
repeated string dryRun = 1;- Specified by:
getDryRunListin interfaceMeta.ApplyOptionsOrBuilder
-
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
repeated string dryRun = 1;- Specified by:
getDryRunCountin interfaceMeta.ApplyOptionsOrBuilder
-
getDryRun
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;- Specified by:
getDryRunin interfaceMeta.ApplyOptionsOrBuilder
-
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
repeated string dryRun = 1;- Specified by:
getDryRunBytesin interfaceMeta.ApplyOptionsOrBuilder
-
setDryRun
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; -
addDryRun
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; -
addAllDryRun
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; -
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; -
addDryRunBytes
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; -
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 interfaceMeta.ApplyOptionsOrBuilder
-
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 interfaceMeta.ApplyOptionsOrBuilder
-
setForce
Force is going to "force" Apply requests. It means user will re-acquire conflicting fields owned by other people.
optional bool force = 2; -
clearForce
Force is going to "force" Apply requests. It means user will re-acquire conflicting fields owned by other people.
optional bool force = 2; -
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 interfaceMeta.ApplyOptionsOrBuilder
-
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 interfaceMeta.ApplyOptionsOrBuilder
-
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 interfaceMeta.ApplyOptionsOrBuilder
-
setFieldManager
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; -
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; -
setFieldManagerBytes
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; -
setUnknownFields
public final Meta.ApplyOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
mergeUnknownFields
public final Meta.ApplyOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-