public static final class V1Rbac.RoleBinding.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.RoleBinding.Builder> implements V1Rbac.RoleBindingOrBuilder
RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.Protobuf type
k8s.io.api.rbac.v1.RoleBinding| Modifier and Type | Method and Description |
|---|---|
V1Rbac.RoleBinding.Builder |
addAllSubjects(Iterable<? extends V1Rbac.Subject> values)
Subjects holds references to the objects the role applies to.
|
V1Rbac.RoleBinding.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Rbac.RoleBinding.Builder |
addSubjects(int index,
V1Rbac.Subject.Builder builderForValue)
Subjects holds references to the objects the role applies to.
|
V1Rbac.RoleBinding.Builder |
addSubjects(int index,
V1Rbac.Subject value)
Subjects holds references to the objects the role applies to.
|
V1Rbac.RoleBinding.Builder |
addSubjects(V1Rbac.Subject.Builder builderForValue)
Subjects holds references to the objects the role applies to.
|
V1Rbac.RoleBinding.Builder |
addSubjects(V1Rbac.Subject value)
Subjects holds references to the objects the role applies to.
|
V1Rbac.Subject.Builder |
addSubjectsBuilder()
Subjects holds references to the objects the role applies to.
|
V1Rbac.Subject.Builder |
addSubjectsBuilder(int index)
Subjects holds references to the objects the role applies to.
|
V1Rbac.RoleBinding |
build() |
V1Rbac.RoleBinding |
buildPartial() |
V1Rbac.RoleBinding.Builder |
clear() |
V1Rbac.RoleBinding.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Rbac.RoleBinding.Builder |
clearMetadata()
Standard object's metadata.
|
V1Rbac.RoleBinding.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Rbac.RoleBinding.Builder |
clearRoleRef()
RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
|
V1Rbac.RoleBinding.Builder |
clearSubjects()
Subjects holds references to the objects the role applies to.
|
V1Rbac.RoleBinding.Builder |
clone() |
V1Rbac.RoleBinding |
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.RoleRef |
getRoleRef()
RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
|
V1Rbac.RoleRef.Builder |
getRoleRefBuilder()
RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
|
V1Rbac.RoleRefOrBuilder |
getRoleRefOrBuilder()
RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
|
V1Rbac.Subject |
getSubjects(int index)
Subjects holds references to the objects the role applies to.
|
V1Rbac.Subject.Builder |
getSubjectsBuilder(int index)
Subjects holds references to the objects the role applies to.
|
List<V1Rbac.Subject.Builder> |
getSubjectsBuilderList()
Subjects holds references to the objects the role applies to.
|
int |
getSubjectsCount()
Subjects holds references to the objects the role applies to.
|
List<V1Rbac.Subject> |
getSubjectsList()
Subjects holds references to the objects the role applies to.
|
V1Rbac.SubjectOrBuilder |
getSubjectsOrBuilder(int index)
Subjects holds references to the objects the role applies to.
|
List<? extends V1Rbac.SubjectOrBuilder> |
getSubjectsOrBuilderList()
Subjects holds references to the objects the role applies to.
|
boolean |
hasMetadata()
Standard object's metadata.
|
boolean |
hasRoleRef()
RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1Rbac.RoleBinding.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Rbac.RoleBinding.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Rbac.RoleBinding.Builder |
mergeFrom(V1Rbac.RoleBinding other) |
V1Rbac.RoleBinding.Builder |
mergeMetadata(Meta.ObjectMeta value)
Standard object's metadata.
|
V1Rbac.RoleBinding.Builder |
mergeRoleRef(V1Rbac.RoleRef value)
RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
|
V1Rbac.RoleBinding.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Rbac.RoleBinding.Builder |
removeSubjects(int index)
Subjects holds references to the objects the role applies to.
|
V1Rbac.RoleBinding.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Rbac.RoleBinding.Builder |
setMetadata(Meta.ObjectMeta.Builder builderForValue)
Standard object's metadata.
|
V1Rbac.RoleBinding.Builder |
setMetadata(Meta.ObjectMeta value)
Standard object's metadata.
|
V1Rbac.RoleBinding.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Rbac.RoleBinding.Builder |
setRoleRef(V1Rbac.RoleRef.Builder builderForValue)
RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
|
V1Rbac.RoleBinding.Builder |
setRoleRef(V1Rbac.RoleRef value)
RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
|
V1Rbac.RoleBinding.Builder |
setSubjects(int index,
V1Rbac.Subject.Builder builderForValue)
Subjects holds references to the objects the role applies to.
|
V1Rbac.RoleBinding.Builder |
setSubjects(int index,
V1Rbac.Subject value)
Subjects holds references to the objects the role applies to.
|
V1Rbac.RoleBinding.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.RoleBinding.Builder>public V1Rbac.RoleBinding.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.RoleBinding.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.RoleBinding.Builder>public V1Rbac.RoleBinding getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1Rbac.RoleBinding build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1Rbac.RoleBinding buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1Rbac.RoleBinding.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.RoleBinding.Builder>public V1Rbac.RoleBinding.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.RoleBinding.Builder>public V1Rbac.RoleBinding.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.RoleBinding.Builder>public V1Rbac.RoleBinding.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.RoleBinding.Builder>public V1Rbac.RoleBinding.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.RoleBinding.Builder>public V1Rbac.RoleBinding.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.RoleBinding.Builder>public V1Rbac.RoleBinding.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Rbac.RoleBinding.Builder>public V1Rbac.RoleBinding.Builder mergeFrom(V1Rbac.RoleBinding other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.RoleBinding.Builder>public V1Rbac.RoleBinding.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.RoleBinding.Builder>IOExceptionpublic boolean hasMetadata()
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;hasMetadata in interface V1Rbac.RoleBindingOrBuilderpublic Meta.ObjectMeta getMetadata()
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadata in interface V1Rbac.RoleBindingOrBuilderpublic V1Rbac.RoleBinding.Builder setMetadata(Meta.ObjectMeta value)
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1Rbac.RoleBinding.Builder setMetadata(Meta.ObjectMeta.Builder builderForValue)
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1Rbac.RoleBinding.Builder mergeMetadata(Meta.ObjectMeta value)
Standard object's metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1Rbac.RoleBinding.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.RoleBindingOrBuilderpublic List<V1Rbac.Subject> getSubjectsList()
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;getSubjectsList in interface V1Rbac.RoleBindingOrBuilderpublic int getSubjectsCount()
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;getSubjectsCount in interface V1Rbac.RoleBindingOrBuilderpublic V1Rbac.Subject getSubjects(int index)
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;getSubjects in interface V1Rbac.RoleBindingOrBuilderpublic V1Rbac.RoleBinding.Builder setSubjects(int index, V1Rbac.Subject value)
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;public V1Rbac.RoleBinding.Builder setSubjects(int index, V1Rbac.Subject.Builder builderForValue)
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;public V1Rbac.RoleBinding.Builder addSubjects(V1Rbac.Subject value)
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;public V1Rbac.RoleBinding.Builder addSubjects(int index, V1Rbac.Subject value)
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;public V1Rbac.RoleBinding.Builder addSubjects(V1Rbac.Subject.Builder builderForValue)
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;public V1Rbac.RoleBinding.Builder addSubjects(int index, V1Rbac.Subject.Builder builderForValue)
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;public V1Rbac.RoleBinding.Builder addAllSubjects(Iterable<? extends V1Rbac.Subject> values)
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;public V1Rbac.RoleBinding.Builder clearSubjects()
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;public V1Rbac.RoleBinding.Builder removeSubjects(int index)
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;public V1Rbac.Subject.Builder getSubjectsBuilder(int index)
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;public V1Rbac.SubjectOrBuilder getSubjectsOrBuilder(int index)
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;getSubjectsOrBuilder in interface V1Rbac.RoleBindingOrBuilderpublic List<? extends V1Rbac.SubjectOrBuilder> getSubjectsOrBuilderList()
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;getSubjectsOrBuilderList in interface V1Rbac.RoleBindingOrBuilderpublic V1Rbac.Subject.Builder addSubjectsBuilder()
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;public V1Rbac.Subject.Builder addSubjectsBuilder(int index)
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;public List<V1Rbac.Subject.Builder> getSubjectsBuilderList()
Subjects holds references to the objects the role applies to. +optional
repeated .k8s.io.api.rbac.v1.Subject subjects = 2;public boolean hasRoleRef()
RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
optional .k8s.io.api.rbac.v1.RoleRef roleRef = 3;hasRoleRef in interface V1Rbac.RoleBindingOrBuilderpublic V1Rbac.RoleRef getRoleRef()
RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
optional .k8s.io.api.rbac.v1.RoleRef roleRef = 3;getRoleRef in interface V1Rbac.RoleBindingOrBuilderpublic V1Rbac.RoleBinding.Builder setRoleRef(V1Rbac.RoleRef value)
RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
optional .k8s.io.api.rbac.v1.RoleRef roleRef = 3;public V1Rbac.RoleBinding.Builder setRoleRef(V1Rbac.RoleRef.Builder builderForValue)
RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
optional .k8s.io.api.rbac.v1.RoleRef roleRef = 3;public V1Rbac.RoleBinding.Builder mergeRoleRef(V1Rbac.RoleRef value)
RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
optional .k8s.io.api.rbac.v1.RoleRef roleRef = 3;public V1Rbac.RoleBinding.Builder clearRoleRef()
RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
optional .k8s.io.api.rbac.v1.RoleRef roleRef = 3;public V1Rbac.RoleRef.Builder getRoleRefBuilder()
RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
optional .k8s.io.api.rbac.v1.RoleRef roleRef = 3;public V1Rbac.RoleRefOrBuilder getRoleRefOrBuilder()
RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
optional .k8s.io.api.rbac.v1.RoleRef roleRef = 3;getRoleRefOrBuilder in interface V1Rbac.RoleBindingOrBuilderpublic final V1Rbac.RoleBinding.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.RoleBinding.Builder>public final V1Rbac.RoleBinding.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Rbac.RoleBinding.Builder>Copyright © 2021. All rights reserved.