public interface CustomTuningModelOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetrics(String key)
The metrics of the trained model.
|
com.google.protobuf.Timestamp |
getCreateTime()
Deprecated.
google.cloud.discoveryengine.v1alpha.CustomTuningModel.create_time is deprecated.
See google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto;l=85
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Deprecated.
|
String |
getDisplayName()
The display name of the model.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The display name of the model.
|
Map<String,Double> |
getMetrics()
Deprecated.
|
int |
getMetricsCount()
The metrics of the trained model.
|
Map<String,Double> |
getMetricsMap()
The metrics of the trained model.
|
double |
getMetricsOrDefault(String key,
double defaultValue)
The metrics of the trained model.
|
double |
getMetricsOrThrow(String key)
The metrics of the trained model.
|
CustomTuningModel.ModelState |
getModelState()
The state that the model is in (e.g.
|
int |
getModelStateValue()
The state that the model is in (e.g.
|
long |
getModelVersion()
The version of the model.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
com.google.protobuf.Timestamp |
getTrainingStartTime()
Timestamp the model training was initiated.
|
com.google.protobuf.TimestampOrBuilder |
getTrainingStartTimeOrBuilder()
Timestamp the model training was initiated.
|
boolean |
hasCreateTime()
Deprecated.
google.cloud.discoveryengine.v1alpha.CustomTuningModel.create_time is deprecated.
See google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto;l=85
|
boolean |
hasTrainingStartTime()
Timestamp the model training was initiated.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. The fully qualified resource name of the model.
Format:
`projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`
model must be an alpha-numerical string with limit of 40 characters.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getNameBytes()
Required. The fully qualified resource name of the model.
Format:
`projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`
model must be an alpha-numerical string with limit of 40 characters.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
String getDisplayName()
The display name of the model.
string display_name = 2;com.google.protobuf.ByteString getDisplayNameBytes()
The display name of the model.
string display_name = 2;long getModelVersion()
The version of the model.
int64 model_version = 3;int getModelStateValue()
The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).
.google.cloud.discoveryengine.v1alpha.CustomTuningModel.ModelState model_state = 4;
CustomTuningModel.ModelState getModelState()
The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).
.google.cloud.discoveryengine.v1alpha.CustomTuningModel.ModelState model_state = 4;
@Deprecated boolean hasCreateTime()
Timestamp the Model was created at.
.google.protobuf.Timestamp create_time = 5 [deprecated = true];@Deprecated com.google.protobuf.Timestamp getCreateTime()
Timestamp the Model was created at.
.google.protobuf.Timestamp create_time = 5 [deprecated = true];@Deprecated com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Timestamp the Model was created at.
.google.protobuf.Timestamp create_time = 5 [deprecated = true];boolean hasTrainingStartTime()
Timestamp the model training was initiated.
.google.protobuf.Timestamp training_start_time = 6;com.google.protobuf.Timestamp getTrainingStartTime()
Timestamp the model training was initiated.
.google.protobuf.Timestamp training_start_time = 6;com.google.protobuf.TimestampOrBuilder getTrainingStartTimeOrBuilder()
Timestamp the model training was initiated.
.google.protobuf.Timestamp training_start_time = 6;int getMetricsCount()
The metrics of the trained model.
map<string, double> metrics = 7;boolean containsMetrics(String key)
The metrics of the trained model.
map<string, double> metrics = 7;@Deprecated Map<String,Double> getMetrics()
getMetricsMap() instead.Map<String,Double> getMetricsMap()
The metrics of the trained model.
map<string, double> metrics = 7;double getMetricsOrDefault(String key, double defaultValue)
The metrics of the trained model.
map<string, double> metrics = 7;double getMetricsOrThrow(String key)
The metrics of the trained model.
map<string, double> metrics = 7;Copyright © 2024 Google LLC. All rights reserved.