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
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 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
addDocumentLinks(DocumentLink value)
public ListLinkedTargetsResponse.Builder addDocumentLinks(DocumentLink value)
Target document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameter
Returns
addDocumentLinks(DocumentLink.Builder builderForValue)
public ListLinkedTargetsResponse.Builder addDocumentLinks(DocumentLink.Builder builderForValue)
Target document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameter
Returns
addDocumentLinks(int index, DocumentLink value)
public ListLinkedTargetsResponse.Builder addDocumentLinks(int index, DocumentLink value)
Target document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameters
Returns
addDocumentLinks(int index, DocumentLink.Builder builderForValue)
public ListLinkedTargetsResponse.Builder addDocumentLinks(int index, DocumentLink.Builder builderForValue)
Target document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameters
Returns
addDocumentLinksBuilder()
public DocumentLink.Builder addDocumentLinksBuilder()
Target document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Returns
addDocumentLinksBuilder(int index)
public DocumentLink.Builder addDocumentLinksBuilder(int index)
Target document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListLinkedTargetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListLinkedTargetsResponse build()
Returns
buildPartial()
public ListLinkedTargetsResponse buildPartial()
Returns
clear()
public ListLinkedTargetsResponse.Builder clear()
Returns
Overrides
clearDocumentLinks()
public ListLinkedTargetsResponse.Builder clearDocumentLinks()
Target document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListLinkedTargetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListLinkedTargetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListLinkedTargetsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListLinkedTargetsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDocumentLinks(int index)
public DocumentLink getDocumentLinks(int index)
Target document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameter
Returns
getDocumentLinksBuilder(int index)
public DocumentLink.Builder getDocumentLinksBuilder(int index)
Target document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameter
Returns
getDocumentLinksBuilderList()
public List<DocumentLink.Builder> getDocumentLinksBuilderList()
Target document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Returns
getDocumentLinksCount()
public int getDocumentLinksCount()
Target document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Returns
getDocumentLinksList()
public List<DocumentLink> getDocumentLinksList()
Target document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Returns
getDocumentLinksOrBuilder(int index)
public DocumentLinkOrBuilder getDocumentLinksOrBuilder(int index)
Target document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListLinkedTargetsResponse other)
public ListLinkedTargetsResponse.Builder mergeFrom(ListLinkedTargetsResponse other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListLinkedTargetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListLinkedTargetsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListLinkedTargetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeDocumentLinks(int index)
public ListLinkedTargetsResponse.Builder removeDocumentLinks(int index)
Target document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameter
Returns
setDocumentLinks(int index, DocumentLink value)
public ListLinkedTargetsResponse.Builder setDocumentLinks(int index, DocumentLink value)
Target document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameters
Returns
setDocumentLinks(int index, DocumentLink.Builder builderForValue)
public ListLinkedTargetsResponse.Builder setDocumentLinks(int index, DocumentLink.Builder builderForValue)
Target document-links.
repeated .google.cloud.contentwarehouse.v1.DocumentLink document_links = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListLinkedTargetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListLinkedTargetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListLinkedTargetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides