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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AccessControlAction.Builder newBuilder()
newBuilder(AccessControlAction prototype)
public static AccessControlAction.Builder newBuilder(AccessControlAction prototype)
parseDelimitedFrom(InputStream input)
public static AccessControlAction parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AccessControlAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AccessControlAction parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AccessControlAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AccessControlAction parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AccessControlAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static AccessControlAction parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AccessControlAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static AccessControlAction parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AccessControlAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AccessControlAction parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AccessControlAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AccessControlAction> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public AccessControlAction getDefaultInstanceForType()
getOperationType()
public AccessControlAction.OperationType getOperationType()
Identifies the type of operation.
.google.cloud.contentwarehouse.v1.AccessControlAction.OperationType operation_type = 1;
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()
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AccessControlAction.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AccessControlAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AccessControlAction.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides