Class AccessControlAction (0.48.0)

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
Type Description
int

POLICY_FIELD_NUMBER

public static final int POLICY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AccessControlAction getDefaultInstance()
Returns
Type Description
AccessControlAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AccessControlAction.Builder newBuilder()
Returns
Type Description
AccessControlAction.Builder

newBuilder(AccessControlAction prototype)

public static AccessControlAction.Builder newBuilder(AccessControlAction prototype)
Parameter
Name Description
prototype AccessControlAction
Returns
Type Description
AccessControlAction.Builder

parseDelimitedFrom(InputStream input)

public static AccessControlAction parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AccessControlAction
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessControlAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessControlAction
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AccessControlAction parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AccessControlAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AccessControlAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessControlAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AccessControlAction parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AccessControlAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AccessControlAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessControlAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AccessControlAction parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AccessControlAction
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessControlAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessControlAction
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AccessControlAction parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AccessControlAction
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessControlAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessControlAction
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AccessControlAction parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AccessControlAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AccessControlAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessControlAction
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AccessControlAction> parser()
Returns
Type Description
Parser<AccessControlAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AccessControlAction getDefaultInstanceForType()
Returns
Type Description
AccessControlAction

getOperationType()

public AccessControlAction.OperationType getOperationType()

Identifies the type of operation.

.google.cloud.contentwarehouse.v1.AccessControlAction.OperationType operation_type = 1;

Returns
Type Description
AccessControlAction.OperationType

The operationType.

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
Type Description
Parser<AccessControlAction>
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
Type Description
int
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AccessControlAction.Builder newBuilderForType()
Returns
Type Description
AccessControlAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AccessControlAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AccessControlAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AccessControlAction.Builder toBuilder()
Returns
Type Description
AccessControlAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException