Class ListLinkedTargetsRequest.Builder (0.37.0)

public static final class ListLinkedTargetsRequest.Builder extends GeneratedMessageV3.Builder<ListLinkedTargetsRequest.Builder> implements ListLinkedTargetsRequestOrBuilder

Request message for DocumentLinkService.ListLinkedTargets.

Protobuf type google.cloud.contentwarehouse.v1.ListLinkedTargetsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListLinkedTargetsRequest build()
Returns
TypeDescription
ListLinkedTargetsRequest

buildPartial()

public ListLinkedTargetsRequest buildPartial()
Returns
TypeDescription
ListLinkedTargetsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListLinkedTargetsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListLinkedTargetsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListLinkedTargetsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListLinkedTargetsRequest.Builder
Overrides

clearParent()

public ListLinkedTargetsRequest.Builder clearParent()

Required. The name of the document, for which all target links are returned. Format: projects/{project_number}/locations/{location}/documents/{target_document_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListLinkedTargetsRequest.Builder

This builder for chaining.

clearRequestMetadata()

public ListLinkedTargetsRequest.Builder clearRequestMetadata()

The meta information collected about the document creator, used to enforce access control for the service.

.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;

Returns
TypeDescription
ListLinkedTargetsRequest.Builder

clone()

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

getDefaultInstanceForType()

public ListLinkedTargetsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListLinkedTargetsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The name of the document, for which all target links are returned. Format: projects/{project_number}/locations/{location}/documents/{target_document_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the document, for which all target links are returned. Format: projects/{project_number}/locations/{location}/documents/{target_document_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getRequestMetadata()

public RequestMetadata getRequestMetadata()

The meta information collected about the document creator, used to enforce access control for the service.

.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;

Returns
TypeDescription
RequestMetadata

The requestMetadata.

getRequestMetadataBuilder()

public RequestMetadata.Builder getRequestMetadataBuilder()

The meta information collected about the document creator, used to enforce access control for the service.

.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;

Returns
TypeDescription
RequestMetadata.Builder

getRequestMetadataOrBuilder()

public RequestMetadataOrBuilder getRequestMetadataOrBuilder()

The meta information collected about the document creator, used to enforce access control for the service.

.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;

Returns
TypeDescription
RequestMetadataOrBuilder

hasRequestMetadata()

public boolean hasRequestMetadata()

The meta information collected about the document creator, used to enforce access control for the service.

.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;

Returns
TypeDescription
boolean

Whether the requestMetadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListLinkedTargetsRequest other)

public ListLinkedTargetsRequest.Builder mergeFrom(ListLinkedTargetsRequest other)
Parameter
NameDescription
otherListLinkedTargetsRequest
Returns
TypeDescription
ListLinkedTargetsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ListLinkedTargetsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListLinkedTargetsRequest.Builder
Overrides

mergeRequestMetadata(RequestMetadata value)

public ListLinkedTargetsRequest.Builder mergeRequestMetadata(RequestMetadata value)

The meta information collected about the document creator, used to enforce access control for the service.

.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;

Parameter
NameDescription
valueRequestMetadata
Returns
TypeDescription
ListLinkedTargetsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public ListLinkedTargetsRequest.Builder setParent(String value)

Required. The name of the document, for which all target links are returned. Format: projects/{project_number}/locations/{location}/documents/{target_document_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListLinkedTargetsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListLinkedTargetsRequest.Builder setParentBytes(ByteString value)

Required. The name of the document, for which all target links are returned. Format: projects/{project_number}/locations/{location}/documents/{target_document_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListLinkedTargetsRequest.Builder

This builder for chaining.

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

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

setRequestMetadata(RequestMetadata value)

public ListLinkedTargetsRequest.Builder setRequestMetadata(RequestMetadata value)

The meta information collected about the document creator, used to enforce access control for the service.

.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;

Parameter
NameDescription
valueRequestMetadata
Returns
TypeDescription
ListLinkedTargetsRequest.Builder

setRequestMetadata(RequestMetadata.Builder builderForValue)

public ListLinkedTargetsRequest.Builder setRequestMetadata(RequestMetadata.Builder builderForValue)

The meta information collected about the document creator, used to enforce access control for the service.

.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;

Parameter
NameDescription
builderForValueRequestMetadata.Builder
Returns
TypeDescription
ListLinkedTargetsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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