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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FetchAclRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FetchAclRequest build()
buildPartial()
public FetchAclRequest buildPartial()
clear()
public FetchAclRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FetchAclRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchAclRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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;
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];
clone()
public FetchAclRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public FetchAclRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
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 |
---|
Type | Description |
ByteString | The bytes for resource.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FetchAclRequest other)
public FetchAclRequest.Builder mergeFrom(FetchAclRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchAclRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FetchAclRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchAclRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FetchAclRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchAclRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchAclRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides