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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AccessControlAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AccessControlAction build()
Returns
buildPartial()
public AccessControlAction buildPartial()
Returns
clear()
public AccessControlAction.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AccessControlAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AccessControlAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOperationType()
public AccessControlAction.Builder clearOperationType()
Identifies the type of operation.
.google.cloud.contentwarehouse.v1.AccessControlAction.OperationType operation_type = 1;
Returns
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
clone()
public AccessControlAction.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AccessControlAction getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getOperationType()
public AccessControlAction.OperationType getOperationType()
Identifies the type of operation.
.google.cloud.contentwarehouse.v1.AccessControlAction.OperationType operation_type = 1;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AccessControlAction other)
public AccessControlAction.Builder mergeFrom(AccessControlAction other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AccessControlAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AccessControlAction.Builder mergeFrom(Message other)
Parameter
Returns
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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AccessControlAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AccessControlAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AccessControlAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AccessControlAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides