public static final class V1alpha1Rbac.ClusterRole.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Rbac.ClusterRole.Builder> implements V1alpha1Rbac.ClusterRoleOrBuilder
ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.Protobuf type
k8s.io.api.rbac.v1alpha1.ClusterRole| Modifier and Type | Method and Description |
|---|---|
V1alpha1Rbac.ClusterRole.Builder |
addAllRules(Iterable<? extends V1alpha1Rbac.PolicyRule> values)
Rules holds all the PolicyRules for this ClusterRole
+optional
|
V1alpha1Rbac.ClusterRole.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1alpha1Rbac.ClusterRole.Builder |
addRules(int index,
V1alpha1Rbac.PolicyRule.Builder builderForValue)
Rules holds all the PolicyRules for this ClusterRole
+optional
|
V1alpha1Rbac.ClusterRole.Builder |
addRules(int index,
V1alpha1Rbac.PolicyRule value)
Rules holds all the PolicyRules for this ClusterRole
+optional
|
V1alpha1Rbac.ClusterRole.Builder |
addRules(V1alpha1Rbac.PolicyRule.Builder builderForValue)
Rules holds all the PolicyRules for this ClusterRole
+optional
|
V1alpha1Rbac.ClusterRole.Builder |
addRules(V1alpha1Rbac.PolicyRule value)
Rules holds all the PolicyRules for this ClusterRole
+optional
|
V1alpha1Rbac.PolicyRule.Builder |
addRulesBuilder()
Rules holds all the PolicyRules for this ClusterRole
+optional
|
V1alpha1Rbac.PolicyRule.Builder |
addRulesBuilder(int index)
Rules holds all the PolicyRules for this ClusterRole
+optional
|
V1alpha1Rbac.ClusterRole |
build() |
V1alpha1Rbac.ClusterRole |
buildPartial() |
V1alpha1Rbac.ClusterRole.Builder |
clear() |
V1alpha1Rbac.ClusterRole.Builder |
clearAggregationRule()
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
|
V1alpha1Rbac.ClusterRole.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1alpha1Rbac.ClusterRole.Builder |
clearMetadata()
Standard object's metadata.
|
V1alpha1Rbac.ClusterRole.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1alpha1Rbac.ClusterRole.Builder |
clearRules()
Rules holds all the PolicyRules for this ClusterRole
+optional
|
V1alpha1Rbac.ClusterRole.Builder |
clone() |
V1alpha1Rbac.AggregationRule |
getAggregationRule()
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
|
V1alpha1Rbac.AggregationRule.Builder |
getAggregationRuleBuilder()
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
|
V1alpha1Rbac.AggregationRuleOrBuilder |
getAggregationRuleOrBuilder()
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
|
V1alpha1Rbac.ClusterRole |
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.
|
V1alpha1Rbac.PolicyRule |
getRules(int index)
Rules holds all the PolicyRules for this ClusterRole
+optional
|
V1alpha1Rbac.PolicyRule.Builder |
getRulesBuilder(int index)
Rules holds all the PolicyRules for this ClusterRole
+optional
|
List<V1alpha1Rbac.PolicyRule.Builder> |
getRulesBuilderList()
Rules holds all the PolicyRules for this ClusterRole
+optional
|
int |
getRulesCount()
Rules holds all the PolicyRules for this ClusterRole
+optional
|
List<V1alpha1Rbac.PolicyRule> |
getRulesList()
Rules holds all the PolicyRules for this ClusterRole
+optional
|
V1alpha1Rbac.PolicyRuleOrBuilder |
getRulesOrBuilder(int index)
Rules holds all the PolicyRules for this ClusterRole
+optional
|
List<? extends V1alpha1Rbac.PolicyRuleOrBuilder> |
getRulesOrBuilderList()
Rules holds all the PolicyRules for this ClusterRole
+optional
|
boolean |
hasAggregationRule()
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
|
boolean |
hasMetadata()
Standard object's metadata.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1alpha1Rbac.ClusterRole.Builder |
mergeAggregationRule(V1alpha1Rbac.AggregationRule value)
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
|
V1alpha1Rbac.ClusterRole.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1alpha1Rbac.ClusterRole.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1alpha1Rbac.ClusterRole.Builder |
mergeFrom(V1alpha1Rbac.ClusterRole other) |
V1alpha1Rbac.ClusterRole.Builder |
mergeMetadata(Meta.ObjectMeta value)
Standard object's metadata.
|
V1alpha1Rbac.ClusterRole.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1alpha1Rbac.ClusterRole.Builder |
removeRules(int index)
Rules holds all the PolicyRules for this ClusterRole
+optional
|
V1alpha1Rbac.ClusterRole.Builder |
setAggregationRule(V1alpha1Rbac.AggregationRule.Builder builderForValue)
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
|
V1alpha1Rbac.ClusterRole.Builder |
setAggregationRule(V1alpha1Rbac.AggregationRule value)
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
|
V1alpha1Rbac.ClusterRole.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1alpha1Rbac.ClusterRole.Builder |
setMetadata(Meta.ObjectMeta.Builder builderForValue)
Standard object's metadata.
|
V1alpha1Rbac.ClusterRole.Builder |
setMetadata(Meta.ObjectMeta value)
Standard object's metadata.
|
V1alpha1Rbac.ClusterRole.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1alpha1Rbac.ClusterRole.Builder |
setRules(int index,
V1alpha1Rbac.PolicyRule.Builder builderForValue)
Rules holds all the PolicyRules for this ClusterRole
+optional
|
V1alpha1Rbac.ClusterRole.Builder |
setRules(int index,
V1alpha1Rbac.PolicyRule value)
Rules holds all the PolicyRules for this ClusterRole
+optional
|
V1alpha1Rbac.ClusterRole.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<V1alpha1Rbac.ClusterRole.Builder>public V1alpha1Rbac.ClusterRole.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Rbac.ClusterRole.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<V1alpha1Rbac.ClusterRole.Builder>public V1alpha1Rbac.ClusterRole getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1alpha1Rbac.ClusterRole build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1alpha1Rbac.ClusterRole buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1alpha1Rbac.ClusterRole.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Rbac.ClusterRole.Builder>public V1alpha1Rbac.ClusterRole.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<V1alpha1Rbac.ClusterRole.Builder>public V1alpha1Rbac.ClusterRole.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Rbac.ClusterRole.Builder>public V1alpha1Rbac.ClusterRole.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Rbac.ClusterRole.Builder>public V1alpha1Rbac.ClusterRole.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<V1alpha1Rbac.ClusterRole.Builder>public V1alpha1Rbac.ClusterRole.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<V1alpha1Rbac.ClusterRole.Builder>public V1alpha1Rbac.ClusterRole.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1alpha1Rbac.ClusterRole.Builder>public V1alpha1Rbac.ClusterRole.Builder mergeFrom(V1alpha1Rbac.ClusterRole other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Rbac.ClusterRole.Builder>public V1alpha1Rbac.ClusterRole.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<V1alpha1Rbac.ClusterRole.Builder>IOExceptionpublic boolean hasMetadata()
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;hasMetadata in interface V1alpha1Rbac.ClusterRoleOrBuilderpublic Meta.ObjectMeta getMetadata()
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadata in interface V1alpha1Rbac.ClusterRoleOrBuilderpublic V1alpha1Rbac.ClusterRole.Builder setMetadata(Meta.ObjectMeta value)
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1alpha1Rbac.ClusterRole.Builder setMetadata(Meta.ObjectMeta.Builder builderForValue)
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1alpha1Rbac.ClusterRole.Builder mergeMetadata(Meta.ObjectMeta value)
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1alpha1Rbac.ClusterRole.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 V1alpha1Rbac.ClusterRoleOrBuilderpublic List<V1alpha1Rbac.PolicyRule> getRulesList()
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;getRulesList in interface V1alpha1Rbac.ClusterRoleOrBuilderpublic int getRulesCount()
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;getRulesCount in interface V1alpha1Rbac.ClusterRoleOrBuilderpublic V1alpha1Rbac.PolicyRule getRules(int index)
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;getRules in interface V1alpha1Rbac.ClusterRoleOrBuilderpublic V1alpha1Rbac.ClusterRole.Builder setRules(int index, V1alpha1Rbac.PolicyRule value)
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;public V1alpha1Rbac.ClusterRole.Builder setRules(int index, V1alpha1Rbac.PolicyRule.Builder builderForValue)
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;public V1alpha1Rbac.ClusterRole.Builder addRules(V1alpha1Rbac.PolicyRule value)
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;public V1alpha1Rbac.ClusterRole.Builder addRules(int index, V1alpha1Rbac.PolicyRule value)
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;public V1alpha1Rbac.ClusterRole.Builder addRules(V1alpha1Rbac.PolicyRule.Builder builderForValue)
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;public V1alpha1Rbac.ClusterRole.Builder addRules(int index, V1alpha1Rbac.PolicyRule.Builder builderForValue)
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;public V1alpha1Rbac.ClusterRole.Builder addAllRules(Iterable<? extends V1alpha1Rbac.PolicyRule> values)
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;public V1alpha1Rbac.ClusterRole.Builder clearRules()
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;public V1alpha1Rbac.ClusterRole.Builder removeRules(int index)
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;public V1alpha1Rbac.PolicyRule.Builder getRulesBuilder(int index)
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;public V1alpha1Rbac.PolicyRuleOrBuilder getRulesOrBuilder(int index)
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;getRulesOrBuilder in interface V1alpha1Rbac.ClusterRoleOrBuilderpublic List<? extends V1alpha1Rbac.PolicyRuleOrBuilder> getRulesOrBuilderList()
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;getRulesOrBuilderList in interface V1alpha1Rbac.ClusterRoleOrBuilderpublic V1alpha1Rbac.PolicyRule.Builder addRulesBuilder()
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;public V1alpha1Rbac.PolicyRule.Builder addRulesBuilder(int index)
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;public List<V1alpha1Rbac.PolicyRule.Builder> getRulesBuilderList()
Rules holds all the PolicyRules for this ClusterRole +optional
repeated .k8s.io.api.rbac.v1alpha1.PolicyRule rules = 2;public boolean hasAggregationRule()
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. +optional
optional .k8s.io.api.rbac.v1alpha1.AggregationRule aggregationRule = 3;hasAggregationRule in interface V1alpha1Rbac.ClusterRoleOrBuilderpublic V1alpha1Rbac.AggregationRule getAggregationRule()
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. +optional
optional .k8s.io.api.rbac.v1alpha1.AggregationRule aggregationRule = 3;getAggregationRule in interface V1alpha1Rbac.ClusterRoleOrBuilderpublic V1alpha1Rbac.ClusterRole.Builder setAggregationRule(V1alpha1Rbac.AggregationRule value)
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. +optional
optional .k8s.io.api.rbac.v1alpha1.AggregationRule aggregationRule = 3;public V1alpha1Rbac.ClusterRole.Builder setAggregationRule(V1alpha1Rbac.AggregationRule.Builder builderForValue)
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. +optional
optional .k8s.io.api.rbac.v1alpha1.AggregationRule aggregationRule = 3;public V1alpha1Rbac.ClusterRole.Builder mergeAggregationRule(V1alpha1Rbac.AggregationRule value)
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. +optional
optional .k8s.io.api.rbac.v1alpha1.AggregationRule aggregationRule = 3;public V1alpha1Rbac.ClusterRole.Builder clearAggregationRule()
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. +optional
optional .k8s.io.api.rbac.v1alpha1.AggregationRule aggregationRule = 3;public V1alpha1Rbac.AggregationRule.Builder getAggregationRuleBuilder()
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. +optional
optional .k8s.io.api.rbac.v1alpha1.AggregationRule aggregationRule = 3;public V1alpha1Rbac.AggregationRuleOrBuilder getAggregationRuleOrBuilder()
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. +optional
optional .k8s.io.api.rbac.v1alpha1.AggregationRule aggregationRule = 3;getAggregationRuleOrBuilder in interface V1alpha1Rbac.ClusterRoleOrBuilderpublic final V1alpha1Rbac.ClusterRole.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Rbac.ClusterRole.Builder>public final V1alpha1Rbac.ClusterRole.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Rbac.ClusterRole.Builder>Copyright © 2019. All rights reserved.