Class FetchProfilesRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkerecommender.v1.FetchProfilesRequest
All Implemented Interfaces:
FetchProfilesRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class FetchProfilesRequest extends com.google.protobuf.GeneratedMessage implements FetchProfilesRequestOrBuilder
 Request message for
 [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles].
 
Protobuf type google.cloud.gkerecommender.v1.FetchProfilesRequest
See Also:
  • Field Details

    • MODEL_FIELD_NUMBER

      public static final int MODEL_FIELD_NUMBER
      See Also:
    • MODEL_SERVER_FIELD_NUMBER

      public static final int MODEL_SERVER_FIELD_NUMBER
      See Also:
    • MODEL_SERVER_VERSION_FIELD_NUMBER

      public static final int MODEL_SERVER_VERSION_FIELD_NUMBER
      See Also:
    • PERFORMANCE_REQUIREMENTS_FIELD_NUMBER

      public static final int PERFORMANCE_REQUIREMENTS_FIELD_NUMBER
      See Also:
    • PAGE_SIZE_FIELD_NUMBER

      public static final int PAGE_SIZE_FIELD_NUMBER
      See Also:
    • PAGE_TOKEN_FIELD_NUMBER

      public static final int PAGE_TOKEN_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getModel

      public String getModel()
       Optional. The model to filter profiles by. Open-source models follow the
       Huggingface Hub `owner/model_name` format. If not provided, all models are
       returned. Use
       [GkeInferenceQuickstart.FetchModels][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels]
       to find available models.
       
      string model = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getModel in interface FetchProfilesRequestOrBuilder
      Returns:
      The model.
    • getModelBytes

      public com.google.protobuf.ByteString getModelBytes()
       Optional. The model to filter profiles by. Open-source models follow the
       Huggingface Hub `owner/model_name` format. If not provided, all models are
       returned. Use
       [GkeInferenceQuickstart.FetchModels][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels]
       to find available models.
       
      string model = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getModelBytes in interface FetchProfilesRequestOrBuilder
      Returns:
      The bytes for model.
    • getModelServer

      public String getModelServer()
       Optional. The model server to filter profiles by. If not provided, all
       model servers are returned. Use
       [GkeInferenceQuickstart.FetchModelServers][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServers]
       to find available model servers for a given model.
       
      string model_server = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getModelServer in interface FetchProfilesRequestOrBuilder
      Returns:
      The modelServer.
    • getModelServerBytes

      public com.google.protobuf.ByteString getModelServerBytes()
       Optional. The model server to filter profiles by. If not provided, all
       model servers are returned. Use
       [GkeInferenceQuickstart.FetchModelServers][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServers]
       to find available model servers for a given model.
       
      string model_server = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getModelServerBytes in interface FetchProfilesRequestOrBuilder
      Returns:
      The bytes for modelServer.
    • getModelServerVersion

      public String getModelServerVersion()
       Optional. The model server version to filter profiles by. If not provided,
       all model server versions are returned. Use
       [GkeInferenceQuickstart.FetchModelServerVersions][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServerVersions]
       to find available versions for a given model and server.
       
      string model_server_version = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getModelServerVersion in interface FetchProfilesRequestOrBuilder
      Returns:
      The modelServerVersion.
    • getModelServerVersionBytes

      public com.google.protobuf.ByteString getModelServerVersionBytes()
       Optional. The model server version to filter profiles by. If not provided,
       all model server versions are returned. Use
       [GkeInferenceQuickstart.FetchModelServerVersions][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServerVersions]
       to find available versions for a given model and server.
       
      string model_server_version = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getModelServerVersionBytes in interface FetchProfilesRequestOrBuilder
      Returns:
      The bytes for modelServerVersion.
    • hasPerformanceRequirements

      public boolean hasPerformanceRequirements()
       Optional. The performance requirements to filter profiles. Profiles that do
       not meet these requirements are filtered out. If not provided, all profiles
       are returned.
       
      .google.cloud.gkerecommender.v1.PerformanceRequirements performance_requirements = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasPerformanceRequirements in interface FetchProfilesRequestOrBuilder
      Returns:
      Whether the performanceRequirements field is set.
    • getPerformanceRequirements

      public PerformanceRequirements getPerformanceRequirements()
       Optional. The performance requirements to filter profiles. Profiles that do
       not meet these requirements are filtered out. If not provided, all profiles
       are returned.
       
      .google.cloud.gkerecommender.v1.PerformanceRequirements performance_requirements = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPerformanceRequirements in interface FetchProfilesRequestOrBuilder
      Returns:
      The performanceRequirements.
    • getPerformanceRequirementsOrBuilder

      public PerformanceRequirementsOrBuilder getPerformanceRequirementsOrBuilder()
       Optional. The performance requirements to filter profiles. Profiles that do
       not meet these requirements are filtered out. If not provided, all profiles
       are returned.
       
      .google.cloud.gkerecommender.v1.PerformanceRequirements performance_requirements = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPerformanceRequirementsOrBuilder in interface FetchProfilesRequestOrBuilder
    • hasPageSize

      public 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.FetchProfilesResponse.next_page_token]
       to determine if there are more instances left to be queried.
       
      optional int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasPageSize in interface FetchProfilesRequestOrBuilder
      Returns:
      Whether the pageSize field is set.
    • getPageSize

      public 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.FetchProfilesResponse.next_page_token]
       to determine if there are more instances left to be queried.
       
      optional int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageSize in interface FetchProfilesRequestOrBuilder
      Returns:
      The pageSize.
    • hasPageToken

      public boolean hasPageToken()
       Optional. The value of
       [next_page_token][google.cloud.gkerecommender.v1.FetchProfilesResponse.next_page_token]
       received from a previous `FetchProfilesRequest` call.
       Provide this to retrieve the subsequent page in a multi-page list of
       results. When paginating, all other parameters provided to
       `FetchProfilesRequest` must match the call that provided the page
       token.
       
      optional string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasPageToken in interface FetchProfilesRequestOrBuilder
      Returns:
      Whether the pageToken field is set.
    • getPageToken

      public String getPageToken()
       Optional. The value of
       [next_page_token][google.cloud.gkerecommender.v1.FetchProfilesResponse.next_page_token]
       received from a previous `FetchProfilesRequest` call.
       Provide this to retrieve the subsequent page in a multi-page list of
       results. When paginating, all other parameters provided to
       `FetchProfilesRequest` must match the call that provided the page
       token.
       
      optional string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageToken in interface FetchProfilesRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       Optional. The value of
       [next_page_token][google.cloud.gkerecommender.v1.FetchProfilesResponse.next_page_token]
       received from a previous `FetchProfilesRequest` call.
       Provide this to retrieve the subsequent page in a multi-page list of
       results. When paginating, all other parameters provided to
       `FetchProfilesRequest` must match the call that provided the page
       token.
       
      optional string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageTokenBytes in interface FetchProfilesRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static FetchProfilesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FetchProfilesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FetchProfilesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FetchProfilesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FetchProfilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FetchProfilesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FetchProfilesRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FetchProfilesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FetchProfilesRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FetchProfilesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FetchProfilesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FetchProfilesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public FetchProfilesRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static FetchProfilesRequest.Builder newBuilder()
    • newBuilder

      public static FetchProfilesRequest.Builder newBuilder(FetchProfilesRequest prototype)
    • toBuilder

      public FetchProfilesRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected FetchProfilesRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static FetchProfilesRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<FetchProfilesRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<FetchProfilesRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public FetchProfilesRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder