public interface CustomTuningModelOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsMetrics(String key)
public abstract boolean containsMetrics(String key)
The metrics of the trained model.
map<string, double> metrics = 7;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime() (deprecated)
public abstract Timestamp getCreateTime()
Deprecated. google.cloud.discoveryengine.v1beta.CustomTuningModel.create_time is deprecated. See google/cloud/discoveryengine/v1beta/custom_tuning_model.proto;l=85
Timestamp the Model was created at.
.google.protobuf.Timestamp create_time = 5 [deprecated = true];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder() (deprecated)
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Timestamp the Model was created at.
.google.protobuf.Timestamp create_time = 5 [deprecated = true];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDisplayName()
public abstract String getDisplayName()
The display name of the model.
string display_name = 2;
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()
The display name of the model.
string display_name = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getMetrics() (deprecated)
public abstract Map<String,Double> getMetrics()
Use #getMetricsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,Double> |
getMetricsCount()
public abstract int getMetricsCount()
The metrics of the trained model.
map<string, double> metrics = 7;
Returns | |
---|---|
Type | Description |
int |
getMetricsMap()
public abstract Map<String,Double> getMetricsMap()
The metrics of the trained model.
map<string, double> metrics = 7;
Returns | |
---|---|
Type | Description |
Map<String,Double> |
getMetricsOrDefault(String key, double defaultValue)
public abstract double getMetricsOrDefault(String key, double defaultValue)
The metrics of the trained model.
map<string, double> metrics = 7;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
double |
Returns | |
---|---|
Type | Description |
double |
getMetricsOrThrow(String key)
public abstract double getMetricsOrThrow(String key)
The metrics of the trained model.
map<string, double> metrics = 7;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
double |
getModelState()
public abstract CustomTuningModel.ModelState getModelState()
The state that the model is in (e.g.TRAINING
or TRAINING_FAILED
).
.google.cloud.discoveryengine.v1beta.CustomTuningModel.ModelState model_state = 4;
Returns | |
---|---|
Type | Description |
CustomTuningModel.ModelState |
The modelState. |
getModelStateValue()
public abstract int getModelStateValue()
The state that the model is in (e.g.TRAINING
or TRAINING_FAILED
).
.google.cloud.discoveryengine.v1beta.CustomTuningModel.ModelState model_state = 4;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for modelState. |
getModelVersion()
public abstract long getModelVersion()
The version of the model.
int64 model_version = 3;
Returns | |
---|---|
Type | Description |
long |
The modelVersion. |
getName()
public abstract String 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) = { ... }
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract 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) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getTrainingStartTime()
public abstract Timestamp getTrainingStartTime()
Timestamp the model training was initiated.
.google.protobuf.Timestamp training_start_time = 6;
Returns | |
---|---|
Type | Description |
Timestamp |
The trainingStartTime. |
getTrainingStartTimeOrBuilder()
public abstract TimestampOrBuilder getTrainingStartTimeOrBuilder()
Timestamp the model training was initiated.
.google.protobuf.Timestamp training_start_time = 6;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime() (deprecated)
public abstract boolean hasCreateTime()
Deprecated. google.cloud.discoveryengine.v1beta.CustomTuningModel.create_time is deprecated. See google/cloud/discoveryengine/v1beta/custom_tuning_model.proto;l=85
Timestamp the Model was created at.
.google.protobuf.Timestamp create_time = 5 [deprecated = true];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasTrainingStartTime()
public abstract boolean hasTrainingStartTime()
Timestamp the model training was initiated.
.google.protobuf.Timestamp training_start_time = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the trainingStartTime field is set. |