Class FetchAclResponse.Builder (0.42.0)

public static final class FetchAclResponse.Builder extends GeneratedMessageV3.Builder<FetchAclResponse.Builder> implements FetchAclResponseOrBuilder

Response message for DocumentService.FetchAcl.

Protobuf type google.cloud.contentwarehouse.v1.FetchAclResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchAclResponse build()
Returns
Type Description
FetchAclResponse

buildPartial()

public FetchAclResponse buildPartial()
Returns
Type Description
FetchAclResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMetadata()

public FetchAclResponse.Builder clearMetadata()

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

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

Returns
Type Description
FetchAclResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPolicy()

public FetchAclResponse.Builder clearPolicy()

The IAM policy.

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

Returns
Type Description
FetchAclResponse.Builder

clone()

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

getDefaultInstanceForType()

public FetchAclResponse getDefaultInstanceForType()
Returns
Type Description
FetchAclResponse

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 IAM policy.

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

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

The policy.

getPolicyBuilder()

public Policy.Builder getPolicyBuilder()

The IAM policy.

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

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

getPolicyOrBuilder()

public PolicyOrBuilder getPolicyOrBuilder()

The IAM policy.

.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 IAM policy.

.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(FetchAclResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetadata(ResponseMetadata value)

public FetchAclResponse.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
FetchAclResponse.Builder

mergePolicy(Policy value)

public FetchAclResponse.Builder mergePolicy(Policy value)

The IAM policy.

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetadata(ResponseMetadata value)

public FetchAclResponse.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
FetchAclResponse.Builder

setMetadata(ResponseMetadata.Builder builderForValue)

public FetchAclResponse.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
FetchAclResponse.Builder

setPolicy(Policy value)

public FetchAclResponse.Builder setPolicy(Policy value)

The IAM policy.

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

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

setPolicy(Policy.Builder builderForValue)

public FetchAclResponse.Builder setPolicy(Policy.Builder builderForValue)

The IAM policy.

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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