Interface FetchModelsResponseOrBuilder (0.1.0)

public interface FetchModelsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getModels(int index)

public abstract String getModels(int index)

Output only. List of available models. Open-source models follow the Huggingface Hub owner/model_name format.

repeated string models = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The models at the given index.

getModelsBytes(int index)

public abstract ByteString getModelsBytes(int index)

Output only. List of available models. Open-source models follow the Huggingface Hub owner/model_name format.

repeated string models = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the models at the given index.

getModelsCount()

public abstract int getModelsCount()

Output only. List of available models. Open-source models follow the Huggingface Hub owner/model_name format.

repeated string models = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of models.

getModelsList()

public abstract List<String> getModelsList()

Output only. List of available models. Open-source models follow the Huggingface Hub owner/model_name format.

repeated string models = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<String>

A list containing the models.

getNextPageToken()

public abstract String getNextPageToken()

Output only. A token which may be sent as page_token in a subsequent FetchModelsResponse call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

Output only. A token which may be sent as page_token in a subsequent FetchModelsResponse call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for nextPageToken.