public static final class FetchAclRequest.Builder extends GeneratedMessageV3.Builder<FetchAclRequest.Builder> implements FetchAclRequestOrBuilder
Request message for DocumentService.FetchAcl
Protobuf type google.cloud.contentwarehouse.v1.FetchAclRequest
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 FetchAclRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public FetchAclRequest build()
Returns
buildPartial()
public FetchAclRequest buildPartial()
Returns
clear()
public FetchAclRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public FetchAclRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchAclRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProjectOwner()
public FetchAclRequest.Builder clearProjectOwner()
For Get Project ACL only. Authorization check for end user will be ignored
when project_owner=true.
bool project_owner = 3;
Returns
clearRequestMetadata()
public FetchAclRequest.Builder clearRequestMetadata()
The meta information collected about the end user, used to enforce access
control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
Returns
clearResource()
public FetchAclRequest.Builder clearResource()
Required. REQUIRED: The resource for which the policy is being requested.
Format for document:
projects/{project_number}/locations/{location}/documents/{document_id}.
Format for project: projects/{project_number}.
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public FetchAclRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public FetchAclRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getProjectOwner()
public boolean getProjectOwner()
For Get Project ACL only. Authorization check for end user will be ignored
when project_owner=true.
bool project_owner = 3;
Returns
Type | Description |
boolean | The projectOwner.
|
getRequestMetadata()
public RequestMetadata getRequestMetadata()
The meta information collected about the end user, used to enforce access
control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
Returns
getRequestMetadataBuilder()
public RequestMetadata.Builder getRequestMetadataBuilder()
The meta information collected about the end user, used to enforce access
control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
Returns
getRequestMetadataOrBuilder()
public RequestMetadataOrBuilder getRequestMetadataOrBuilder()
The meta information collected about the end user, used to enforce access
control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
Returns
getResource()
public String getResource()
Required. REQUIRED: The resource for which the policy is being requested.
Format for document:
projects/{project_number}/locations/{location}/documents/{document_id}.
Format for project: projects/{project_number}.
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The resource.
|
getResourceBytes()
public ByteString getResourceBytes()
Required. REQUIRED: The resource for which the policy is being requested.
Format for document:
projects/{project_number}/locations/{location}/documents/{document_id}.
Format for project: projects/{project_number}.
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
hasRequestMetadata()
public boolean hasRequestMetadata()
The meta information collected about the end user, used to enforce access
control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
Returns
Type | Description |
boolean | Whether the requestMetadata field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(FetchAclRequest other)
public FetchAclRequest.Builder mergeFrom(FetchAclRequest other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchAclRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public FetchAclRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeRequestMetadata(RequestMetadata value)
public FetchAclRequest.Builder mergeRequestMetadata(RequestMetadata value)
The meta information collected about the end user, used to enforce access
control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchAclRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FetchAclRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setProjectOwner(boolean value)
public FetchAclRequest.Builder setProjectOwner(boolean value)
For Get Project ACL only. Authorization check for end user will be ignored
when project_owner=true.
bool project_owner = 3;
Parameter
Name | Description |
value | boolean
The projectOwner to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchAclRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setRequestMetadata(RequestMetadata value)
public FetchAclRequest.Builder setRequestMetadata(RequestMetadata value)
The meta information collected about the end user, used to enforce access
control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
Parameter
Returns
setRequestMetadata(RequestMetadata.Builder builderForValue)
public FetchAclRequest.Builder setRequestMetadata(RequestMetadata.Builder builderForValue)
The meta information collected about the end user, used to enforce access
control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
Parameter
Returns
setResource(String value)
public FetchAclRequest.Builder setResource(String value)
Required. REQUIRED: The resource for which the policy is being requested.
Format for document:
projects/{project_number}/locations/{location}/documents/{document_id}.
Format for project: projects/{project_number}.
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The resource to set.
|
Returns
setResourceBytes(ByteString value)
public FetchAclRequest.Builder setResourceBytes(ByteString value)
Required. REQUIRED: The resource for which the policy is being requested.
Format for document:
projects/{project_number}/locations/{location}/documents/{document_id}.
Format for project: projects/{project_number}.
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for resource to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchAclRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides