Interface BacktestResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BacktestResult,BacktestResult.Builder
@Generated
public interface BacktestResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) LabelsintThe number of consecutive months to conduct backtesting for, ending with the last full month prior to the end_time according to the dataset's timezone.com.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.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 BacktestResult. format: `/projects/{project_num}/locations/{location}/instances/{instance}/backtestResults/{backtest_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 BacktestResult. format: `/projects/{project_num}/locations/{location}/instances/{instance}/backtestResults/{backtest_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 BacktestResult (creating, active, deleting, etc.)
.google.cloud.financialservices.v1.BacktestResult.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
BacktestResult.State getState()Output only. State of the BacktestResult (creating, active, deleting, etc.)
.google.cloud.financialservices.v1.BacktestResult.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getDataset
String getDataset()Required. The resource name of the Dataset to backtest on Format: `/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}`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 backtest on Format: `/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}`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 or to backtest. 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 or to backtest. 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. End_time specifies the latest time from which labels are used and from which data is used to generate features for backtesting. End_time should be no later than the end of the date_range of the primary 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. End_time specifies the latest time from which labels are used and from which data is used to generate features for backtesting. End_time should be no later than the end of the date_range of the primary dataset.
.google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Required. End_time specifies the latest time from which labels are used and from which data is used to generate features for backtesting. End_time should be no later than the end of the date_range of the primary dataset.
.google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = REQUIRED]; -
getBacktestPeriods
int getBacktestPeriods()The number of consecutive months to conduct backtesting for, ending with the last full month prior to the end_time according to the dataset's timezone.
int32 backtest_periods = 10;- Returns:
- The backtestPeriods.
-
hasPerformanceTarget
boolean hasPerformanceTarget()Required. PerformanceTarget gives information on how the test will be evaluated.
.google.cloud.financialservices.v1.BacktestResult.PerformanceTarget performance_target = 11 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the performanceTarget field is set.
-
getPerformanceTarget
BacktestResult.PerformanceTarget getPerformanceTarget()Required. PerformanceTarget gives information on how the test will be evaluated.
.google.cloud.financialservices.v1.BacktestResult.PerformanceTarget performance_target = 11 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The performanceTarget.
-
getPerformanceTargetOrBuilder
BacktestResult.PerformanceTargetOrBuilder getPerformanceTargetOrBuilder()Required. PerformanceTarget gives information on how the test will be evaluated.
.google.cloud.financialservices.v1.BacktestResult.PerformanceTarget performance_target = 11 [(.google.api.field_behavior) = REQUIRED]; -
getLineOfBusinessValue
int getLineOfBusinessValue()Output only. The line of business (Retail/Commercial) this backtest 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 backtest 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.
-