Class ListDataStoresResponse (0.32.0)

public final class ListDataStoresResponse extends GeneratedMessageV3 implements ListDataStoresResponseOrBuilder

Response message for DataStoreService.ListDataStores method.

Protobuf type google.cloud.discoveryengine.v1alpha.ListDataStoresResponse

Static Fields

DATA_STORES_FIELD_NUMBER

public static final int DATA_STORES_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 ListDataStoresResponse getDefaultInstance()
Returns
TypeDescription
ListDataStoresResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListDataStoresResponse prototype)

public static ListDataStoresResponse.Builder newBuilder(ListDataStoresResponse prototype)
Parameter
NameDescription
prototypeListDataStoresResponse
Returns
TypeDescription
ListDataStoresResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDataStores(int index)

public DataStore getDataStores(int index)

All the customer's DataStores.

repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataStore

getDataStoresCount()

public int getDataStoresCount()

All the customer's DataStores.

repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;

Returns
TypeDescription
int

getDataStoresList()

public List<DataStore> getDataStoresList()

All the customer's DataStores.

repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;

Returns
TypeDescription
List<DataStore>

getDataStoresOrBuilder(int index)

public DataStoreOrBuilder getDataStoresOrBuilder(int index)

All the customer's DataStores.

repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataStoreOrBuilder

getDataStoresOrBuilderList()

public List<? extends DataStoreOrBuilder> getDataStoresOrBuilderList()

All the customer's DataStores.

repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;

Returns
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1alpha.DataStoreOrBuilder>

getDefaultInstanceForType()

public ListDataStoresResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDataStoresResponse

getNextPageToken()

public String getNextPageToken()

A token that can be sent as ListDataStoresRequest.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 that can be sent as ListDataStoresRequest.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<ListDataStoresResponse> getParserForType()
Returns
TypeDescription
Parser<ListDataStoresResponse>
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 ListDataStoresResponse.Builder newBuilderForType()
Returns
TypeDescription
ListDataStoresResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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