public static final class BacktestResult.Builder extends GeneratedMessageV3.Builder<BacktestResult.Builder> implements BacktestResultOrBuilderBacktestResult is created to test the performance of a model on a dataset.
Protobuf type google.cloud.financialservices.v1.BacktestResult
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BacktestResult.BuilderImplements
BacktestResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BacktestResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
build()
public BacktestResult build()| Returns | |
|---|---|
| Type | Description |
BacktestResult |
|
buildPartial()
public BacktestResult buildPartial()| Returns | |
|---|---|
| Type | Description |
BacktestResult |
|
clear()
public BacktestResult.Builder clear()| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
clearBacktestPeriods()
public BacktestResult.Builder 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 | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
clearCreateTime()
public BacktestResult.Builder clearCreateTime()Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
clearDataset()
public BacktestResult.Builder 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 | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
clearEndTime()
public BacktestResult.Builder 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];
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public BacktestResult.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
clearLabels()
public BacktestResult.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
clearLineOfBusiness()
public BacktestResult.Builder 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 | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
clearModel()
public BacktestResult.Builder 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 | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
clearName()
public BacktestResult.Builder 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 | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BacktestResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
clearPerformanceTarget()
public BacktestResult.Builder 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];
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
clearState()
public BacktestResult.Builder 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 | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
clearUpdateTime()
public BacktestResult.Builder 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];
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
clone()
public BacktestResult.Builder clone()| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
containsLabels(String key)
public boolean containsLabels(String key)Labels
map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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;
| Returns | |
|---|---|
| Type | Description |
int |
The backtestPeriods. |
getCreateTime()
public Timestamp getCreateTime()Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDataset()
public 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 | |
|---|---|
| Type | Description |
String |
The dataset. |
getDatasetBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for dataset. |
getDefaultInstanceForType()
public BacktestResult getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BacktestResult |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndTime()
public 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 | |
|---|---|
| Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEndTimeOrBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public int getLabelsCount()Labels
map<string, string> labels = 4;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()Labels
map<string, string> labels = 4;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Labels
map<string, string> labels = 4;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Labels
map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLineOfBusiness()
public 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 | |
|---|---|
| Type | Description |
LineOfBusiness |
The lineOfBusiness. |
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];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for lineOfBusiness. |
getModel()
public 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 | |
|---|---|
| Type | Description |
String |
The model. |
getModelBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for model. |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public 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 | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPerformanceTarget()
public 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 | |
|---|---|
| Type | Description |
BacktestResult.PerformanceTarget |
The performanceTarget. |
getPerformanceTargetBuilder()
public BacktestResult.PerformanceTarget.Builder 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];
| Returns | |
|---|---|
| Type | Description |
BacktestResult.PerformanceTarget.Builder |
|
getPerformanceTargetOrBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
BacktestResult.PerformanceTargetOrBuilder |
|
getState()
public 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 | |
|---|---|
| Type | Description |
BacktestResult.State |
The state. |
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];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getUpdateTime()
public 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 | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endTime field is set. |
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the performanceTarget field is set. |
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public BacktestResult.Builder mergeCreateTime(Timestamp value)Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
mergeEndTime(Timestamp value)
public BacktestResult.Builder mergeEndTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
mergeFrom(BacktestResult other)
public BacktestResult.Builder mergeFrom(BacktestResult other)| Parameter | |
|---|---|
| Name | Description |
other |
BacktestResult |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BacktestResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BacktestResult.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
mergePerformanceTarget(BacktestResult.PerformanceTarget value)
public BacktestResult.Builder mergePerformanceTarget(BacktestResult.PerformanceTarget value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
BacktestResult.PerformanceTarget |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BacktestResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
mergeUpdateTime(Timestamp value)
public BacktestResult.Builder mergeUpdateTime(Timestamp value)Output only. The timestamp of the most recent update of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
putAllLabels(Map<String,String> values)
public BacktestResult.Builder putAllLabels(Map<String,String> values)Labels
map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
putLabels(String key, String value)
public BacktestResult.Builder putLabels(String key, String value)Labels
map<string, string> labels = 4;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
removeLabels(String key)
public BacktestResult.Builder removeLabels(String key)Labels
map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
setBacktestPeriods(int value)
public BacktestResult.Builder setBacktestPeriods(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.
int32 backtest_periods = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe backtestPeriods to set. |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public BacktestResult.Builder setCreateTime(Timestamp value)Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public BacktestResult.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
setDataset(String value)
public BacktestResult.Builder setDataset(String value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dataset to set. |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
setDatasetBytes(ByteString value)
public BacktestResult.Builder setDatasetBytes(ByteString value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dataset to set. |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
setEndTime(Timestamp value)
public BacktestResult.Builder setEndTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
setEndTime(Timestamp.Builder builderForValue)
public BacktestResult.Builder setEndTime(Timestamp.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public BacktestResult.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
setLineOfBusiness(LineOfBusiness value)
public BacktestResult.Builder setLineOfBusiness(LineOfBusiness value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
LineOfBusinessThe lineOfBusiness to set. |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
setLineOfBusinessValue(int value)
public BacktestResult.Builder setLineOfBusinessValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for lineOfBusiness to set. |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
setModel(String value)
public BacktestResult.Builder setModel(String value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe model to set. |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
setModelBytes(ByteString value)
public BacktestResult.Builder setModelBytes(ByteString value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for model to set. |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
setName(String value)
public BacktestResult.Builder setName(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public BacktestResult.Builder setNameBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
setPerformanceTarget(BacktestResult.PerformanceTarget value)
public BacktestResult.Builder setPerformanceTarget(BacktestResult.PerformanceTarget value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
BacktestResult.PerformanceTarget |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
setPerformanceTarget(BacktestResult.PerformanceTarget.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BacktestResult.PerformanceTarget.Builder |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BacktestResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
setState(BacktestResult.State value)
public BacktestResult.Builder setState(BacktestResult.State value)Output only. State of the BacktestResult (creating, active, deleting, etc.)
.google.cloud.financialservices.v1.BacktestResult.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
BacktestResult.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
setStateValue(int value)
public BacktestResult.Builder setStateValue(int value)Output only. State of the BacktestResult (creating, active, deleting, etc.)
.google.cloud.financialservices.v1.BacktestResult.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BacktestResult.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
setUpdateTime(Timestamp value)
public BacktestResult.Builder setUpdateTime(Timestamp value)Output only. The timestamp of the most recent update of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public BacktestResult.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. The timestamp of the most recent update of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BacktestResult.Builder |
|