Interface FetchModelServersRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FetchModelServersRequest, FetchModelServersRequest.Builder

@Generated public interface FetchModelServersRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    int
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    boolean
    Optional.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getModel

      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][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels]
       to find available models.
       
      string model = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The model.
    • getModelBytes

      com.google.protobuf.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][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels]
       to find available models.
       
      string model = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for model.
    • hasPageSize

      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][google.cloud.gkerecommender.v1.FetchModelServersResponse.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:
      Whether the pageSize field is set.
    • getPageSize

      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][google.cloud.gkerecommender.v1.FetchModelServersResponse.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:
      The pageSize.
    • hasPageToken

      boolean hasPageToken()
       Optional. The value of
       [next_page_token][google.cloud.gkerecommender.v1.FetchModelServersResponse.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:
      Whether the pageToken field is set.
    • getPageToken

      String getPageToken()
       Optional. The value of
       [next_page_token][google.cloud.gkerecommender.v1.FetchModelServersResponse.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:
      The pageToken.
    • getPageTokenBytes

      com.google.protobuf.ByteString getPageTokenBytes()
       Optional. The value of
       [next_page_token][google.cloud.gkerecommender.v1.FetchModelServersResponse.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:
      The bytes for pageToken.