public static final class V1Rbac.Role.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.Role.Builder> implements V1Rbac.RoleOrBuilder
Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.Protobuf type
k8s.io.api.rbac.v1.Role| Modifier and Type | Method and Description |
|---|---|
V1Rbac.Role.Builder |
addAllRules(Iterable<? extends V1Rbac.PolicyRule> values)
Rules holds all the PolicyRules for this Role
|
V1Rbac.Role.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Rbac.Role.Builder |
addRules(int index,
V1Rbac.PolicyRule.Builder builderForValue)
Rules holds all the PolicyRules for this Role
|
V1Rbac.Role.Builder |
addRules(int index,
V1Rbac.PolicyRule value)
Rules holds all the PolicyRules for this Role
|
V1Rbac.Role.Builder |
addRules(V1Rbac.PolicyRule.Builder builderForValue)
Rules holds all the PolicyRules for this Role
|
V1Rbac.Role.Builder |
addRules(V1Rbac.PolicyRule value)
Rules holds all the PolicyRules for this Role
|
V1Rbac.PolicyRule.Builder |
addRulesBuilder()
Rules holds all the PolicyRules for this Role
|
V1Rbac.PolicyRule.Builder |
addRulesBuilder(int index)
Rules holds all the PolicyRules for this Role
|
V1Rbac.Role |
build() |
V1Rbac.Role |
buildPartial() |
V1Rbac.Role.Builder |
clear() |
V1Rbac.Role.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Rbac.Role.Builder |
clearMetadata()
Standard object's metadata.
|
V1Rbac.Role.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Rbac.Role.Builder |
clearRules()
Rules holds all the PolicyRules for this Role
|
V1Rbac.Role.Builder |
clone() |
V1Rbac.Role |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Meta.ObjectMeta |
getMetadata()
Standard object's metadata.
|
Meta.ObjectMeta.Builder |
getMetadataBuilder()
Standard object's metadata.
|
Meta.ObjectMetaOrBuilder |
getMetadataOrBuilder()
Standard object's metadata.
|
V1Rbac.PolicyRule |
getRules(int index)
Rules holds all the PolicyRules for this Role
|
V1Rbac.PolicyRule.Builder |
getRulesBuilder(int index)
Rules holds all the PolicyRules for this Role
|
List<V1Rbac.PolicyRule.Builder> |
getRulesBuilderList()
Rules holds all the PolicyRules for this Role
|
int |
getRulesCount()
Rules holds all the PolicyRules for this Role
|
List<V1Rbac.PolicyRule> |
getRulesList()
Rules holds all the PolicyRules for this Role
|
V1Rbac.PolicyRuleOrBuilder |
getRulesOrBuilder(int index)
Rules holds all the PolicyRules for this Role
|
List<? extends V1Rbac.PolicyRuleOrBuilder> |
getRulesOrBuilderList()
Rules holds all the PolicyRules for this Role
|
boolean |
hasMetadata()
Standard object's metadata.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1Rbac.Role.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Rbac.Role.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Rbac.Role.Builder |
mergeFrom(V1Rbac.Role other) |
V1Rbac.Role.Builder |
mergeMetadata(Meta.ObjectMeta value)
Standard object's metadata.
|
V1Rbac.Role.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Rbac.Role.Builder |
removeRules(int index)
Rules holds all the PolicyRules for this Role
|
V1Rbac.Role.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Rbac.Role.Builder |
setMetadata(Meta.ObjectMeta.Builder builderForValue)
Standard object's metadata.
|
V1Rbac.Role.Builder |
setMetadata(Meta.ObjectMeta value)
Standard object's metadata.
|
V1Rbac.Role.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Rbac.Role.Builder |
setRules(int index,
V1Rbac.PolicyRule.Builder builderForValue)
Rules holds all the PolicyRules for this Role
|
V1Rbac.Role.Builder |
setRules(int index,
V1Rbac.PolicyRule value)
Rules holds all the PolicyRules for this Role
|
V1Rbac.Role.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<V1Rbac.Role.Builder>public V1Rbac.Role.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.Role.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<V1Rbac.Role.Builder>public V1Rbac.Role getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1Rbac.Role build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1Rbac.Role buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1Rbac.Role.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.Role.Builder>public V1Rbac.Role.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<V1Rbac.Role.Builder>public V1Rbac.Role.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.Role.Builder>public V1Rbac.Role.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.Role.Builder>public V1Rbac.Role.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<V1Rbac.Role.Builder>public V1Rbac.Role.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<V1Rbac.Role.Builder>public V1Rbac.Role.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Rbac.Role.Builder>public V1Rbac.Role.Builder mergeFrom(V1Rbac.Role other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.Role.Builder>public V1Rbac.Role.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<V1Rbac.Role.Builder>IOExceptionpublic boolean hasMetadata()
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;hasMetadata in interface V1Rbac.RoleOrBuilderpublic Meta.ObjectMeta getMetadata()
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadata in interface V1Rbac.RoleOrBuilderpublic V1Rbac.Role.Builder setMetadata(Meta.ObjectMeta value)
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1Rbac.Role.Builder setMetadata(Meta.ObjectMeta.Builder builderForValue)
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1Rbac.Role.Builder mergeMetadata(Meta.ObjectMeta value)
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1Rbac.Role.Builder clearMetadata()
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public Meta.ObjectMeta.Builder getMetadataBuilder()
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public Meta.ObjectMetaOrBuilder getMetadataOrBuilder()
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadataOrBuilder in interface V1Rbac.RoleOrBuilderpublic List<V1Rbac.PolicyRule> getRulesList()
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;getRulesList in interface V1Rbac.RoleOrBuilderpublic int getRulesCount()
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;getRulesCount in interface V1Rbac.RoleOrBuilderpublic V1Rbac.PolicyRule getRules(int index)
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;getRules in interface V1Rbac.RoleOrBuilderpublic V1Rbac.Role.Builder setRules(int index, V1Rbac.PolicyRule value)
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;public V1Rbac.Role.Builder setRules(int index, V1Rbac.PolicyRule.Builder builderForValue)
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;public V1Rbac.Role.Builder addRules(V1Rbac.PolicyRule value)
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;public V1Rbac.Role.Builder addRules(int index, V1Rbac.PolicyRule value)
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;public V1Rbac.Role.Builder addRules(V1Rbac.PolicyRule.Builder builderForValue)
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;public V1Rbac.Role.Builder addRules(int index, V1Rbac.PolicyRule.Builder builderForValue)
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;public V1Rbac.Role.Builder addAllRules(Iterable<? extends V1Rbac.PolicyRule> values)
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;public V1Rbac.Role.Builder clearRules()
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;public V1Rbac.Role.Builder removeRules(int index)
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;public V1Rbac.PolicyRule.Builder getRulesBuilder(int index)
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;public V1Rbac.PolicyRuleOrBuilder getRulesOrBuilder(int index)
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;getRulesOrBuilder in interface V1Rbac.RoleOrBuilderpublic List<? extends V1Rbac.PolicyRuleOrBuilder> getRulesOrBuilderList()
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;getRulesOrBuilderList in interface V1Rbac.RoleOrBuilderpublic V1Rbac.PolicyRule.Builder addRulesBuilder()
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;public V1Rbac.PolicyRule.Builder addRulesBuilder(int index)
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;public List<V1Rbac.PolicyRule.Builder> getRulesBuilderList()
Rules holds all the PolicyRules for this Role
repeated .k8s.io.api.rbac.v1.PolicyRule rules = 2;public final V1Rbac.Role.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.Role.Builder>public final V1Rbac.Role.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.Role.Builder>Copyright © 2018. All rights reserved.