Class BacktestResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BacktestResult.Builder>
com.google.cloud.financialservices.v1.BacktestResult.Builder
- All Implemented Interfaces:
BacktestResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BacktestResult
public static final class BacktestResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BacktestResult.Builder>
implements BacktestResultOrBuilder
BacktestResult is created to test the performance of a model on a dataset.Protobuf type
google.cloud.financialservices.v1.BacktestResult-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()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.Output only.Required.Required.Output only.Required.Output only.Required.Output only.Output only.booleancontainsLabels(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.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampRequired.com.google.protobuf.Timestamp.BuilderRequired.com.google.protobuf.TimestampOrBuilderRequired.Deprecated.intLabelsLabelsgetLabelsOrDefault(String key, String defaultValue) LabelsgetLabelsOrThrow(String key) LabelsOutput only.intOutput only.getModel()Required.com.google.protobuf.ByteStringRequired.Deprecated.getName()Output only.com.google.protobuf.ByteStringOutput only.Required.Required.Required.getState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanRequired.booleanRequired.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeEndTime(com.google.protobuf.Timestamp value) Required.mergeFrom(BacktestResult other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) LabelsLabelsremoveLabels(String key) LabelssetBacktestPeriods(int value) 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.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDataset(String value) Required.setDatasetBytes(com.google.protobuf.ByteString value) Required.setEndTime(com.google.protobuf.Timestamp value) Required.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Required.setLineOfBusiness(LineOfBusiness value) Output only.setLineOfBusinessValue(int value) Output only.Required.setModelBytes(com.google.protobuf.ByteString value) Required.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.Required.setPerformanceTarget(BacktestResult.PerformanceTarget.Builder builderForValue) Required.setState(BacktestResult.State value) Output only.setStateValue(int value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<BacktestResult.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<BacktestResult.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BacktestResult.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BacktestResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BacktestResult.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BacktestResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BacktestResult.Builder>
-
mergeFrom
public BacktestResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BacktestResult.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceBacktestResultOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceBacktestResultOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceBacktestResultOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceBacktestResultOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public 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];- Specified by:
getCreateTimeOrBuilderin interfaceBacktestResultOrBuilder
-
hasUpdateTime
public 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];- Specified by:
hasUpdateTimein interfaceBacktestResultOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceBacktestResultOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The timestamp of the most recent update of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The timestamp of the most recent update of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The timestamp of the most recent update of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The timestamp of the most recent update of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The timestamp of the most recent update of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public 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];- Specified by:
getUpdateTimeOrBuilderin interfaceBacktestResultOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:BacktestResultOrBuilderLabels
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceBacktestResultOrBuilder
-
containsLabels
Labels
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceBacktestResultOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceBacktestResultOrBuilder
-
getLabelsMap
Labels
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceBacktestResultOrBuilder
-
getLabelsOrDefault
Labels
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceBacktestResultOrBuilder
-
getLabelsOrThrow
Labels
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceBacktestResultOrBuilder
-
clearLabels
-
removeLabels
Labels
map<string, string> labels = 4; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels
map<string, string> labels = 4; -
putAllLabels
Labels
map<string, string> labels = 4; -
getStateValue
public 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];- Specified by:
getStateValuein interfaceBacktestResultOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the BacktestResult (creating, active, deleting, etc.)
.google.cloud.financialservices.v1.BacktestResult.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getStatein interfaceBacktestResultOrBuilder- Returns:
- The state.
-
setState
Output only. State of the BacktestResult (creating, active, deleting, etc.)
.google.cloud.financialservices.v1.BacktestResult.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
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:
- This builder for chaining.
-
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) = { ... }- Specified by:
getDatasetin interfaceBacktestResultOrBuilder- Returns:
- The dataset.
-
getDatasetBytes
public 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) = { ... }- Specified by:
getDatasetBytesin interfaceBacktestResultOrBuilder- Returns:
- The bytes for dataset.
-
setDataset
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) = { ... }- Parameters:
value- The dataset to set.- Returns:
- This builder for chaining.
-
clearDataset
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:
- This builder for chaining.
-
setDatasetBytes
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) = { ... }- Parameters:
value- The bytes for dataset to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
getModelin interfaceBacktestResultOrBuilder- Returns:
- The model.
-
getModelBytes
public 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) = { ... }- Specified by:
getModelBytesin interfaceBacktestResultOrBuilder- Returns:
- The bytes for model.
-
setModel
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) = { ... }- Parameters:
value- The model to set.- Returns:
- This builder for chaining.
-
clearModel
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:
- This builder for chaining.
-
setModelBytes
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) = { ... }- Parameters:
value- The bytes for model to set.- Returns:
- This builder for chaining.
-
hasEndTime
public 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];- Specified by:
hasEndTimein interfaceBacktestResultOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public 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];- Specified by:
getEndTimein interfaceBacktestResultOrBuilder- Returns:
- The endTime.
-
setEndTime
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]; -
setEndTime
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]; -
mergeEndTime
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]; -
clearEndTime
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]; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()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]; -
getEndTimeOrBuilder
public 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];- Specified by:
getEndTimeOrBuilderin interfaceBacktestResultOrBuilder
-
getBacktestPeriods
public 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;- Specified by:
getBacktestPeriodsin interfaceBacktestResultOrBuilder- Returns:
- The backtestPeriods.
-
setBacktestPeriods
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;- Parameters:
value- The backtestPeriods to set.- Returns:
- This builder for chaining.
-
clearBacktestPeriods
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:
- This builder for chaining.
-
hasPerformanceTarget
public 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];- Specified by:
hasPerformanceTargetin interfaceBacktestResultOrBuilder- Returns:
- Whether the performanceTarget field is set.
-
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];- Specified by:
getPerformanceTargetin interfaceBacktestResultOrBuilder- Returns:
- The performanceTarget.
-
setPerformanceTarget
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]; -
setPerformanceTarget
public BacktestResult.Builder setPerformanceTarget(BacktestResult.PerformanceTarget.Builder builderForValue) 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]; -
mergePerformanceTarget
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]; -
clearPerformanceTarget
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]; -
getPerformanceTargetBuilder
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]; -
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];- Specified by:
getPerformanceTargetOrBuilderin interfaceBacktestResultOrBuilder
-
getLineOfBusinessValue
public 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];- Specified by:
getLineOfBusinessValuein interfaceBacktestResultOrBuilder- Returns:
- The enum numeric value on the wire for lineOfBusiness.
-
setLineOfBusinessValue
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];- Parameters:
value- The enum numeric value on the wire for lineOfBusiness to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getLineOfBusinessin interfaceBacktestResultOrBuilder- Returns:
- The lineOfBusiness.
-
setLineOfBusiness
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];- Parameters:
value- The lineOfBusiness to set.- Returns:
- This builder for chaining.
-
clearLineOfBusiness
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:
- This builder for chaining.
-