Class FetchProfilesRequest (0.1.0)

public final class FetchProfilesRequest extends GeneratedMessageV3 implements FetchProfilesRequestOrBuilder

Request message for GkeInferenceQuickstart.FetchProfiles.

Protobuf type google.cloud.gkerecommender.v1.FetchProfilesRequest

Static Fields

MODEL_FIELD_NUMBER

public static final int MODEL_FIELD_NUMBER
Field Value
Type Description
int

MODEL_SERVER_FIELD_NUMBER

public static final int MODEL_SERVER_FIELD_NUMBER
Field Value
Type Description
int

MODEL_SERVER_VERSION_FIELD_NUMBER

public static final int MODEL_SERVER_VERSION_FIELD_NUMBER
Field Value
Type Description
int

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
Type Description
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

PERFORMANCE_REQUIREMENTS_FIELD_NUMBER

public static final int PERFORMANCE_REQUIREMENTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FetchProfilesRequest getDefaultInstance()
Returns
Type Description
FetchProfilesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FetchProfilesRequest.Builder newBuilder()
Returns
Type Description
FetchProfilesRequest.Builder

newBuilder(FetchProfilesRequest prototype)

public static FetchProfilesRequest.Builder newBuilder(FetchProfilesRequest prototype)
Parameter
Name Description
prototype FetchProfilesRequest
Returns
Type Description
FetchProfilesRequest.Builder

parseDelimitedFrom(InputStream input)

public static FetchProfilesRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchProfilesRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchProfilesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchProfilesRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FetchProfilesRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FetchProfilesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FetchProfilesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchProfilesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FetchProfilesRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FetchProfilesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FetchProfilesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchProfilesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FetchProfilesRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FetchProfilesRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchProfilesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchProfilesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FetchProfilesRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchProfilesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchProfilesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchProfilesRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FetchProfilesRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FetchProfilesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FetchProfilesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchProfilesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FetchProfilesRequest> parser()
Returns
Type Description
Parser<FetchProfilesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FetchProfilesRequest getDefaultInstanceForType()
Returns
Type Description
FetchProfilesRequest

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 to find available models.

string model = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The model.

getModelBytes()

public 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 to find available models.

string model = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

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 to find available model servers for a given model.

string model_server = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The modelServer.

getModelServerBytes()

public ByteString getModelServerBytes()

Optional. The model server to filter profiles by. If not provided, all model servers are returned. Use GkeInferenceQuickstart.FetchModelServers to find available model servers for a given model.

string model_server = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

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 to find available versions for a given model and server.

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

Returns
Type Description
String

The modelServerVersion.

getModelServerVersionBytes()

public ByteString getModelServerVersionBytes()

Optional. The model server version to filter profiles by. If not provided, all model server versions are returned. Use GkeInferenceQuickstart.FetchModelServerVersions to find available versions for a given model and server.

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

Returns
Type Description
ByteString

The bytes for modelServerVersion.

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 to determine if there are more instances left to be queried.

optional int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. The value of 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];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. The value of 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];

Returns
Type Description
ByteString

The bytes for pageToken.

getParserForType()

public Parser<FetchProfilesRequest> getParserForType()
Returns
Type Description
Parser<FetchProfilesRequest>
Overrides

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];

Returns
Type Description
PerformanceRequirements

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];

Returns
Type Description
PerformanceRequirementsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 to determine if there are more instances left to be queried.

optional int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the pageSize field is set.

hasPageToken()

public boolean hasPageToken()

Optional. The value of 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];

Returns
Type Description
boolean

Whether the pageToken field is set.

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];

Returns
Type Description
boolean

Whether the performanceRequirements field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FetchProfilesRequest.Builder newBuilderForType()
Returns
Type Description
FetchProfilesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FetchProfilesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FetchProfilesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FetchProfilesRequest.Builder toBuilder()
Returns
Type Description
FetchProfilesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException