Class ClientSideAccessBoundaryRule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ClientSideAccessBoundaryRule.Builder>
com.google.auth.credentialaccessboundary.protobuf.ClientSideAccessBoundaryRule.Builder
- All Implemented Interfaces:
ClientSideAccessBoundaryRuleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ClientSideAccessBoundaryRule
public static final class ClientSideAccessBoundaryRule.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ClientSideAccessBoundaryRule.Builder>
implements ClientSideAccessBoundaryRuleOrBuilder
An access boundary rule that defines an upper bound of IAM permissions on a single resource. This proto has a compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto). It is used to format the access boundary restriction in the Client-Side CAB access token.Protobuf type
cloud.identity.unifiedauth.proto.ClientSideAccessBoundaryRule-
Method Summary
Modifier and TypeMethodDescriptionaddAllAvailablePermissions(Iterable<String> values) A list of permissions that may be allowed for use on the specified resource.addAvailablePermissions(String value) A list of permissions that may be allowed for use on the specified resource.addAvailablePermissionsBytes(com.google.protobuf.ByteString value) A list of permissions that may be allowed for use on the specified resource.build()clear()A list of permissions that may be allowed for use on the specified resource.The full resource name of a Google Cloud resource entity.The compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.getAvailablePermissions(int index) A list of permissions that may be allowed for use on the specified resource.com.google.protobuf.ByteStringgetAvailablePermissionsBytes(int index) A list of permissions that may be allowed for use on the specified resource.intA list of permissions that may be allowed for use on the specified resource.com.google.protobuf.ProtocolStringListA list of permissions that may be allowed for use on the specified resource.The full resource name of a Google Cloud resource entity.com.google.protobuf.ByteStringThe full resource name of a Google Cloud resource entity.dev.cel.expr.ExprThe compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.dev.cel.expr.Expr.BuilderThe compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.dev.cel.expr.ExprOrBuilderThe compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanThe compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCompiledAvailabilityCondition(dev.cel.expr.Expr value) The compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAvailablePermissions(int index, String value) A list of permissions that may be allowed for use on the specified resource.setAvailableResource(String value) The full resource name of a Google Cloud resource entity.setAvailableResourceBytes(com.google.protobuf.ByteString value) The full resource name of a Google Cloud resource entity.setCompiledAvailabilityCondition(dev.cel.expr.Expr value) The compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.setCompiledAvailabilityCondition(dev.cel.expr.Expr.Builder builderForValue) The compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ClientSideAccessBoundaryRule.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<ClientSideAccessBoundaryRule.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<ClientSideAccessBoundaryRule.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<ClientSideAccessBoundaryRule.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ClientSideAccessBoundaryRule.Builder>
-
mergeFrom
public ClientSideAccessBoundaryRule.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<ClientSideAccessBoundaryRule.Builder>- Throws:
IOException
-
getAvailableResource
The full resource name of a Google Cloud resource entity. The format definition is at https://cloud.google.com/apis/design/resource_names. Example value: `//cloudresourcemanager.googleapis.com/projects/my-project`.
string available_resource = 1 [features = { ... }- Specified by:
getAvailableResourcein interfaceClientSideAccessBoundaryRuleOrBuilder- Returns:
- The availableResource.
-
getAvailableResourceBytes
public com.google.protobuf.ByteString getAvailableResourceBytes()The full resource name of a Google Cloud resource entity. The format definition is at https://cloud.google.com/apis/design/resource_names. Example value: `//cloudresourcemanager.googleapis.com/projects/my-project`.
string available_resource = 1 [features = { ... }- Specified by:
getAvailableResourceBytesin interfaceClientSideAccessBoundaryRuleOrBuilder- Returns:
- The bytes for availableResource.
-
setAvailableResource
The full resource name of a Google Cloud resource entity. The format definition is at https://cloud.google.com/apis/design/resource_names. Example value: `//cloudresourcemanager.googleapis.com/projects/my-project`.
string available_resource = 1 [features = { ... }- Parameters:
value- The availableResource to set.- Returns:
- This builder for chaining.
-
clearAvailableResource
The full resource name of a Google Cloud resource entity. The format definition is at https://cloud.google.com/apis/design/resource_names. Example value: `//cloudresourcemanager.googleapis.com/projects/my-project`.
string available_resource = 1 [features = { ... }- Returns:
- This builder for chaining.
-
setAvailableResourceBytes
public ClientSideAccessBoundaryRule.Builder setAvailableResourceBytes(com.google.protobuf.ByteString value) The full resource name of a Google Cloud resource entity. The format definition is at https://cloud.google.com/apis/design/resource_names. Example value: `//cloudresourcemanager.googleapis.com/projects/my-project`.
string available_resource = 1 [features = { ... }- Parameters:
value- The bytes for availableResource to set.- Returns:
- This builder for chaining.
-
getAvailablePermissionsList
public com.google.protobuf.ProtocolStringList getAvailablePermissionsList()A list of permissions that may be allowed for use on the specified resource. The only supported values in the list are IAM roles, following the format of [google.iam.v1.Binding.role][]. Example value: `inRole:roles/logging.viewer` for predefined roles and `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom roles.repeated string available_permissions = 2;- Specified by:
getAvailablePermissionsListin interfaceClientSideAccessBoundaryRuleOrBuilder- Returns:
- A list containing the availablePermissions.
-
getAvailablePermissionsCount
public int getAvailablePermissionsCount()A list of permissions that may be allowed for use on the specified resource. The only supported values in the list are IAM roles, following the format of [google.iam.v1.Binding.role][]. Example value: `inRole:roles/logging.viewer` for predefined roles and `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom roles.repeated string available_permissions = 2;- Specified by:
getAvailablePermissionsCountin interfaceClientSideAccessBoundaryRuleOrBuilder- Returns:
- The count of availablePermissions.
-
getAvailablePermissions
A list of permissions that may be allowed for use on the specified resource. The only supported values in the list are IAM roles, following the format of [google.iam.v1.Binding.role][]. Example value: `inRole:roles/logging.viewer` for predefined roles and `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom roles.repeated string available_permissions = 2;- Specified by:
getAvailablePermissionsin interfaceClientSideAccessBoundaryRuleOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The availablePermissions at the given index.
-
getAvailablePermissionsBytes
public com.google.protobuf.ByteString getAvailablePermissionsBytes(int index) A list of permissions that may be allowed for use on the specified resource. The only supported values in the list are IAM roles, following the format of [google.iam.v1.Binding.role][]. Example value: `inRole:roles/logging.viewer` for predefined roles and `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom roles.repeated string available_permissions = 2;- Specified by:
getAvailablePermissionsBytesin interfaceClientSideAccessBoundaryRuleOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the availablePermissions at the given index.
-
setAvailablePermissions
A list of permissions that may be allowed for use on the specified resource. The only supported values in the list are IAM roles, following the format of [google.iam.v1.Binding.role][]. Example value: `inRole:roles/logging.viewer` for predefined roles and `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom roles.repeated string available_permissions = 2;- Parameters:
index- The index to set the value at.value- The availablePermissions to set.- Returns:
- This builder for chaining.
-
addAvailablePermissions
A list of permissions that may be allowed for use on the specified resource. The only supported values in the list are IAM roles, following the format of [google.iam.v1.Binding.role][]. Example value: `inRole:roles/logging.viewer` for predefined roles and `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom roles.repeated string available_permissions = 2;- Parameters:
value- The availablePermissions to add.- Returns:
- This builder for chaining.
-
addAllAvailablePermissions
A list of permissions that may be allowed for use on the specified resource. The only supported values in the list are IAM roles, following the format of [google.iam.v1.Binding.role][]. Example value: `inRole:roles/logging.viewer` for predefined roles and `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom roles.repeated string available_permissions = 2;- Parameters:
values- The availablePermissions to add.- Returns:
- This builder for chaining.
-
clearAvailablePermissions
A list of permissions that may be allowed for use on the specified resource. The only supported values in the list are IAM roles, following the format of [google.iam.v1.Binding.role][]. Example value: `inRole:roles/logging.viewer` for predefined roles and `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom roles.repeated string available_permissions = 2;- Returns:
- This builder for chaining.
-
addAvailablePermissionsBytes
public ClientSideAccessBoundaryRule.Builder addAvailablePermissionsBytes(com.google.protobuf.ByteString value) A list of permissions that may be allowed for use on the specified resource. The only supported values in the list are IAM roles, following the format of [google.iam.v1.Binding.role][]. Example value: `inRole:roles/logging.viewer` for predefined roles and `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom roles.repeated string available_permissions = 2;- Parameters:
value- The bytes of the availablePermissions to add.- Returns:
- This builder for chaining.
-
hasCompiledAvailabilityCondition
public boolean hasCompiledAvailabilityCondition()The compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.
.google.api.expr.Expr compiled_availability_condition = 4;- Specified by:
hasCompiledAvailabilityConditionin interfaceClientSideAccessBoundaryRuleOrBuilder- Returns:
- Whether the compiledAvailabilityCondition field is set.
-
getCompiledAvailabilityCondition
public dev.cel.expr.Expr getCompiledAvailabilityCondition()The compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.
.google.api.expr.Expr compiled_availability_condition = 4;- Specified by:
getCompiledAvailabilityConditionin interfaceClientSideAccessBoundaryRuleOrBuilder- Returns:
- The compiledAvailabilityCondition.
-
setCompiledAvailabilityCondition
public ClientSideAccessBoundaryRule.Builder setCompiledAvailabilityCondition(dev.cel.expr.Expr value) The compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.
.google.api.expr.Expr compiled_availability_condition = 4; -
setCompiledAvailabilityCondition
public ClientSideAccessBoundaryRule.Builder setCompiledAvailabilityCondition(dev.cel.expr.Expr.Builder builderForValue) The compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.
.google.api.expr.Expr compiled_availability_condition = 4; -
mergeCompiledAvailabilityCondition
public ClientSideAccessBoundaryRule.Builder mergeCompiledAvailabilityCondition(dev.cel.expr.Expr value) The compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.
.google.api.expr.Expr compiled_availability_condition = 4; -
clearCompiledAvailabilityCondition
The compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.
.google.api.expr.Expr compiled_availability_condition = 4; -
getCompiledAvailabilityConditionBuilder
public dev.cel.expr.Expr.Builder getCompiledAvailabilityConditionBuilder()The compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.
.google.api.expr.Expr compiled_availability_condition = 4; -
getCompiledAvailabilityConditionOrBuilder
public dev.cel.expr.ExprOrBuilder getCompiledAvailabilityConditionOrBuilder()The compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.
.google.api.expr.Expr compiled_availability_condition = 4;- Specified by:
getCompiledAvailabilityConditionOrBuilderin interfaceClientSideAccessBoundaryRuleOrBuilder
-