Class FetchAclResponse.Builder (0.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchAclResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FetchAclResponse.Builder
Overrides

build()

public FetchAclResponse build()
Returns
TypeDescription
FetchAclResponse

buildPartial()

public FetchAclResponse buildPartial()
Returns
TypeDescription
FetchAclResponse

clear()

public FetchAclResponse.Builder clear()
Returns
TypeDescription
FetchAclResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FetchAclResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
FetchAclResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchAclResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FetchAclResponse.Builder
Overrides

clearPolicy()

public FetchAclResponse.Builder clearPolicy()

The IAM policy.

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

Returns
TypeDescription
FetchAclResponse.Builder

clone()

public FetchAclResponse.Builder clone()
Returns
TypeDescription
FetchAclResponse.Builder
Overrides

getDefaultInstanceForType()

public FetchAclResponse getDefaultInstanceForType()
Returns
TypeDescription
FetchAclResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ResponseMetadataOrBuilder

getPolicy()

public Policy getPolicy()

The IAM policy.

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

Returns
TypeDescription
com.google.iam.v1.Policy

The policy.

getPolicyBuilder()

public Policy.Builder getPolicyBuilder()

The IAM policy.

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

Returns
TypeDescription
com.google.iam.v1.Policy.Builder

getPolicyOrBuilder()

public PolicyOrBuilder getPolicyOrBuilder()

The IAM policy.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the metadata field is set.

hasPolicy()

public boolean hasPolicy()

The IAM policy.

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

Returns
TypeDescription
boolean

Whether the policy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FetchAclResponse other)

public FetchAclResponse.Builder mergeFrom(FetchAclResponse other)
Parameter
NameDescription
otherFetchAclResponse
Returns
TypeDescription
FetchAclResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchAclResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchAclResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FetchAclResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueResponseMetadata
Returns
TypeDescription
FetchAclResponse.Builder

mergePolicy(Policy value)

public FetchAclResponse.Builder mergePolicy(Policy value)

The IAM policy.

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

Parameter
NameDescription
valuecom.google.iam.v1.Policy
Returns
TypeDescription
FetchAclResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchAclResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FetchAclResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FetchAclResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueResponseMetadata
Returns
TypeDescription
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
NameDescription
builderForValueResponseMetadata.Builder
Returns
TypeDescription
FetchAclResponse.Builder

setPolicy(Policy value)

public FetchAclResponse.Builder setPolicy(Policy value)

The IAM policy.

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

Parameter
NameDescription
valuecom.google.iam.v1.Policy
Returns
TypeDescription
FetchAclResponse.Builder

setPolicy(Policy.Builder builderForValue)

public FetchAclResponse.Builder setPolicy(Policy.Builder builderForValue)

The IAM policy.

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

Parameter
NameDescription
builderForValuecom.google.iam.v1.Policy.Builder
Returns
TypeDescription
FetchAclResponse.Builder

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

public FetchAclResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FetchAclResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchAclResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FetchAclResponse.Builder
Overrides