public static final class V1Admissionregistration.RuleWithOperations.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Admissionregistration.RuleWithOperations.Builder> implements V1Admissionregistration.RuleWithOperationsOrBuilder
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.Protobuf type
k8s.io.api.admissionregistration.v1.RuleWithOperations| Modifier and Type | Method and Description |
|---|---|
V1Admissionregistration.RuleWithOperations.Builder |
addAllOperations(Iterable<String> values)
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or *
for all of those operations and any future admission operations that are added.
|
V1Admissionregistration.RuleWithOperations.Builder |
addOperations(String value)
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or *
for all of those operations and any future admission operations that are added.
|
V1Admissionregistration.RuleWithOperations.Builder |
addOperationsBytes(com.google.protobuf.ByteString value)
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or *
for all of those operations and any future admission operations that are added.
|
V1Admissionregistration.RuleWithOperations.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Admissionregistration.RuleWithOperations |
build() |
V1Admissionregistration.RuleWithOperations |
buildPartial() |
V1Admissionregistration.RuleWithOperations.Builder |
clear() |
V1Admissionregistration.RuleWithOperations.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Admissionregistration.RuleWithOperations.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Admissionregistration.RuleWithOperations.Builder |
clearOperations()
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or *
for all of those operations and any future admission operations that are added.
|
V1Admissionregistration.RuleWithOperations.Builder |
clearRule()
Rule is embedded, it describes other criteria of the rule, like
APIGroups, APIVersions, Resources, etc.
|
V1Admissionregistration.RuleWithOperations.Builder |
clone() |
V1Admissionregistration.RuleWithOperations |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getOperations(int index)
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or *
for all of those operations and any future admission operations that are added.
|
com.google.protobuf.ByteString |
getOperationsBytes(int index)
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or *
for all of those operations and any future admission operations that are added.
|
int |
getOperationsCount()
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or *
for all of those operations and any future admission operations that are added.
|
com.google.protobuf.ProtocolStringList |
getOperationsList()
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or *
for all of those operations and any future admission operations that are added.
|
V1Admissionregistration.Rule |
getRule()
Rule is embedded, it describes other criteria of the rule, like
APIGroups, APIVersions, Resources, etc.
|
V1Admissionregistration.Rule.Builder |
getRuleBuilder()
Rule is embedded, it describes other criteria of the rule, like
APIGroups, APIVersions, Resources, etc.
|
V1Admissionregistration.RuleOrBuilder |
getRuleOrBuilder()
Rule is embedded, it describes other criteria of the rule, like
APIGroups, APIVersions, Resources, etc.
|
boolean |
hasRule()
Rule is embedded, it describes other criteria of the rule, like
APIGroups, APIVersions, Resources, etc.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1Admissionregistration.RuleWithOperations.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Admissionregistration.RuleWithOperations.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Admissionregistration.RuleWithOperations.Builder |
mergeFrom(V1Admissionregistration.RuleWithOperations other) |
V1Admissionregistration.RuleWithOperations.Builder |
mergeRule(V1Admissionregistration.Rule value)
Rule is embedded, it describes other criteria of the rule, like
APIGroups, APIVersions, Resources, etc.
|
V1Admissionregistration.RuleWithOperations.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Admissionregistration.RuleWithOperations.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Admissionregistration.RuleWithOperations.Builder |
setOperations(int index,
String value)
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or *
for all of those operations and any future admission operations that are added.
|
V1Admissionregistration.RuleWithOperations.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Admissionregistration.RuleWithOperations.Builder |
setRule(V1Admissionregistration.Rule.Builder builderForValue)
Rule is embedded, it describes other criteria of the rule, like
APIGroups, APIVersions, Resources, etc.
|
V1Admissionregistration.RuleWithOperations.Builder |
setRule(V1Admissionregistration.Rule value)
Rule is embedded, it describes other criteria of the rule, like
APIGroups, APIVersions, Resources, etc.
|
V1Admissionregistration.RuleWithOperations.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<V1Admissionregistration.RuleWithOperations.Builder>public V1Admissionregistration.RuleWithOperations.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1Admissionregistration.RuleWithOperations.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<V1Admissionregistration.RuleWithOperations.Builder>public V1Admissionregistration.RuleWithOperations getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1Admissionregistration.RuleWithOperations build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1Admissionregistration.RuleWithOperations buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1Admissionregistration.RuleWithOperations.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1Admissionregistration.RuleWithOperations.Builder>public V1Admissionregistration.RuleWithOperations.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<V1Admissionregistration.RuleWithOperations.Builder>public V1Admissionregistration.RuleWithOperations.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Admissionregistration.RuleWithOperations.Builder>public V1Admissionregistration.RuleWithOperations.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1Admissionregistration.RuleWithOperations.Builder>public V1Admissionregistration.RuleWithOperations.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<V1Admissionregistration.RuleWithOperations.Builder>public V1Admissionregistration.RuleWithOperations.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<V1Admissionregistration.RuleWithOperations.Builder>public V1Admissionregistration.RuleWithOperations.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Admissionregistration.RuleWithOperations.Builder>public V1Admissionregistration.RuleWithOperations.Builder mergeFrom(V1Admissionregistration.RuleWithOperations other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Admissionregistration.RuleWithOperations.Builder>public V1Admissionregistration.RuleWithOperations.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<V1Admissionregistration.RuleWithOperations.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getOperationsList()
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
repeated string operations = 1;getOperationsList in interface V1Admissionregistration.RuleWithOperationsOrBuilderpublic int getOperationsCount()
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
repeated string operations = 1;getOperationsCount in interface V1Admissionregistration.RuleWithOperationsOrBuilderpublic String getOperations(int index)
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
repeated string operations = 1;getOperations in interface V1Admissionregistration.RuleWithOperationsOrBuilderpublic com.google.protobuf.ByteString getOperationsBytes(int index)
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
repeated string operations = 1;getOperationsBytes in interface V1Admissionregistration.RuleWithOperationsOrBuilderpublic V1Admissionregistration.RuleWithOperations.Builder setOperations(int index, String value)
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
repeated string operations = 1;public V1Admissionregistration.RuleWithOperations.Builder addOperations(String value)
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
repeated string operations = 1;public V1Admissionregistration.RuleWithOperations.Builder addAllOperations(Iterable<String> values)
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
repeated string operations = 1;public V1Admissionregistration.RuleWithOperations.Builder clearOperations()
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
repeated string operations = 1;public V1Admissionregistration.RuleWithOperations.Builder addOperationsBytes(com.google.protobuf.ByteString value)
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
repeated string operations = 1;public boolean hasRule()
Rule is embedded, it describes other criteria of the rule, like APIGroups, APIVersions, Resources, etc.
optional .k8s.io.api.admissionregistration.v1.Rule rule = 2;hasRule in interface V1Admissionregistration.RuleWithOperationsOrBuilderpublic V1Admissionregistration.Rule getRule()
Rule is embedded, it describes other criteria of the rule, like APIGroups, APIVersions, Resources, etc.
optional .k8s.io.api.admissionregistration.v1.Rule rule = 2;getRule in interface V1Admissionregistration.RuleWithOperationsOrBuilderpublic V1Admissionregistration.RuleWithOperations.Builder setRule(V1Admissionregistration.Rule value)
Rule is embedded, it describes other criteria of the rule, like APIGroups, APIVersions, Resources, etc.
optional .k8s.io.api.admissionregistration.v1.Rule rule = 2;public V1Admissionregistration.RuleWithOperations.Builder setRule(V1Admissionregistration.Rule.Builder builderForValue)
Rule is embedded, it describes other criteria of the rule, like APIGroups, APIVersions, Resources, etc.
optional .k8s.io.api.admissionregistration.v1.Rule rule = 2;public V1Admissionregistration.RuleWithOperations.Builder mergeRule(V1Admissionregistration.Rule value)
Rule is embedded, it describes other criteria of the rule, like APIGroups, APIVersions, Resources, etc.
optional .k8s.io.api.admissionregistration.v1.Rule rule = 2;public V1Admissionregistration.RuleWithOperations.Builder clearRule()
Rule is embedded, it describes other criteria of the rule, like APIGroups, APIVersions, Resources, etc.
optional .k8s.io.api.admissionregistration.v1.Rule rule = 2;public V1Admissionregistration.Rule.Builder getRuleBuilder()
Rule is embedded, it describes other criteria of the rule, like APIGroups, APIVersions, Resources, etc.
optional .k8s.io.api.admissionregistration.v1.Rule rule = 2;public V1Admissionregistration.RuleOrBuilder getRuleOrBuilder()
Rule is embedded, it describes other criteria of the rule, like APIGroups, APIVersions, Resources, etc.
optional .k8s.io.api.admissionregistration.v1.Rule rule = 2;getRuleOrBuilder in interface V1Admissionregistration.RuleWithOperationsOrBuilderpublic final V1Admissionregistration.RuleWithOperations.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Admissionregistration.RuleWithOperations.Builder>public final V1Admissionregistration.RuleWithOperations.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Admissionregistration.RuleWithOperations.Builder>Copyright © 2023. All rights reserved.