public static final class AccessControlAction.Builder extends GeneratedMessage.Builder<AccessControlAction.Builder> implements AccessControlActionOrBuilderRepresents the action responsible for access control list management operations.
Protobuf type google.cloud.contentwarehouse.v1.AccessControlAction
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AccessControlAction.BuilderImplements
AccessControlActionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
getDefaultInstanceForType()
public AccessControlAction getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AccessControlAction |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AccessControlAction.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AccessControlAction.Builder |
|
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 |
|
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.OperationTypeThe 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 |
intThe 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 |
|