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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AccessControlAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AccessControlAction build()
buildPartial()
public AccessControlAction buildPartial()
clear()
public AccessControlAction.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AccessControlAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AccessControlAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOperationType()
public AccessControlAction.Builder clearOperationType()
Identifies the type of operation.
.google.cloud.contentwarehouse.v1.AccessControlAction.OperationType operation_type = 1;
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;
clone()
public AccessControlAction.Builder clone()
Overrides
getDefaultInstanceForType()
public AccessControlAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AccessControlAction other)
public AccessControlAction.Builder mergeFrom(AccessControlAction other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AccessControlAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AccessControlAction.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AccessControlAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AccessControlAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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.
|
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
|
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
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AccessControlAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AccessControlAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides