public static final class V1beta1Admissionregistration.Rule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.Rule.Builder> implements V1beta1Admissionregistration.RuleOrBuilder
Rule is a tuple of APIGroups, APIVersion, and Resources.It is recommended to make sure that all the tuple expansions are valid.Protobuf type
k8s.io.api.admissionregistration.v1beta1.Rule| Modifier and Type | Method and Description |
|---|---|
V1beta1Admissionregistration.Rule.Builder |
addAllApiGroups(Iterable<String> values)
APIGroups is the API groups the resources belong to.
|
V1beta1Admissionregistration.Rule.Builder |
addAllApiVersions(Iterable<String> values)
APIVersions is the API versions the resources belong to.
|
V1beta1Admissionregistration.Rule.Builder |
addAllResources(Iterable<String> values)
Resources is a list of resources this rule applies to.
|
V1beta1Admissionregistration.Rule.Builder |
addApiGroups(String value)
APIGroups is the API groups the resources belong to.
|
V1beta1Admissionregistration.Rule.Builder |
addApiGroupsBytes(com.google.protobuf.ByteString value)
APIGroups is the API groups the resources belong to.
|
V1beta1Admissionregistration.Rule.Builder |
addApiVersions(String value)
APIVersions is the API versions the resources belong to.
|
V1beta1Admissionregistration.Rule.Builder |
addApiVersionsBytes(com.google.protobuf.ByteString value)
APIVersions is the API versions the resources belong to.
|
V1beta1Admissionregistration.Rule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Admissionregistration.Rule.Builder |
addResources(String value)
Resources is a list of resources this rule applies to.
|
V1beta1Admissionregistration.Rule.Builder |
addResourcesBytes(com.google.protobuf.ByteString value)
Resources is a list of resources this rule applies to.
|
V1beta1Admissionregistration.Rule |
build() |
V1beta1Admissionregistration.Rule |
buildPartial() |
V1beta1Admissionregistration.Rule.Builder |
clear() |
V1beta1Admissionregistration.Rule.Builder |
clearApiGroups()
APIGroups is the API groups the resources belong to.
|
V1beta1Admissionregistration.Rule.Builder |
clearApiVersions()
APIVersions is the API versions the resources belong to.
|
V1beta1Admissionregistration.Rule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Admissionregistration.Rule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Admissionregistration.Rule.Builder |
clearResources()
Resources is a list of resources this rule applies to.
|
V1beta1Admissionregistration.Rule.Builder |
clone() |
String |
getApiGroups(int index)
APIGroups is the API groups the resources belong to.
|
com.google.protobuf.ByteString |
getApiGroupsBytes(int index)
APIGroups is the API groups the resources belong to.
|
int |
getApiGroupsCount()
APIGroups is the API groups the resources belong to.
|
com.google.protobuf.ProtocolStringList |
getApiGroupsList()
APIGroups is the API groups the resources belong to.
|
String |
getApiVersions(int index)
APIVersions is the API versions the resources belong to.
|
com.google.protobuf.ByteString |
getApiVersionsBytes(int index)
APIVersions is the API versions the resources belong to.
|
int |
getApiVersionsCount()
APIVersions is the API versions the resources belong to.
|
com.google.protobuf.ProtocolStringList |
getApiVersionsList()
APIVersions is the API versions the resources belong to.
|
V1beta1Admissionregistration.Rule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getResources(int index)
Resources is a list of resources this rule applies to.
|
com.google.protobuf.ByteString |
getResourcesBytes(int index)
Resources is a list of resources this rule applies to.
|
int |
getResourcesCount()
Resources is a list of resources this rule applies to.
|
com.google.protobuf.ProtocolStringList |
getResourcesList()
Resources is a list of resources this rule applies to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Admissionregistration.Rule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Admissionregistration.Rule.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Admissionregistration.Rule.Builder |
mergeFrom(V1beta1Admissionregistration.Rule other) |
V1beta1Admissionregistration.Rule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Admissionregistration.Rule.Builder |
setApiGroups(int index,
String value)
APIGroups is the API groups the resources belong to.
|
V1beta1Admissionregistration.Rule.Builder |
setApiVersions(int index,
String value)
APIVersions is the API versions the resources belong to.
|
V1beta1Admissionregistration.Rule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Admissionregistration.Rule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Admissionregistration.Rule.Builder |
setResources(int index,
String value)
Resources is a list of resources this rule applies to.
|
V1beta1Admissionregistration.Rule.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.Rule.Builder>public V1beta1Admissionregistration.Rule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.Rule.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<V1beta1Admissionregistration.Rule.Builder>public V1beta1Admissionregistration.Rule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Admissionregistration.Rule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Admissionregistration.Rule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Admissionregistration.Rule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.Rule.Builder>public V1beta1Admissionregistration.Rule.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<V1beta1Admissionregistration.Rule.Builder>public V1beta1Admissionregistration.Rule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.Rule.Builder>public V1beta1Admissionregistration.Rule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.Rule.Builder>public V1beta1Admissionregistration.Rule.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<V1beta1Admissionregistration.Rule.Builder>public V1beta1Admissionregistration.Rule.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<V1beta1Admissionregistration.Rule.Builder>public V1beta1Admissionregistration.Rule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Admissionregistration.Rule.Builder>public V1beta1Admissionregistration.Rule.Builder mergeFrom(V1beta1Admissionregistration.Rule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.Rule.Builder>public V1beta1Admissionregistration.Rule.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<V1beta1Admissionregistration.Rule.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getApiGroupsList()
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
repeated string apiGroups = 1;getApiGroupsList in interface V1beta1Admissionregistration.RuleOrBuilderpublic int getApiGroupsCount()
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
repeated string apiGroups = 1;getApiGroupsCount in interface V1beta1Admissionregistration.RuleOrBuilderpublic String getApiGroups(int index)
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
repeated string apiGroups = 1;getApiGroups in interface V1beta1Admissionregistration.RuleOrBuilderpublic com.google.protobuf.ByteString getApiGroupsBytes(int index)
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
repeated string apiGroups = 1;getApiGroupsBytes in interface V1beta1Admissionregistration.RuleOrBuilderpublic V1beta1Admissionregistration.Rule.Builder setApiGroups(int index, String value)
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
repeated string apiGroups = 1;public V1beta1Admissionregistration.Rule.Builder addApiGroups(String value)
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
repeated string apiGroups = 1;public V1beta1Admissionregistration.Rule.Builder addAllApiGroups(Iterable<String> values)
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
repeated string apiGroups = 1;public V1beta1Admissionregistration.Rule.Builder clearApiGroups()
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
repeated string apiGroups = 1;public V1beta1Admissionregistration.Rule.Builder addApiGroupsBytes(com.google.protobuf.ByteString value)
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
repeated string apiGroups = 1;public com.google.protobuf.ProtocolStringList getApiVersionsList()
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
repeated string apiVersions = 2;getApiVersionsList in interface V1beta1Admissionregistration.RuleOrBuilderpublic int getApiVersionsCount()
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
repeated string apiVersions = 2;getApiVersionsCount in interface V1beta1Admissionregistration.RuleOrBuilderpublic String getApiVersions(int index)
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
repeated string apiVersions = 2;getApiVersions in interface V1beta1Admissionregistration.RuleOrBuilderpublic com.google.protobuf.ByteString getApiVersionsBytes(int index)
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
repeated string apiVersions = 2;getApiVersionsBytes in interface V1beta1Admissionregistration.RuleOrBuilderpublic V1beta1Admissionregistration.Rule.Builder setApiVersions(int index, String value)
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
repeated string apiVersions = 2;public V1beta1Admissionregistration.Rule.Builder addApiVersions(String value)
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
repeated string apiVersions = 2;public V1beta1Admissionregistration.Rule.Builder addAllApiVersions(Iterable<String> values)
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
repeated string apiVersions = 2;public V1beta1Admissionregistration.Rule.Builder clearApiVersions()
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
repeated string apiVersions = 2;public V1beta1Admissionregistration.Rule.Builder addApiVersionsBytes(com.google.protobuf.ByteString value)
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
repeated string apiVersions = 2;public com.google.protobuf.ProtocolStringList getResourcesList()
Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.
repeated string resources = 3;getResourcesList in interface V1beta1Admissionregistration.RuleOrBuilderpublic int getResourcesCount()
Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.
repeated string resources = 3;getResourcesCount in interface V1beta1Admissionregistration.RuleOrBuilderpublic String getResources(int index)
Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.
repeated string resources = 3;getResources in interface V1beta1Admissionregistration.RuleOrBuilderpublic com.google.protobuf.ByteString getResourcesBytes(int index)
Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.
repeated string resources = 3;getResourcesBytes in interface V1beta1Admissionregistration.RuleOrBuilderpublic V1beta1Admissionregistration.Rule.Builder setResources(int index, String value)
Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.
repeated string resources = 3;public V1beta1Admissionregistration.Rule.Builder addResources(String value)
Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.
repeated string resources = 3;public V1beta1Admissionregistration.Rule.Builder addAllResources(Iterable<String> values)
Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.
repeated string resources = 3;public V1beta1Admissionregistration.Rule.Builder clearResources()
Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.
repeated string resources = 3;public V1beta1Admissionregistration.Rule.Builder addResourcesBytes(com.google.protobuf.ByteString value)
Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.
repeated string resources = 3;public final V1beta1Admissionregistration.Rule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.Rule.Builder>public final V1beta1Admissionregistration.Rule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.Rule.Builder>Copyright © 2021. All rights reserved.