Class ListLinkedSourcesResponse.Builder (0.7.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
TypeDescription
Descriptor

Methods

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

Source document-links.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.contentwarehouse.v1.DocumentLink>
Returns
TypeDescription
ListLinkedSourcesResponse.Builder
public ListLinkedSourcesResponse.Builder addDocumentLinks(DocumentLink value)

Source document-links.

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

Parameter
NameDescription
valueDocumentLink
Returns
TypeDescription
ListLinkedSourcesResponse.Builder
public ListLinkedSourcesResponse.Builder addDocumentLinks(DocumentLink.Builder builderForValue)

Source document-links.

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

Parameter
NameDescription
builderForValueDocumentLink.Builder
Returns
TypeDescription
ListLinkedSourcesResponse.Builder
public ListLinkedSourcesResponse.Builder addDocumentLinks(int index, DocumentLink value)

Source document-links.

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

Parameters
NameDescription
indexint
valueDocumentLink
Returns
TypeDescription
ListLinkedSourcesResponse.Builder
public ListLinkedSourcesResponse.Builder addDocumentLinks(int index, DocumentLink.Builder builderForValue)

Source document-links.

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

Parameters
NameDescription
indexint
builderForValueDocumentLink.Builder
Returns
TypeDescription
ListLinkedSourcesResponse.Builder

addDocumentLinksBuilder()

public DocumentLink.Builder addDocumentLinksBuilder()

Source document-links.

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

Returns
TypeDescription
DocumentLink.Builder

addDocumentLinksBuilder(int index)

public DocumentLink.Builder addDocumentLinksBuilder(int index)

Source document-links.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DocumentLink.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListLinkedSourcesResponse build()
Returns
TypeDescription
ListLinkedSourcesResponse

buildPartial()

public ListLinkedSourcesResponse buildPartial()
Returns
TypeDescription
ListLinkedSourcesResponse

clear()

public ListLinkedSourcesResponse.Builder clear()
Returns
TypeDescription
ListLinkedSourcesResponse.Builder
Overrides
public ListLinkedSourcesResponse.Builder clearDocumentLinks()

Source document-links.

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

Returns
TypeDescription
ListLinkedSourcesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListLinkedSourcesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListLinkedSourcesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListLinkedSourcesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListLinkedSourcesResponse

getDescriptorForType()

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

Source document-links.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DocumentLink

getDocumentLinksBuilder(int index)

public DocumentLink.Builder getDocumentLinksBuilder(int index)

Source document-links.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DocumentLink.Builder

getDocumentLinksBuilderList()

public List<DocumentLink.Builder> getDocumentLinksBuilderList()

Source document-links.

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

Returns
TypeDescription
List<Builder>

getDocumentLinksCount()

public int getDocumentLinksCount()

Source document-links.

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

Returns
TypeDescription
int
public List<DocumentLink> getDocumentLinksList()

Source document-links.

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

Returns
TypeDescription
List<DocumentLink>

getDocumentLinksOrBuilder(int index)

public DocumentLinkOrBuilder getDocumentLinksOrBuilder(int index)

Source document-links.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DocumentLinkOrBuilder

getDocumentLinksOrBuilderList()

public List<? extends DocumentLinkOrBuilder> getDocumentLinksOrBuilderList()

Source document-links.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListLinkedSourcesResponse other)

public ListLinkedSourcesResponse.Builder mergeFrom(ListLinkedSourcesResponse other)
Parameter
NameDescription
otherListLinkedSourcesResponse
Returns
TypeDescription
ListLinkedSourcesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListLinkedSourcesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListLinkedSourcesResponse.Builder
Overrides
public ListLinkedSourcesResponse.Builder removeDocumentLinks(int index)

Source document-links.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListLinkedSourcesResponse.Builder
public ListLinkedSourcesResponse.Builder setDocumentLinks(int index, DocumentLink value)

Source document-links.

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

Parameters
NameDescription
indexint
valueDocumentLink
Returns
TypeDescription
ListLinkedSourcesResponse.Builder
public ListLinkedSourcesResponse.Builder setDocumentLinks(int index, DocumentLink.Builder builderForValue)

Source document-links.

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

Parameters
NameDescription
indexint
builderForValueDocumentLink.Builder
Returns
TypeDescription
ListLinkedSourcesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListLinkedSourcesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListLinkedSourcesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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