public final class FetchAclRequest extends GeneratedMessageV3 implements FetchAclRequestOrBuilder
Request message for DocumentService.FetchAcl
Protobuf type google.cloud.contentwarehouse.v1.FetchAclRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > FetchAclRequestImplements
FetchAclRequestOrBuilderStatic Fields
PROJECT_OWNER_FIELD_NUMBER
public static final int PROJECT_OWNER_FIELD_NUMBER
Type | Description |
int |
REQUEST_METADATA_FIELD_NUMBER
public static final int REQUEST_METADATA_FIELD_NUMBER
Type | Description |
int |
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static FetchAclRequest getDefaultInstance()
Type | Description |
FetchAclRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static FetchAclRequest.Builder newBuilder()
Type | Description |
FetchAclRequest.Builder |
newBuilder(FetchAclRequest prototype)
public static FetchAclRequest.Builder newBuilder(FetchAclRequest prototype)
Name | Description |
prototype | FetchAclRequest |
Type | Description |
FetchAclRequest.Builder |
parseDelimitedFrom(InputStream input)
public static FetchAclRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
FetchAclRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FetchAclRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
FetchAclRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static FetchAclRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
FetchAclRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FetchAclRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
FetchAclRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static FetchAclRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
FetchAclRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FetchAclRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
FetchAclRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static FetchAclRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
FetchAclRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FetchAclRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
FetchAclRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static FetchAclRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
FetchAclRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FetchAclRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
FetchAclRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static FetchAclRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
FetchAclRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FetchAclRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
FetchAclRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<FetchAclRequest> parser()
Type | Description |
Parser<FetchAclRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public FetchAclRequest getDefaultInstanceForType()
Type | Description |
FetchAclRequest |
getParserForType()
public Parser<FetchAclRequest> getParserForType()
Type | Description |
Parser<FetchAclRequest> |
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;
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;
Type | Description |
RequestMetadata | The requestMetadata. |
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;
Type | Description |
RequestMetadataOrBuilder |
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];
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];
Type | Description |
ByteString | The bytes for resource. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
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;
Type | Description |
boolean | Whether the requestMetadata field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public FetchAclRequest.Builder newBuilderForType()
Type | Description |
FetchAclRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FetchAclRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
FetchAclRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public FetchAclRequest.Builder toBuilder()
Type | Description |
FetchAclRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |