Interface PredictionResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PredictionResult,PredictionResult.Builder
@Generated
public interface PredictionResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labelscom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.TimestampRequired.com.google.protobuf.TimestampOrBuilderRequired.Deprecated.intLabelsLabelsgetLabelsOrDefault(String key, String defaultValue) LabelsgetLabelsOrThrow(String key) LabelsOutput only.intOutput only.getModel()Required.com.google.protobuf.ByteStringRequired.getName()Output only.com.google.protobuf.ByteStringOutput only.Required.Required.intThe number of consecutive months to produce predictions for, ending with the last full month prior to [end_time][google.cloud.financialservices.v1.PredictionResult.end_time] according to the dataset's timezone.getState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanRequired.booleanRequired.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Output only. The resource name of the PredictionResult. format: `/projects/{project_num}/locations/{location}/instances/{instance}/predictionResults/{prediction_result}`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. The resource name of the PredictionResult. format: `/projects/{project_num}/locations/{location}/instances/{instance}/predictionResults/{prediction_result}`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. The timestamp of the most recent update of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. The timestamp of the most recent update of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The timestamp of the most recent update of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Labels
map<string, string> labels = 4; -
containsLabels
Labels
map<string, string> labels = 4; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels
map<string, string> labels = 4; -
getLabelsOrDefault
Labels
map<string, string> labels = 4; -
getLabelsOrThrow
Labels
map<string, string> labels = 4; -
getStateValue
int getStateValue()Output only. State of the PredictionResult (creating, active, deleting, etc.)
.google.cloud.financialservices.v1.PredictionResult.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
PredictionResult.State getState()Output only. State of the PredictionResult (creating, active, deleting, etc.)
.google.cloud.financialservices.v1.PredictionResult.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getDataset
String getDataset()Required. The resource name of the Dataset to do predictions on Format: `/projects/{project_num}/locations/{location}/instances/{instance}/dataset/{dataset_id}`string dataset = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The dataset.
-
getDatasetBytes
com.google.protobuf.ByteString getDatasetBytes()Required. The resource name of the Dataset to do predictions on Format: `/projects/{project_num}/locations/{location}/instances/{instance}/dataset/{dataset_id}`string dataset = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for dataset.
-
getModel
String getModel()Required. The resource name of the Model to use to use to make predictions Format: `/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}`string model = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The model.
-
getModelBytes
com.google.protobuf.ByteString getModelBytes()Required. The resource name of the Model to use to use to make predictions Format: `/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}`string model = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for model.
-
hasEndTime
boolean hasEndTime()Required. Specifies the latest time from which data is used to generate features for predictions. This time should be no later than the end of the [date_range][google.cloud.financialservices.v1.Dataset.date_range] of the dataset.
.google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()Required. Specifies the latest time from which data is used to generate features for predictions. This time should be no later than the end of the [date_range][google.cloud.financialservices.v1.Dataset.date_range] of the dataset.
.google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Required. Specifies the latest time from which data is used to generate features for predictions. This time should be no later than the end of the [date_range][google.cloud.financialservices.v1.Dataset.date_range] of the dataset.
.google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = REQUIRED]; -
getPredictionPeriods
int getPredictionPeriods()The number of consecutive months to produce predictions for, ending with the last full month prior to [end_time][google.cloud.financialservices.v1.PredictionResult.end_time] according to the dataset's timezone.
int32 prediction_periods = 10;- Returns:
- The predictionPeriods.
-
hasOutputs
boolean hasOutputs()Required. Where to write the output of the predictions.
.google.cloud.financialservices.v1.PredictionResult.Outputs outputs = 11 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the outputs field is set.
-
getOutputs
PredictionResult.Outputs getOutputs()Required. Where to write the output of the predictions.
.google.cloud.financialservices.v1.PredictionResult.Outputs outputs = 11 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The outputs.
-
getOutputsOrBuilder
PredictionResult.OutputsOrBuilder getOutputsOrBuilder()Required. Where to write the output of the predictions.
.google.cloud.financialservices.v1.PredictionResult.Outputs outputs = 11 [(.google.api.field_behavior) = REQUIRED]; -
getLineOfBusinessValue
int getLineOfBusinessValue()Output only. The line of business (Retail/Commercial) this prediction is for. Determined by Model, cannot be set by user.
.google.cloud.financialservices.v1.LineOfBusiness line_of_business = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for lineOfBusiness.
-
getLineOfBusiness
LineOfBusiness getLineOfBusiness()Output only. The line of business (Retail/Commercial) this prediction is for. Determined by Model, cannot be set by user.
.google.cloud.financialservices.v1.LineOfBusiness line_of_business = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The lineOfBusiness.
-