Class AccessControlAction.Builder (0.43.0)

public static final class AccessControlAction.Builder extends GeneratedMessageV3.Builder<AccessControlAction.Builder> implements AccessControlActionOrBuilder

Represents the action responsible for access control list management operations.

Protobuf type google.cloud.contentwarehouse.v1.AccessControlAction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AccessControlAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AccessControlAction.Builder
Overrides

build()

public AccessControlAction build()
Returns
Type Description
AccessControlAction

buildPartial()

public AccessControlAction buildPartial()
Returns
Type Description
AccessControlAction

clear()

public AccessControlAction.Builder clear()
Returns
Type Description
AccessControlAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AccessControlAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AccessControlAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AccessControlAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AccessControlAction.Builder
Overrides

clearOperationType()

public AccessControlAction.Builder clearOperationType()

Identifies the type of operation.

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

Returns
Type Description
AccessControlAction.Builder

This builder for chaining.

clearPolicy()

public AccessControlAction.Builder clearPolicy()

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
AccessControlAction.Builder

clone()

public AccessControlAction.Builder clone()
Returns
Type Description
AccessControlAction.Builder
Overrides

getDefaultInstanceForType()

public AccessControlAction getDefaultInstanceForType()
Returns
Type Description
AccessControlAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

getPolicyBuilder()

public Policy.Builder getPolicyBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AccessControlAction other)

public AccessControlAction.Builder mergeFrom(AccessControlAction other)
Parameter
Name Description
other AccessControlAction
Returns
Type Description
AccessControlAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AccessControlAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessControlAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AccessControlAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AccessControlAction.Builder
Overrides

mergePolicy(Policy value)

public AccessControlAction.Builder mergePolicy(Policy value)

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;

Parameter
Name Description
value com.google.iam.v1.Policy
Returns
Type Description
AccessControlAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccessControlAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AccessControlAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AccessControlAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AccessControlAction.Builder
Overrides

setOperationType(AccessControlAction.OperationType value)

public AccessControlAction.Builder setOperationType(AccessControlAction.OperationType value)

Identifies the type of operation.

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

Parameter
Name Description
value AccessControlAction.OperationType

The operationType to set.

Returns
Type Description
AccessControlAction.Builder

This builder for chaining.

setOperationTypeValue(int value)

public AccessControlAction.Builder setOperationTypeValue(int value)

Identifies the type of operation.

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

Parameter
Name Description
value int

The enum numeric value on the wire for operationType to set.

Returns
Type Description
AccessControlAction.Builder

This builder for chaining.

setPolicy(Policy value)

public AccessControlAction.Builder setPolicy(Policy value)

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;

Parameter
Name Description
value com.google.iam.v1.Policy
Returns
Type Description
AccessControlAction.Builder

setPolicy(Policy.Builder builderForValue)

public AccessControlAction.Builder setPolicy(Policy.Builder builderForValue)

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;

Parameter
Name Description
builderForValue com.google.iam.v1.Policy.Builder
Returns
Type Description
AccessControlAction.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AccessControlAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AccessControlAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AccessControlAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AccessControlAction.Builder
Overrides