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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SetAclResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SetAclResponse build()
Returns
buildPartial()
public SetAclResponse buildPartial()
Returns
clear()
public SetAclResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SetAclResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public SetAclResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public SetAclResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SetAclResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
getMetadataOrBuilder()
public ResponseMetadataOrBuilder getMetadataOrBuilder()
Additional information for the API invocation, such as the request tracking
id.
.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 2;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SetAclResponse other)
public SetAclResponse.Builder mergeFrom(SetAclResponse other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SetAclResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SetAclResponse.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SetAclResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SetAclResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SetAclResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SetAclResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides