public interface FetchModelServerVersionsRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getModel()
public abstract String getModel() Required. The model for which to list model server versions. Open-source
models follow the Huggingface Hub owner/model_name format. Use
GkeInferenceQuickstart.FetchModels
to find available models.
string model = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The model. |
getModelBytes()
public abstract ByteString getModelBytes() Required. The model for which to list model server versions. Open-source
models follow the Huggingface Hub owner/model_name format. Use
GkeInferenceQuickstart.FetchModels
to find available models.
string model = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for model. |
getModelServer()
public abstract String getModelServer() Required. The model server for which to list versions. Open-source model
servers use simplified, lowercase names (e.g., vllm). Use
GkeInferenceQuickstart.FetchModelServers
to find available model servers.
string model_server = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The modelServer. |
getModelServerBytes()
public abstract ByteString getModelServerBytes() Required. The model server for which to list versions. Open-source model
servers use simplified, lowercase names (e.g., vllm). Use
GkeInferenceQuickstart.FetchModelServers
to find available model servers.
string model_server = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for modelServer. |
getPageSize()
public abstract int getPageSize()Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
optional int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public abstract String getPageToken() Optional. The value of
next_page_token
received from a previous FetchModelServerVersionsRequest call.
Provide this to retrieve the subsequent page in a multi-page list of
results. When paginating, all other parameters provided to
FetchModelServerVersionsRequest must match the call that provided the
page token.
optional string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public abstract ByteString getPageTokenBytes() Optional. The value of
next_page_token
received from a previous FetchModelServerVersionsRequest call.
Provide this to retrieve the subsequent page in a multi-page list of
results. When paginating, all other parameters provided to
FetchModelServerVersionsRequest must match the call that provided the
page token.
optional string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
hasPageSize()
public abstract boolean hasPageSize()Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
optional int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pageSize field is set. |
hasPageToken()
public abstract boolean hasPageToken() Optional. The value of
next_page_token
received from a previous FetchModelServerVersionsRequest call.
Provide this to retrieve the subsequent page in a multi-page list of
results. When paginating, all other parameters provided to
FetchModelServerVersionsRequest must match the call that provided the
page token.
optional string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pageToken field is set. |