public static final class Authorization.Builder extends GeneratedMessage.Builder<Authorization.Builder> implements AuthorizationOrBuilder
RBAC policy that will be applied and managed by GEC.
Protobuf type google.cloud.edgecontainer.v1.Authorization
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public Authorization build()
buildPartial()
public Authorization buildPartial()
clear()
public Authorization.Builder clear()
Overrides
clearAdminUsers()
public Authorization.Builder clearAdminUsers()
Required. User that will be granted the cluster-admin role on the cluster,
providing full access to the cluster. Currently, this is a singular field,
but will be expanded to allow multiple admins in the future.
.google.cloud.edgecontainer.v1.ClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
getAdminUsers()
public ClusterUser getAdminUsers()
Required. User that will be granted the cluster-admin role on the cluster,
providing full access to the cluster. Currently, this is a singular field,
but will be expanded to allow multiple admins in the future.
.google.cloud.edgecontainer.v1.ClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
getAdminUsersBuilder()
public ClusterUser.Builder getAdminUsersBuilder()
Required. User that will be granted the cluster-admin role on the cluster,
providing full access to the cluster. Currently, this is a singular field,
but will be expanded to allow multiple admins in the future.
.google.cloud.edgecontainer.v1.ClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
getAdminUsersOrBuilder()
public ClusterUserOrBuilder getAdminUsersOrBuilder()
Required. User that will be granted the cluster-admin role on the cluster,
providing full access to the cluster. Currently, this is a singular field,
but will be expanded to allow multiple admins in the future.
.google.cloud.edgecontainer.v1.ClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public Authorization getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasAdminUsers()
public boolean hasAdminUsers()
Required. User that will be granted the cluster-admin role on the cluster,
providing full access to the cluster. Currently, this is a singular field,
but will be expanded to allow multiple admins in the future.
.google.cloud.edgecontainer.v1.ClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the adminUsers field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAdminUsers(ClusterUser value)
public Authorization.Builder mergeAdminUsers(ClusterUser value)
Required. User that will be granted the cluster-admin role on the cluster,
providing full access to the cluster. Currently, this is a singular field,
but will be expanded to allow multiple admins in the future.
.google.cloud.edgecontainer.v1.ClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(Authorization other)
public Authorization.Builder mergeFrom(Authorization other)
public Authorization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Authorization.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
setAdminUsers(ClusterUser value)
public Authorization.Builder setAdminUsers(ClusterUser value)
Required. User that will be granted the cluster-admin role on the cluster,
providing full access to the cluster. Currently, this is a singular field,
but will be expanded to allow multiple admins in the future.
.google.cloud.edgecontainer.v1.ClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
setAdminUsers(ClusterUser.Builder builderForValue)
public Authorization.Builder setAdminUsers(ClusterUser.Builder builderForValue)
Required. User that will be granted the cluster-admin role on the cluster,
providing full access to the cluster. Currently, this is a singular field,
but will be expanded to allow multiple admins in the future.
.google.cloud.edgecontainer.v1.ClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];