Interface FetchModelServersRequestOrBuilder (0.1.0)

public interface FetchModelServersRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getModel()

public abstract String getModel()

Required. The model for which to list model servers. 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 servers. 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.

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 = 2 [(.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 FetchModelServersRequest call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to FetchModelServersRequest must match the call that provided the page token.

optional string page_token = 3 [(.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 FetchModelServersRequest call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to FetchModelServersRequest must match the call that provided the page token.

optional string page_token = 3 [(.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 = 2 [(.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 FetchModelServersRequest call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to FetchModelServersRequest must match the call that provided the page token.

optional string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the pageToken field is set.