Class ListLinkedTargetsResponse.Builder (0.45.0)

public static final class ListLinkedTargetsResponse.Builder extends GeneratedMessageV3.Builder<ListLinkedTargetsResponse.Builder> implements ListLinkedTargetsResponseOrBuilder

Response message for DocumentLinkService.ListLinkedTargets.

Protobuf type google.cloud.contentwarehouse.v1.ListLinkedTargetsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

public ListLinkedTargetsResponse.Builder addAllDocumentLinks(Iterable<? extends DocumentLink> values)

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.contentwarehouse.v1.DocumentLink>
Returns
Type Description
ListLinkedTargetsResponse.Builder
public ListLinkedTargetsResponse.Builder addDocumentLinks(DocumentLink value)

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Parameter
Name Description
value DocumentLink
Returns
Type Description
ListLinkedTargetsResponse.Builder
public ListLinkedTargetsResponse.Builder addDocumentLinks(DocumentLink.Builder builderForValue)

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Parameter
Name Description
builderForValue DocumentLink.Builder
Returns
Type Description
ListLinkedTargetsResponse.Builder
public ListLinkedTargetsResponse.Builder addDocumentLinks(int index, DocumentLink value)

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Parameters
Name Description
index int
value DocumentLink
Returns
Type Description
ListLinkedTargetsResponse.Builder
public ListLinkedTargetsResponse.Builder addDocumentLinks(int index, DocumentLink.Builder builderForValue)

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Parameters
Name Description
index int
builderForValue DocumentLink.Builder
Returns
Type Description
ListLinkedTargetsResponse.Builder

addDocumentLinksBuilder()

public DocumentLink.Builder addDocumentLinksBuilder()

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Returns
Type Description
DocumentLink.Builder

addDocumentLinksBuilder(int index)

public DocumentLink.Builder addDocumentLinksBuilder(int index)

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Parameter
Name Description
index int
Returns
Type Description
DocumentLink.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListLinkedTargetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListLinkedTargetsResponse.Builder
Overrides

build()

public ListLinkedTargetsResponse build()
Returns
Type Description
ListLinkedTargetsResponse

buildPartial()

public ListLinkedTargetsResponse buildPartial()
Returns
Type Description
ListLinkedTargetsResponse

clear()

public ListLinkedTargetsResponse.Builder clear()
Returns
Type Description
ListLinkedTargetsResponse.Builder
Overrides
public ListLinkedTargetsResponse.Builder clearDocumentLinks()

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Returns
Type Description
ListLinkedTargetsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListLinkedTargetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListLinkedTargetsResponse.Builder
Overrides

clearNextPageToken()

public ListLinkedTargetsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListLinkedTargetsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListLinkedTargetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListLinkedTargetsResponse.Builder
Overrides

clone()

public ListLinkedTargetsResponse.Builder clone()
Returns
Type Description
ListLinkedTargetsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListLinkedTargetsResponse getDefaultInstanceForType()
Returns
Type Description
ListLinkedTargetsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public DocumentLink getDocumentLinks(int index)

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Parameter
Name Description
index int
Returns
Type Description
DocumentLink

getDocumentLinksBuilder(int index)

public DocumentLink.Builder getDocumentLinksBuilder(int index)

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Parameter
Name Description
index int
Returns
Type Description
DocumentLink.Builder

getDocumentLinksBuilderList()

public List<DocumentLink.Builder> getDocumentLinksBuilderList()

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Returns
Type Description
List<Builder>

getDocumentLinksCount()

public int getDocumentLinksCount()

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Returns
Type Description
int
public List<DocumentLink> getDocumentLinksList()

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Returns
Type Description
List<DocumentLink>

getDocumentLinksOrBuilder(int index)

public DocumentLinkOrBuilder getDocumentLinksOrBuilder(int index)

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Parameter
Name Description
index int
Returns
Type Description
DocumentLinkOrBuilder

getDocumentLinksOrBuilderList()

public List<? extends DocumentLinkOrBuilder> getDocumentLinksOrBuilderList()

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Returns
Type Description
List<? extends com.google.cloud.contentwarehouse.v1.DocumentLinkOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListLinkedTargetsResponse other)

public ListLinkedTargetsResponse.Builder mergeFrom(ListLinkedTargetsResponse other)
Parameter
Name Description
other ListLinkedTargetsResponse
Returns
Type Description
ListLinkedTargetsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListLinkedTargetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListLinkedTargetsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListLinkedTargetsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListLinkedTargetsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListLinkedTargetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListLinkedTargetsResponse.Builder
Overrides
public ListLinkedTargetsResponse.Builder removeDocumentLinks(int index)

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Parameter
Name Description
index int
Returns
Type Description
ListLinkedTargetsResponse.Builder
public ListLinkedTargetsResponse.Builder setDocumentLinks(int index, DocumentLink value)

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Parameters
Name Description
index int
value DocumentLink
Returns
Type Description
ListLinkedTargetsResponse.Builder
public ListLinkedTargetsResponse.Builder setDocumentLinks(int index, DocumentLink.Builder builderForValue)

Target document-links.

repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;

Parameters
Name Description
index int
builderForValue DocumentLink.Builder
Returns
Type Description
ListLinkedTargetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListLinkedTargetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListLinkedTargetsResponse.Builder
Overrides

setNextPageToken(String value)

public ListLinkedTargetsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListLinkedTargetsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListLinkedTargetsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListLinkedTargetsResponse.Builder

This builder for chaining.

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

public ListLinkedTargetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListLinkedTargetsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListLinkedTargetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListLinkedTargetsResponse.Builder
Overrides