Interface LookupRequestOrBuilder (0.12.0)

public interface LookupRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIds(int index)

public abstract String getIds(int index)

Required. The list of entity ids to be used for lookup.

repeated string ids = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The ids at the given index.

getIdsBytes(int index)

public abstract ByteString getIdsBytes(int index)

Required. The list of entity ids to be used for lookup.

repeated string ids = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the ids at the given index.

getIdsCount()

public abstract int getIdsCount()

Required. The list of entity ids to be used for lookup.

repeated string ids = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of ids.

getIdsList()

public abstract List<String> getIdsList()

Required. The list of entity ids to be used for lookup.

repeated string ids = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<String>

A list containing the ids.

getLanguages(int index)

public abstract String getLanguages(int index)

The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.

repeated string languages = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The languages at the given index.

getLanguagesBytes(int index)

public abstract ByteString getLanguagesBytes(int index)

The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.

repeated string languages = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the languages at the given index.

getLanguagesCount()

public abstract int getLanguagesCount()

The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.

repeated string languages = 3;

Returns
TypeDescription
int

The count of languages.

getLanguagesList()

public abstract List<String> getLanguagesList()

The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.

repeated string languages = 3;

Returns
TypeDescription
List<String>

A list containing the languages.

getParent()

public abstract String getParent()

Required. The name of the Entity's parent resource. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the Entity's parent resource. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.