Class Authorization.Builder (0.75.0)

publicstaticfinalclass Authorization.BuilderextendsGeneratedMessageV3.Builder<Authorization.Builder>implementsAuthorizationOrBuilder

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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicAuthorization.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Authorization.Builder
Overrides

build()

publicAuthorizationbuild()
Returns
Type Description
Authorization

buildPartial()

publicAuthorizationbuildPartial()
Returns
Type Description
Authorization

clear()

publicAuthorization.Builderclear()
Returns
Type Description
Authorization.Builder
Overrides

clearAdminUsers()

publicAuthorization.BuilderclearAdminUsers()

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
Authorization.Builder

clearField(Descriptors.FieldDescriptor field)

publicAuthorization.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Authorization.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicAuthorization.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Authorization.Builder
Overrides

clone()

publicAuthorization.Builderclone()
Returns
Type Description
Authorization.Builder
Overrides

getAdminUsers()

publicClusterUsergetAdminUsers()

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
ClusterUser

The adminUsers.

getAdminUsersBuilder()

publicClusterUser.BuildergetAdminUsersBuilder()

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
ClusterUser.Builder

getAdminUsersOrBuilder()

publicClusterUserOrBuildergetAdminUsersOrBuilder()

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
ClusterUserOrBuilder

getDefaultInstanceForType()

publicAuthorizationgetDefaultInstanceForType()
Returns
Type Description
Authorization

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasAdminUsers()

publicbooleanhasAdminUsers()

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()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeAdminUsers(ClusterUser value)

publicAuthorization.BuildermergeAdminUsers(ClusterUservalue)

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];

Parameter
Name Description
value ClusterUser
Returns
Type Description
Authorization.Builder

mergeFrom(Authorization other)

publicAuthorization.BuildermergeFrom(Authorizationother)
Parameter
Name Description
other Authorization
Returns
Type Description
Authorization.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicAuthorization.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Authorization.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicAuthorization.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Authorization.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalAuthorization.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Authorization.Builder
Overrides

setAdminUsers(ClusterUser value)

publicAuthorization.BuildersetAdminUsers(ClusterUservalue)

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];

Parameter
Name Description
value ClusterUser
Returns
Type Description
Authorization.Builder

setAdminUsers(ClusterUser.Builder builderForValue)

publicAuthorization.BuildersetAdminUsers(ClusterUser.BuilderbuilderForValue)

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];

Parameter
Name Description
builderForValue ClusterUser.Builder
Returns
Type Description
Authorization.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicAuthorization.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Authorization.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicAuthorization.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Authorization.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalAuthorization.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Authorization.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.