public final class ListDocumentsResponse extends GeneratedMessageV3 implements ListDocumentsResponseOrBuilder
Response message for DocumentService.ListDocuments method.
Protobuf type google.cloud.discoveryengine.v1beta.ListDocumentsResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListDocumentsResponseImplements
ListDocumentsResponseOrBuilderStatic Fields
DOCUMENTS_FIELD_NUMBER
public static final int DOCUMENTS_FIELD_NUMBER
Type | Description |
int |
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ListDocumentsResponse getDefaultInstance()
Type | Description |
ListDocumentsResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ListDocumentsResponse.Builder newBuilder()
Type | Description |
ListDocumentsResponse.Builder |
newBuilder(ListDocumentsResponse prototype)
public static ListDocumentsResponse.Builder newBuilder(ListDocumentsResponse prototype)
Name | Description |
prototype | ListDocumentsResponse |
Type | Description |
ListDocumentsResponse.Builder |
parseDelimitedFrom(InputStream input)
public static ListDocumentsResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListDocumentsResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListDocumentsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListDocumentsResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ListDocumentsResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ListDocumentsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListDocumentsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListDocumentsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ListDocumentsResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ListDocumentsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListDocumentsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListDocumentsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ListDocumentsResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ListDocumentsResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListDocumentsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListDocumentsResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ListDocumentsResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListDocumentsResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListDocumentsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListDocumentsResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ListDocumentsResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ListDocumentsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListDocumentsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListDocumentsResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ListDocumentsResponse> parser()
Type | Description |
Parser<ListDocumentsResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ListDocumentsResponse getDefaultInstanceForType()
Type | Description |
ListDocumentsResponse |
getDocuments(int index)
public Document getDocuments(int index)
The Documents.
repeated .google.cloud.discoveryengine.v1beta.Document documents = 1;
Name | Description |
index | int |
Type | Description |
Document |
getDocumentsCount()
public int getDocumentsCount()
The Documents.
repeated .google.cloud.discoveryengine.v1beta.Document documents = 1;
Type | Description |
int |
getDocumentsList()
public List<Document> getDocumentsList()
The Documents.
repeated .google.cloud.discoveryengine.v1beta.Document documents = 1;
Type | Description |
List<Document> |
getDocumentsOrBuilder(int index)
public DocumentOrBuilder getDocumentsOrBuilder(int index)
The Documents.
repeated .google.cloud.discoveryengine.v1beta.Document documents = 1;
Name | Description |
index | int |
Type | Description |
DocumentOrBuilder |
getDocumentsOrBuilderList()
public List<? extends DocumentOrBuilder> getDocumentsOrBuilderList()
The Documents.
repeated .google.cloud.discoveryengine.v1beta.Document documents = 1;
Type | Description |
List<? extends com.google.cloud.discoveryengine.v1beta.DocumentOrBuilder> |
getNextPageToken()
public String getNextPageToken()
A token that can be sent as ListDocumentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token that can be sent as ListDocumentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Type | Description |
ByteString | The bytes for nextPageToken. |
getParserForType()
public Parser<ListDocumentsResponse> getParserForType()
Type | Description |
Parser<ListDocumentsResponse> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ListDocumentsResponse.Builder newBuilderForType()
Type | Description |
ListDocumentsResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListDocumentsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ListDocumentsResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ListDocumentsResponse.Builder toBuilder()
Type | Description |
ListDocumentsResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |