public final class FetchProfilesRequest extends GeneratedMessageV3 implements FetchProfilesRequestOrBuilder
Request message for
GkeInferenceQuickstart.FetchProfiles.
Protobuf type google.cloud.gkerecommender.v1.FetchProfilesRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 |
|
public static final int PERFORMANCE_REQUIREMENTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static FetchProfilesRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FetchProfilesRequest.Builder newBuilder()
newBuilder(FetchProfilesRequest prototype)
public static FetchProfilesRequest.Builder newBuilder(FetchProfilesRequest prototype)
public static FetchProfilesRequest parseDelimitedFrom(InputStream input)
public static FetchProfilesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FetchProfilesRequest parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FetchProfilesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FetchProfilesRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FetchProfilesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FetchProfilesRequest parseFrom(CodedInputStream input)
public static FetchProfilesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FetchProfilesRequest parseFrom(InputStream input)
public static FetchProfilesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FetchProfilesRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FetchProfilesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FetchProfilesRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public FetchProfilesRequest getDefaultInstanceForType()
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()
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()
Overrides
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];
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];
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.
|
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FetchProfilesRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FetchProfilesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public FetchProfilesRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides