Class ListLinkedSourcesResponse (0.15.0)

public final class ListLinkedSourcesResponse extends GeneratedMessageV3 implements ListLinkedSourcesResponseOrBuilder

Response message for DocumentLinkService.ListLinkedSources.

Protobuf type google.cloud.contentwarehouse.v1.ListLinkedSourcesResponse

Static Fields

public static final int DOCUMENT_LINKS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListLinkedSourcesResponse getDefaultInstance()
Returns
TypeDescription
ListLinkedSourcesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListLinkedSourcesResponse.Builder newBuilder()
Returns
TypeDescription
ListLinkedSourcesResponse.Builder

newBuilder(ListLinkedSourcesResponse prototype)

public static ListLinkedSourcesResponse.Builder newBuilder(ListLinkedSourcesResponse prototype)
Parameter
NameDescription
prototypeListLinkedSourcesResponse
Returns
TypeDescription
ListLinkedSourcesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListLinkedSourcesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListLinkedSourcesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListLinkedSourcesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListLinkedSourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListLinkedSourcesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListLinkedSourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListLinkedSourcesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListLinkedSourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListLinkedSourcesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListLinkedSourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListLinkedSourcesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListLinkedSourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListLinkedSourcesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListLinkedSourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListLinkedSourcesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListLinkedSourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListLinkedSourcesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListLinkedSourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListLinkedSourcesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListLinkedSourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListLinkedSourcesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListLinkedSourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListLinkedSourcesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListLinkedSourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListLinkedSourcesResponse> parser()
Returns
TypeDescription
Parser<ListLinkedSourcesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListLinkedSourcesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListLinkedSourcesResponse
public DocumentLink getDocumentLinks(int index)

Source document-links.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DocumentLink

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.

getParserForType()

public Parser<ListLinkedSourcesResponse> getParserForType()
Returns
TypeDescription
Parser<ListLinkedSourcesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListLinkedSourcesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListLinkedSourcesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListLinkedSourcesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListLinkedSourcesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListLinkedSourcesResponse.Builder toBuilder()
Returns
TypeDescription
ListLinkedSourcesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException