Interface FetchModelsResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FetchModelsResponse,FetchModelsResponse.Builder
@Generated
public interface FetchModelsResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetModels(int index) Output only.com.google.protobuf.ByteStringgetModelsBytes(int index) Output only.intOutput only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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:
- A list containing the models.
-
getModelsCount
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:
- The count of models.
-
getModels
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];- Parameters:
index- The index of the element to return.- Returns:
- The models at the given index.
-
getModelsBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the models at the given index.
-
getNextPageToken
String getNextPageToken()Output only. A token which may be sent as [page_token][FetchModelsResponse.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:
- The nextPageToken.
-
getNextPageTokenBytes
com.google.protobuf.ByteString getNextPageTokenBytes()Output only. A token which may be sent as [page_token][FetchModelsResponse.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:
- The bytes for nextPageToken.
-