Class SetAclResponse.Builder (0.39.0)

public static final class SetAclResponse.Builder extends GeneratedMessageV3.Builder<SetAclResponse.Builder> implements SetAclResponseOrBuilder

Response message for DocumentService.SetAcl.

Protobuf type google.cloud.contentwarehouse.v1.SetAclResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SetAclResponse build()
Returns
Type Description
SetAclResponse

buildPartial()

public SetAclResponse buildPartial()
Returns
Type Description
SetAclResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMetadata()

public SetAclResponse.Builder clearMetadata()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 2;

Returns
Type Description
SetAclResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPolicy()

public SetAclResponse.Builder clearPolicy()

The policy will be attached to a resource (e.g. projecct, document).

.google.iam.v1.Policy policy = 1;

Returns
Type Description
SetAclResponse.Builder

clone()

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

getDefaultInstanceForType()

public SetAclResponse getDefaultInstanceForType()
Returns
Type Description
SetAclResponse

getDescriptorForType()

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

getMetadata()

public ResponseMetadata getMetadata()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 2;

Returns
Type Description
ResponseMetadata

The metadata.

getMetadataBuilder()

public ResponseMetadata.Builder getMetadataBuilder()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 2;

Returns
Type Description
ResponseMetadata.Builder

getMetadataOrBuilder()

public ResponseMetadataOrBuilder getMetadataOrBuilder()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 2;

Returns
Type Description
ResponseMetadataOrBuilder

getPolicy()

public Policy getPolicy()

The policy will be attached to a resource (e.g. projecct, document).

.google.iam.v1.Policy policy = 1;

Returns
Type Description
com.google.iam.v1.Policy

The policy.

getPolicyBuilder()

public Policy.Builder getPolicyBuilder()

The policy will be attached to a resource (e.g. projecct, document).

.google.iam.v1.Policy policy = 1;

Returns
Type Description
com.google.iam.v1.Policy.Builder

getPolicyOrBuilder()

public PolicyOrBuilder getPolicyOrBuilder()

The policy will be attached to a resource (e.g. projecct, document).

.google.iam.v1.Policy policy = 1;

Returns
Type Description
com.google.iam.v1.PolicyOrBuilder

hasMetadata()

public boolean hasMetadata()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 2;

Returns
Type Description
boolean

Whether the metadata field is set.

hasPolicy()

public boolean hasPolicy()

The policy will be attached to a resource (e.g. projecct, document).

.google.iam.v1.Policy policy = 1;

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(SetAclResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetadata(ResponseMetadata value)

public SetAclResponse.Builder mergeMetadata(ResponseMetadata value)

Additional information for the API invocation, such as the request tracking id.

.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 2;

Parameter
Name Description
value ResponseMetadata
Returns
Type Description
SetAclResponse.Builder

mergePolicy(Policy value)

public SetAclResponse.Builder mergePolicy(Policy value)

The policy will be attached to a resource (e.g. projecct, document).

.google.iam.v1.Policy policy = 1;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetadata(ResponseMetadata value)

public SetAclResponse.Builder setMetadata(ResponseMetadata value)

Additional information for the API invocation, such as the request tracking id.

.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 2;

Parameter
Name Description
value ResponseMetadata
Returns
Type Description
SetAclResponse.Builder

setMetadata(ResponseMetadata.Builder builderForValue)

public SetAclResponse.Builder setMetadata(ResponseMetadata.Builder builderForValue)

Additional information for the API invocation, such as the request tracking id.

.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 2;

Parameter
Name Description
builderForValue ResponseMetadata.Builder
Returns
Type Description
SetAclResponse.Builder

setPolicy(Policy value)

public SetAclResponse.Builder setPolicy(Policy value)

The policy will be attached to a resource (e.g. projecct, document).

.google.iam.v1.Policy policy = 1;

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

setPolicy(Policy.Builder builderForValue)

public SetAclResponse.Builder setPolicy(Policy.Builder builderForValue)

The policy will be attached to a resource (e.g. projecct, document).

.google.iam.v1.Policy policy = 1;

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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