Package com.google.cloud.gkehub.v1
Class RBACRoleBinding.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RBACRoleBinding.Builder>
com.google.cloud.gkehub.v1.RBACRoleBinding.Builder
- All Implemented Interfaces:
RBACRoleBindingOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RBACRoleBinding
public static final class RBACRoleBinding.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RBACRoleBinding.Builder>
implements RBACRoleBindingOrBuilder
RBACRoleBinding represents a rbacrolebinding across the FleetProtobuf type
google.cloud.gkehub.v1.RBACRoleBinding-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.group is the group, as seen by the kubernetes cluster.The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`Required.Output only.clearUid()Output only.Output only.user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"booleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGroup()group is the group, as seen by the kubernetes cluster.com.google.protobuf.ByteStringgroup is the group, as seen by the kubernetes cluster.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Deprecated.getName()The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`com.google.protobuf.ByteStringThe resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`getRole()Required.Required.Required.getState()Output only.Output only.Output only.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getUser()user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"com.google.protobuf.ByteStringuser is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"booleanOutput only.booleanOutput only.booleanhasGroup()group is the group, as seen by the kubernetes cluster.booleanhasRole()Required.booleanhasState()Output only.booleanOutput only.booleanhasUser()user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeDeleteTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(RBACRoleBinding other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRole(RBACRoleBinding.Role value) Required.Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Optional.Optional.removeLabels(String key) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDeleteTime(com.google.protobuf.Timestamp value) Output only.setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.group is the group, as seen by the kubernetes cluster.setGroupBytes(com.google.protobuf.ByteString value) group is the group, as seen by the kubernetes cluster.The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`setNameBytes(com.google.protobuf.ByteString value) The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`setRole(RBACRoleBinding.Role value) Required.setRole(RBACRoleBinding.Role.Builder builderForValue) Required.Output only.setState(RBACRoleBindingLifecycleState.Builder builderForValue) Output only.Output only.setUidBytes(com.google.protobuf.ByteString value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"setUserBytes(com.google.protobuf.ByteString value) user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<RBACRoleBinding.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<RBACRoleBinding.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RBACRoleBinding.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RBACRoleBinding.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RBACRoleBinding.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RBACRoleBinding.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RBACRoleBinding.Builder>
-
mergeFrom
public RBACRoleBinding.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RBACRoleBinding.Builder>- Throws:
IOException
-
getPrincipalCase
- Specified by:
getPrincipalCasein interfaceRBACRoleBindingOrBuilder
-
clearPrincipal
-
hasUser
public boolean hasUser()user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
string user = 7;- Specified by:
hasUserin interfaceRBACRoleBindingOrBuilder- Returns:
- Whether the user field is set.
-
getUser
user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
string user = 7;- Specified by:
getUserin interfaceRBACRoleBindingOrBuilder- Returns:
- The user.
-
getUserBytes
public com.google.protobuf.ByteString getUserBytes()user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
string user = 7;- Specified by:
getUserBytesin interfaceRBACRoleBindingOrBuilder- Returns:
- The bytes for user.
-
setUser
user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
string user = 7;- Parameters:
value- The user to set.- Returns:
- This builder for chaining.
-
clearUser
user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
string user = 7;- Returns:
- This builder for chaining.
-
setUserBytes
user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
string user = 7;- Parameters:
value- The bytes for user to set.- Returns:
- This builder for chaining.
-
hasGroup
public boolean hasGroup()group is the group, as seen by the kubernetes cluster.
string group = 8;- Specified by:
hasGroupin interfaceRBACRoleBindingOrBuilder- Returns:
- Whether the group field is set.
-
getGroup
group is the group, as seen by the kubernetes cluster.
string group = 8;- Specified by:
getGroupin interfaceRBACRoleBindingOrBuilder- Returns:
- The group.
-
getGroupBytes
public com.google.protobuf.ByteString getGroupBytes()group is the group, as seen by the kubernetes cluster.
string group = 8;- Specified by:
getGroupBytesin interfaceRBACRoleBindingOrBuilder- Returns:
- The bytes for group.
-
setGroup
group is the group, as seen by the kubernetes cluster.
string group = 8;- Parameters:
value- The group to set.- Returns:
- This builder for chaining.
-
clearGroup
group is the group, as seen by the kubernetes cluster.
string group = 8;- Returns:
- This builder for chaining.
-
setGroupBytes
group is the group, as seen by the kubernetes cluster.
string group = 8;- Parameters:
value- The bytes for group to set.- Returns:
- This builder for chaining.
-
getName
The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`string name = 1;- Specified by:
getNamein interfaceRBACRoleBindingOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`string name = 1;- Specified by:
getNameBytesin interfaceRBACRoleBindingOrBuilder- Returns:
- The bytes for name.
-
setName
The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUid
Output only. Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the same name is created, it gets a different uid.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceRBACRoleBindingOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the same name is created, it gets a different uid.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceRBACRoleBindingOrBuilder- Returns:
- The bytes for uid.
-
setUid
Output only. Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the same name is created, it gets a different uid.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
Output only. Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the same name is created, it gets a different uid.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUidBytes
Output only. Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the same name is created, it gets a different uid.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. When the rbacrolebinding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceRBACRoleBindingOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. When the rbacrolebinding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceRBACRoleBindingOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. When the rbacrolebinding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. When the rbacrolebinding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. When the rbacrolebinding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. When the rbacrolebinding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. When the rbacrolebinding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. When the rbacrolebinding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceRBACRoleBindingOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. When the rbacrolebinding was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceRBACRoleBindingOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. When the rbacrolebinding was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceRBACRoleBindingOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. When the rbacrolebinding was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. When the rbacrolebinding was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. When the rbacrolebinding was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. When the rbacrolebinding was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. When the rbacrolebinding was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. When the rbacrolebinding was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceRBACRoleBindingOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()Output only. When the rbacrolebinding was deleted.
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein interfaceRBACRoleBindingOrBuilder- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()Output only. When the rbacrolebinding was deleted.
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimein interfaceRBACRoleBindingOrBuilder- Returns:
- The deleteTime.
-
setDeleteTime
Output only. When the rbacrolebinding was deleted.
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDeleteTime
Output only. When the rbacrolebinding was deleted.
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDeleteTime
Output only. When the rbacrolebinding was deleted.
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDeleteTime
Output only. When the rbacrolebinding was deleted.
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()Output only. When the rbacrolebinding was deleted.
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()Output only. When the rbacrolebinding was deleted.
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimeOrBuilderin interfaceRBACRoleBindingOrBuilder
-
hasState
public boolean hasState()Output only. State of the rbacrolebinding resource.
.google.cloud.gkehub.v1.RBACRoleBindingLifecycleState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStatein interfaceRBACRoleBindingOrBuilder- Returns:
- Whether the state field is set.
-
getState
Output only. State of the rbacrolebinding resource.
.google.cloud.gkehub.v1.RBACRoleBindingLifecycleState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceRBACRoleBindingOrBuilder- Returns:
- The state.
-
setState
Output only. State of the rbacrolebinding resource.
.google.cloud.gkehub.v1.RBACRoleBindingLifecycleState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setState
Output only. State of the rbacrolebinding resource.
.google.cloud.gkehub.v1.RBACRoleBindingLifecycleState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeState
Output only. State of the rbacrolebinding resource.
.google.cloud.gkehub.v1.RBACRoleBindingLifecycleState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearState
Output only. State of the rbacrolebinding resource.
.google.cloud.gkehub.v1.RBACRoleBindingLifecycleState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateBuilder
Output only. State of the rbacrolebinding resource.
.google.cloud.gkehub.v1.RBACRoleBindingLifecycleState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateOrBuilder
Output only. State of the rbacrolebinding resource.
.google.cloud.gkehub.v1.RBACRoleBindingLifecycleState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateOrBuilderin interfaceRBACRoleBindingOrBuilder
-
hasRole
public boolean hasRole()Required. Role to bind to the principal
.google.cloud.gkehub.v1.RBACRoleBinding.Role role = 9 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasRolein interfaceRBACRoleBindingOrBuilder- Returns:
- Whether the role field is set.
-
getRole
Required. Role to bind to the principal
.google.cloud.gkehub.v1.RBACRoleBinding.Role role = 9 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRolein interfaceRBACRoleBindingOrBuilder- Returns:
- The role.
-
setRole
Required. Role to bind to the principal
.google.cloud.gkehub.v1.RBACRoleBinding.Role role = 9 [(.google.api.field_behavior) = REQUIRED]; -
setRole
Required. Role to bind to the principal
.google.cloud.gkehub.v1.RBACRoleBinding.Role role = 9 [(.google.api.field_behavior) = REQUIRED]; -
mergeRole
Required. Role to bind to the principal
.google.cloud.gkehub.v1.RBACRoleBinding.Role role = 9 [(.google.api.field_behavior) = REQUIRED]; -
clearRole
Required. Role to bind to the principal
.google.cloud.gkehub.v1.RBACRoleBinding.Role role = 9 [(.google.api.field_behavior) = REQUIRED]; -
getRoleBuilder
Required. Role to bind to the principal
.google.cloud.gkehub.v1.RBACRoleBinding.Role role = 9 [(.google.api.field_behavior) = REQUIRED]; -
getRoleOrBuilder
Required. Role to bind to the principal
.google.cloud.gkehub.v1.RBACRoleBinding.Role role = 9 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRoleOrBuilderin interfaceRBACRoleBindingOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:RBACRoleBindingOrBuilderOptional. Labels for this RBACRolebinding.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceRBACRoleBindingOrBuilder
-
containsLabels
Optional. Labels for this RBACRolebinding.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceRBACRoleBindingOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceRBACRoleBindingOrBuilder
-
getLabelsMap
Optional. Labels for this RBACRolebinding.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceRBACRoleBindingOrBuilder
-
getLabelsOrDefault
Optional. Labels for this RBACRolebinding.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceRBACRoleBindingOrBuilder
-
getLabelsOrThrow
Optional. Labels for this RBACRolebinding.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceRBACRoleBindingOrBuilder
-
clearLabels
-
removeLabels
Optional. Labels for this RBACRolebinding.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Optional. Labels for this RBACRolebinding.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. Labels for this RBACRolebinding.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
-