Class ClientSideAccessBoundaryRule
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.auth.credentialaccessboundary.protobuf.ClientSideAccessBoundaryRule
- All Implemented Interfaces:
ClientSideAccessBoundaryRuleOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ClientSideAccessBoundaryRule
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn access boundary rule that defines an upper bound of IAM permissions on a single resource.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAvailablePermissions(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.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 ClientSideAccessBoundaryRulestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<ClientSideAccessBoundaryRule>intbooleanThe compiled version of the availability_condition in the STS API AccessBoundaryRule (google3/google/identity/sts/v1/access_boundary.proto) with limited function support.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(ClientSideAccessBoundaryRule prototype) protected ClientSideAccessBoundaryRule.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ClientSideAccessBoundaryRuleparseDelimitedFrom(InputStream input) static ClientSideAccessBoundaryRuleparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientSideAccessBoundaryRuleparseFrom(byte[] data) static ClientSideAccessBoundaryRuleparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientSideAccessBoundaryRuleparseFrom(com.google.protobuf.ByteString data) static ClientSideAccessBoundaryRuleparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientSideAccessBoundaryRuleparseFrom(com.google.protobuf.CodedInputStream input) static ClientSideAccessBoundaryRuleparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientSideAccessBoundaryRuleparseFrom(InputStream input) static ClientSideAccessBoundaryRuleparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientSideAccessBoundaryRuleparseFrom(ByteBuffer data) static ClientSideAccessBoundaryRuleparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ClientSideAccessBoundaryRule>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
AVAILABLE_RESOURCE_FIELD_NUMBER
public static final int AVAILABLE_RESOURCE_FIELD_NUMBER- See Also:
-
AVAILABLE_PERMISSIONS_FIELD_NUMBER
public static final int AVAILABLE_PERMISSIONS_FIELD_NUMBER- See Also:
-
COMPILED_AVAILABILITY_CONDITION_FIELD_NUMBER
public static final int COMPILED_AVAILABILITY_CONDITION_FIELD_NUMBER- See Also:
-
-
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
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ClientSideAccessBoundaryRule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientSideAccessBoundaryRule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientSideAccessBoundaryRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientSideAccessBoundaryRule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientSideAccessBoundaryRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientSideAccessBoundaryRule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ClientSideAccessBoundaryRule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ClientSideAccessBoundaryRule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ClientSideAccessBoundaryRule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ClientSideAccessBoundaryRule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static ClientSideAccessBoundaryRule.Builder newBuilder(ClientSideAccessBoundaryRule prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClientSideAccessBoundaryRule.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-