public static final class Authorization.Builder extends GeneratedMessageV3.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.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Authorization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public Authorization.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Authorization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Authorization.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Authorization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public Authorization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Authorization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Authorization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides