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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllDocumentLinks(Iterable<? extends DocumentLink> values)
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
addDocumentLinks(DocumentLink value)
public ListLinkedSourcesResponse.Builder addDocumentLinks(DocumentLink value)
Source document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameter
Returns
addDocumentLinks(DocumentLink.Builder builderForValue)
public ListLinkedSourcesResponse.Builder addDocumentLinks(DocumentLink.Builder builderForValue)
Source document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameter
Returns
addDocumentLinks(int index, DocumentLink value)
public ListLinkedSourcesResponse.Builder addDocumentLinks(int index, DocumentLink value)
Source document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameters
Returns
addDocumentLinks(int index, DocumentLink.Builder builderForValue)
public ListLinkedSourcesResponse.Builder addDocumentLinks(int index, DocumentLink.Builder builderForValue)
Source document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameters
Returns
addDocumentLinksBuilder()
public DocumentLink.Builder addDocumentLinksBuilder()
Source document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Returns
addDocumentLinksBuilder(int index)
public DocumentLink.Builder addDocumentLinksBuilder(int index)
Source document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListLinkedSourcesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListLinkedSourcesResponse build()
Returns
buildPartial()
public ListLinkedSourcesResponse buildPartial()
Returns
clear()
public ListLinkedSourcesResponse.Builder clear()
Returns
Overrides
clearDocumentLinks()
public ListLinkedSourcesResponse.Builder clearDocumentLinks()
Source document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListLinkedSourcesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListLinkedSourcesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListLinkedSourcesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListLinkedSourcesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDocumentLinks(int index)
public DocumentLink getDocumentLinks(int index)
Source document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameter
Returns
getDocumentLinksBuilder(int index)
public DocumentLink.Builder getDocumentLinksBuilder(int index)
Source document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameter
Returns
getDocumentLinksBuilderList()
public List<DocumentLink.Builder> getDocumentLinksBuilderList()
Source document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Returns
getDocumentLinksCount()
public int getDocumentLinksCount()
Source document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Returns
getDocumentLinksList()
public List<DocumentLink> getDocumentLinksList()
Source document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Returns
getDocumentLinksOrBuilder(int index)
public DocumentLinkOrBuilder getDocumentLinksOrBuilder(int index)
Source document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListLinkedSourcesResponse other)
public ListLinkedSourcesResponse.Builder mergeFrom(ListLinkedSourcesResponse other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListLinkedSourcesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListLinkedSourcesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListLinkedSourcesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeDocumentLinks(int index)
public ListLinkedSourcesResponse.Builder removeDocumentLinks(int index)
Source document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameter
Returns
setDocumentLinks(int index, DocumentLink value)
public ListLinkedSourcesResponse.Builder setDocumentLinks(int index, DocumentLink value)
Source document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameters
Returns
setDocumentLinks(int index, DocumentLink.Builder builderForValue)
public ListLinkedSourcesResponse.Builder setDocumentLinks(int index, DocumentLink.Builder builderForValue)
Source document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListLinkedSourcesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListLinkedSourcesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListLinkedSourcesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides