public final class AccessControlAction extends GeneratedMessageV3 implements AccessControlActionOrBuilder
Represents the action responsible for access control list management
operations.
Protobuf type google.cloud.contentwarehouse.v1.AccessControlAction
Static Fields
OPERATION_TYPE_FIELD_NUMBER
public static final int OPERATION_TYPE_FIELD_NUMBER
Field Value
POLICY_FIELD_NUMBER
public static final int POLICY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AccessControlAction getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AccessControlAction.Builder newBuilder()
Returns
newBuilder(AccessControlAction prototype)
public static AccessControlAction.Builder newBuilder(AccessControlAction prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static AccessControlAction parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AccessControlAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AccessControlAction parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AccessControlAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AccessControlAction parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AccessControlAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static AccessControlAction parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AccessControlAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static AccessControlAction parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AccessControlAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AccessControlAction parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AccessControlAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AccessControlAction> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AccessControlAction getDefaultInstanceForType()
Returns
getOperationType()
public AccessControlAction.OperationType getOperationType()
Identifies the type of operation.
.google.cloud.contentwarehouse.v1.AccessControlAction.OperationType operation_type = 1;
Returns
getOperationTypeValue()
public int getOperationTypeValue()
Identifies the type of operation.
.google.cloud.contentwarehouse.v1.AccessControlAction.OperationType operation_type = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for operationType.
|
getParserForType()
public Parser<AccessControlAction> getParserForType()
Returns
Overrides
getPolicy()
public Policy getPolicy()
Represents the new policy from which bindings are added, removed or
replaced based on the type of the operation. the policy is limited to a few
10s of KB.
.google.iam.v1.Policy policy = 2;
Returns
Type | Description |
com.google.iam.v1.Policy | The policy.
|
getPolicyOrBuilder()
public PolicyOrBuilder getPolicyOrBuilder()
Represents the new policy from which bindings are added, removed or
replaced based on the type of the operation. the policy is limited to a few
10s of KB.
.google.iam.v1.Policy policy = 2;
Returns
Type | Description |
com.google.iam.v1.PolicyOrBuilder | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasPolicy()
public boolean hasPolicy()
Represents the new policy from which bindings are added, removed or
replaced based on the type of the operation. the policy is limited to a few
10s of KB.
.google.iam.v1.Policy policy = 2;
Returns
Type | Description |
boolean | Whether the policy field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AccessControlAction.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AccessControlAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AccessControlAction.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions