Class AccessControlAction.Builder (0.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AccessControlAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AccessControlAction.Builder
Overrides

build()

public AccessControlAction build()
Returns
TypeDescription
AccessControlAction

buildPartial()

public AccessControlAction buildPartial()
Returns
TypeDescription
AccessControlAction

clear()

public AccessControlAction.Builder clear()
Returns
TypeDescription
AccessControlAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AccessControlAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AccessControlAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AccessControlAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AccessControlAction.Builder
Overrides

clearOperationType()

public AccessControlAction.Builder clearOperationType()

Identifies the type of operation.

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

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

clone()

public AccessControlAction.Builder clone()
Returns
TypeDescription
AccessControlAction.Builder
Overrides

getDefaultInstanceForType()

public AccessControlAction getDefaultInstanceForType()
Returns
TypeDescription
AccessControlAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the policy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AccessControlAction other)

public AccessControlAction.Builder mergeFrom(AccessControlAction other)
Parameter
NameDescription
otherAccessControlAction
Returns
TypeDescription
AccessControlAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AccessControlAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessControlAction.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AccessControlAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuecom.google.iam.v1.Policy
Returns
TypeDescription
AccessControlAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccessControlAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AccessControlAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AccessControlAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueAccessControlAction.OperationType

The operationType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valuecom.google.iam.v1.Policy
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.iam.v1.Policy.Builder
Returns
TypeDescription
AccessControlAction.Builder

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

public AccessControlAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AccessControlAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AccessControlAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AccessControlAction.Builder
Overrides