Class AccessControlAction (0.29.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
TypeDescription
int

POLICY_FIELD_NUMBER

public static final int POLICY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AccessControlAction getDefaultInstance()
Returns
TypeDescription
AccessControlAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AccessControlAction.Builder newBuilder()
Returns
TypeDescription
AccessControlAction.Builder

newBuilder(AccessControlAction prototype)

public static AccessControlAction.Builder newBuilder(AccessControlAction prototype)
Parameter
NameDescription
prototypeAccessControlAction
Returns
TypeDescription
AccessControlAction.Builder

parseDelimitedFrom(InputStream input)

public static AccessControlAction parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AccessControlAction
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessControlAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessControlAction
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AccessControlAction parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AccessControlAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AccessControlAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessControlAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AccessControlAction parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AccessControlAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AccessControlAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessControlAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AccessControlAction parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AccessControlAction
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessControlAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessControlAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AccessControlAction parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AccessControlAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessControlAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessControlAction
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AccessControlAction parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AccessControlAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AccessControlAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessControlAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AccessControlAction> parser()
Returns
TypeDescription
Parser<AccessControlAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AccessControlAction getDefaultInstanceForType()
Returns
TypeDescription
AccessControlAction

getOperationType()

public AccessControlAction.OperationType getOperationType()

Identifies the type of operation.

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

Returns
TypeDescription
AccessControlAction.OperationType

The operationType.

getOperationTypeValue()

public int getOperationTypeValue()

Identifies the type of operation.

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

Returns
TypeDescription
int

The enum numeric value on the wire for operationType.

getParserForType()

public Parser<AccessControlAction> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.iam.v1.PolicyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the policy field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AccessControlAction.Builder newBuilderForType()
Returns
TypeDescription
AccessControlAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AccessControlAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AccessControlAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AccessControlAction.Builder toBuilder()
Returns
TypeDescription
AccessControlAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException