Class SetAclResponse.Builder (0.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SetAclResponse build()
Returns
TypeDescription
SetAclResponse

buildPartial()

public SetAclResponse buildPartial()
Returns
TypeDescription
SetAclResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SetAclResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SetAclResponse.Builder

clone()

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

getDefaultInstanceForType()

public SetAclResponse getDefaultInstanceForType()
Returns
TypeDescription
SetAclResponse

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 policy will be attached to a resource (e.g. projecct, document).

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

Returns
TypeDescription
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
TypeDescription
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
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 policy will be attached to a resource (e.g. projecct, document).

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

public SetAclResponse.Builder mergeFrom(SetAclResponse other)
Parameter
NameDescription
otherSetAclResponse
Returns
TypeDescription
SetAclResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SetAclResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueResponseMetadata
Returns
TypeDescription
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
NameDescription
valuecom.google.iam.v1.Policy
Returns
TypeDescription
SetAclResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public SetAclResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueResponseMetadata
Returns
TypeDescription
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
NameDescription
builderForValueResponseMetadata.Builder
Returns
TypeDescription
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
NameDescription
valuecom.google.iam.v1.Policy
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.iam.v1.Policy.Builder
Returns
TypeDescription
SetAclResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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