Package com.google.iam.v3beta
Class AccessPolicyRule.Operation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.iam.v3beta.AccessPolicyRule.Operation
- All Implemented Interfaces:
AccessPolicyRule.OperationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- AccessPolicyRule
public static final class AccessPolicyRule.Operation
extends com.google.protobuf.GeneratedMessage
implements AccessPolicyRule.OperationOrBuilder
Attributes that are used to determine whether this rule applies to a request.Protobuf type
google.iam.v3beta.AccessPolicyRule.Operation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAttributes that are used to determine whether this rule applies to a request.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 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 TypeMethodDescriptionbooleanstatic AccessPolicyRule.Operationstatic final com.google.protobuf.Descriptors.DescriptorgetExcludedPermissions(int index) Optional.com.google.protobuf.ByteStringgetExcludedPermissionsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.com.google.protobuf.Parser<AccessPolicyRule.Operation>getPermissions(int index) Optional.com.google.protobuf.ByteStringgetPermissionsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(AccessPolicyRule.Operation prototype) protected AccessPolicyRule.Operation.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AccessPolicyRule.OperationparseDelimitedFrom(InputStream input) static AccessPolicyRule.OperationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AccessPolicyRule.OperationparseFrom(byte[] data) static AccessPolicyRule.OperationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AccessPolicyRule.OperationparseFrom(com.google.protobuf.ByteString data) static AccessPolicyRule.OperationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AccessPolicyRule.OperationparseFrom(com.google.protobuf.CodedInputStream input) static AccessPolicyRule.OperationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AccessPolicyRule.OperationparseFrom(InputStream input) static AccessPolicyRule.OperationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AccessPolicyRule.OperationparseFrom(ByteBuffer data) static AccessPolicyRule.OperationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AccessPolicyRule.Operation>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
-
PERMISSIONS_FIELD_NUMBER
public static final int PERMISSIONS_FIELD_NUMBER- See Also:
-
EXCLUDED_PERMISSIONS_FIELD_NUMBER
public static final int EXCLUDED_PERMISSIONS_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
-
getPermissionsList
public com.google.protobuf.ProtocolStringList getPermissionsList()Optional. The permissions that are explicitly affected by this rule. Each permission uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}` is the fully qualified domain name for the service. Currently supported permissions are as follows: * `eventarc.googleapis.com/messageBuses.publish`.repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPermissionsListin interfaceAccessPolicyRule.OperationOrBuilder- Returns:
- A list containing the permissions.
-
getPermissionsCount
public int getPermissionsCount()Optional. The permissions that are explicitly affected by this rule. Each permission uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}` is the fully qualified domain name for the service. Currently supported permissions are as follows: * `eventarc.googleapis.com/messageBuses.publish`.repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPermissionsCountin interfaceAccessPolicyRule.OperationOrBuilder- Returns:
- The count of permissions.
-
getPermissions
Optional. The permissions that are explicitly affected by this rule. Each permission uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}` is the fully qualified domain name for the service. Currently supported permissions are as follows: * `eventarc.googleapis.com/messageBuses.publish`.repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPermissionsin interfaceAccessPolicyRule.OperationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The permissions at the given index.
-
getPermissionsBytes
public com.google.protobuf.ByteString getPermissionsBytes(int index) Optional. The permissions that are explicitly affected by this rule. Each permission uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}` is the fully qualified domain name for the service. Currently supported permissions are as follows: * `eventarc.googleapis.com/messageBuses.publish`.repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPermissionsBytesin interfaceAccessPolicyRule.OperationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the permissions at the given index.
-
getExcludedPermissionsList
public com.google.protobuf.ProtocolStringList getExcludedPermissionsList()Optional. Specifies the permissions that this rule excludes from the set of affected permissions given by `permissions`. If a permission appears in `permissions` _and_ in `excluded_permissions` then it will _not_ be subject to the policy effect. The excluded permissions can be specified using the same syntax as `permissions`.
repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludedPermissionsListin interfaceAccessPolicyRule.OperationOrBuilder- Returns:
- A list containing the excludedPermissions.
-
getExcludedPermissionsCount
public int getExcludedPermissionsCount()Optional. Specifies the permissions that this rule excludes from the set of affected permissions given by `permissions`. If a permission appears in `permissions` _and_ in `excluded_permissions` then it will _not_ be subject to the policy effect. The excluded permissions can be specified using the same syntax as `permissions`.
repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludedPermissionsCountin interfaceAccessPolicyRule.OperationOrBuilder- Returns:
- The count of excludedPermissions.
-
getExcludedPermissions
Optional. Specifies the permissions that this rule excludes from the set of affected permissions given by `permissions`. If a permission appears in `permissions` _and_ in `excluded_permissions` then it will _not_ be subject to the policy effect. The excluded permissions can be specified using the same syntax as `permissions`.
repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludedPermissionsin interfaceAccessPolicyRule.OperationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The excludedPermissions at the given index.
-
getExcludedPermissionsBytes
public com.google.protobuf.ByteString getExcludedPermissionsBytes(int index) Optional. Specifies the permissions that this rule excludes from the set of affected permissions given by `permissions`. If a permission appears in `permissions` _and_ in `excluded_permissions` then it will _not_ be subject to the policy effect. The excluded permissions can be specified using the same syntax as `permissions`.
repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludedPermissionsBytesin interfaceAccessPolicyRule.OperationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludedPermissions at the given index.
-
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 AccessPolicyRule.Operation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessPolicyRule.Operation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessPolicyRule.Operation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessPolicyRule.Operation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessPolicyRule.Operation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessPolicyRule.Operation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AccessPolicyRule.Operation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AccessPolicyRule.Operation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AccessPolicyRule.Operation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AccessPolicyRule.Operation 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
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AccessPolicyRule.Operation.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
-