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.Descriptor
com.google.protobuf.Descriptors.Descriptor
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
When present, indicates that modifications should not be persisted.com.google.protobuf.ProtocolStringList
When 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.ByteString
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
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
final boolean
mergeFrom
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
setField
public Meta.ApplyOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
addRepeatedField
public Meta.ApplyOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Meta.ApplyOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getDryRunList
in 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:
getDryRunCount
in 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:
getDryRun
in 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:
getDryRunBytes
in 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:
hasForce
in 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:
getForce
in 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:
hasFieldManager
in 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:
getFieldManager
in 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:
getFieldManagerBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-
mergeUnknownFields
public final Meta.ApplyOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.ApplyOptions.Builder>
-