Class ListLinkedSourcesResponse.Builder (0.39.0)

public static final class ListLinkedSourcesResponse.Builder extends GeneratedMessageV3.Builder<ListLinkedSourcesResponse.Builder> implements ListLinkedSourcesResponseOrBuilder

Response message for DocumentLinkService.ListLinkedSources.

Protobuf type google.cloud.contentwarehouse.v1.ListLinkedSourcesResponse

Static Methods

getDescriptor()

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

Methods

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

Source 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
ListLinkedSourcesResponse.Builder
public ListLinkedSourcesResponse.Builder addDocumentLinks(DocumentLink value)

Source document-links.

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

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

Source document-links.

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

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

Source document-links.

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

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

Source document-links.

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

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

addDocumentLinksBuilder()

public DocumentLink.Builder addDocumentLinksBuilder()

Source 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)

Source 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 ListLinkedSourcesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListLinkedSourcesResponse.Builder
Overrides

build()

public ListLinkedSourcesResponse build()
Returns
Type Description
ListLinkedSourcesResponse

buildPartial()

public ListLinkedSourcesResponse buildPartial()
Returns
Type Description
ListLinkedSourcesResponse

clear()

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

Source document-links.

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

Returns
Type Description
ListLinkedSourcesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListLinkedSourcesResponse.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
ListLinkedSourcesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListLinkedSourcesResponse getDefaultInstanceForType()
Returns
Type Description
ListLinkedSourcesResponse

getDescriptorForType()

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

Source 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)

Source 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()

Source document-links.

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

Returns
Type Description
List<Builder>

getDocumentLinksCount()

public int getDocumentLinksCount()

Source document-links.

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

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

Source document-links.

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

Returns
Type Description
List<DocumentLink>

getDocumentLinksOrBuilder(int index)

public DocumentLinkOrBuilder getDocumentLinksOrBuilder(int index)

Source 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()

Source 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(ListLinkedSourcesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

Source document-links.

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

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

Source document-links.

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

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

Source document-links.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListLinkedSourcesResponse.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
ListLinkedSourcesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListLinkedSourcesResponse.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
ListLinkedSourcesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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