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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BacktestResult.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BacktestResult.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BacktestResult.Builder>
    • clear

      public BacktestResult.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<BacktestResult.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BacktestResult.Builder>
    • getDefaultInstanceForType

      public BacktestResult getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public BacktestResult build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public BacktestResult buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BacktestResult.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BacktestResult.Builder>
    • mergeFrom

      public BacktestResult.Builder mergeFrom(BacktestResult other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BacktestResult.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getName in interface BacktestResultOrBuilder
      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:
      getNameBytes in interface BacktestResultOrBuilder
      Returns:
      The bytes for name.
    • setName

      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];
      Parameters:
      value - The name to set.
      Returns:
      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:
      This builder for chaining.
    • setNameBytes

      public BacktestResult.Builder setNameBytes(com.google.protobuf.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];
      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:
      hasCreateTime in interface BacktestResultOrBuilder
      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:
      getCreateTime in interface BacktestResultOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public BacktestResult.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp of creation of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public BacktestResult.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp of creation of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public BacktestResult.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp of creation of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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];
    • 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:
      getCreateTimeOrBuilder in interface BacktestResultOrBuilder
    • 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:
      hasUpdateTime in interface BacktestResultOrBuilder
      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:
      getUpdateTime in interface BacktestResultOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public BacktestResult.Builder setUpdateTime(com.google.protobuf.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];
    • setUpdateTime

      public BacktestResult.Builder setUpdateTime(com.google.protobuf.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];
    • mergeUpdateTime

      public BacktestResult.Builder mergeUpdateTime(com.google.protobuf.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];
    • 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];
    • 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:
      getUpdateTimeOrBuilder in interface BacktestResultOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: BacktestResultOrBuilder
       Labels
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsCount in interface BacktestResultOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels
       
      map<string, string> labels = 4;
      Specified by:
      containsLabels in interface BacktestResultOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface BacktestResultOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsMap in interface BacktestResultOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrDefault in interface BacktestResultOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrThrow in interface BacktestResultOrBuilder
    • clearLabels

      public BacktestResult.Builder clearLabels()
    • removeLabels

      public BacktestResult.Builder removeLabels(String key)
       Labels
       
      map<string, string> labels = 4;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public BacktestResult.Builder putLabels(String key, String value)
       Labels
       
      map<string, string> labels = 4;
    • putAllLabels

      public BacktestResult.Builder putAllLabels(Map<String,String> values)
       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:
      getStateValue in interface BacktestResultOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      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];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getState in interface BacktestResultOrBuilder
      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

      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:
      This builder for chaining.
    • 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) = { ... }
      Specified by:
      getDataset in interface BacktestResultOrBuilder
      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:
      getDatasetBytes in interface BacktestResultOrBuilder
      Returns:
      The bytes for dataset.
    • setDataset

      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) = { ... }
      Parameters:
      value - The dataset to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setDatasetBytes

      public BacktestResult.Builder setDatasetBytes(com.google.protobuf.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) = { ... }
      Parameters:
      value - The bytes for dataset to set.
      Returns:
      This builder for chaining.
    • 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) = { ... }
      Specified by:
      getModel in interface BacktestResultOrBuilder
      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:
      getModelBytes in interface BacktestResultOrBuilder
      Returns:
      The bytes for model.
    • setModel

      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) = { ... }
      Parameters:
      value - The model to set.
      Returns:
      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:
      This builder for chaining.
    • setModelBytes

      public BacktestResult.Builder setModelBytes(com.google.protobuf.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) = { ... }
      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:
      hasEndTime in interface BacktestResultOrBuilder
      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:
      getEndTime in interface BacktestResultOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public BacktestResult.Builder setEndTime(com.google.protobuf.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];
    • setEndTime

      public BacktestResult.Builder setEndTime(com.google.protobuf.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];
    • mergeEndTime

      public BacktestResult.Builder mergeEndTime(com.google.protobuf.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];
    • 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];
    • 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:
      getEndTimeOrBuilder in interface BacktestResultOrBuilder
    • 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:
      getBacktestPeriods in interface BacktestResultOrBuilder
      Returns:
      The backtestPeriods.
    • setBacktestPeriods

      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;
      Parameters:
      value - The backtestPeriods to set.
      Returns:
      This builder for chaining.
    • 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:
      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:
      hasPerformanceTarget in interface BacktestResultOrBuilder
      Returns:
      Whether the performanceTarget field is set.
    • 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];
      Specified by:
      getPerformanceTarget in interface BacktestResultOrBuilder
      Returns:
      The performanceTarget.
    • setPerformanceTarget

      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];
    • 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

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getPerformanceTargetOrBuilder in interface BacktestResultOrBuilder
    • 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:
      getLineOfBusinessValue in interface BacktestResultOrBuilder
      Returns:
      The enum numeric value on the wire for lineOfBusiness.
    • setLineOfBusinessValue

      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];
      Parameters:
      value - The enum numeric value on the wire for lineOfBusiness to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getLineOfBusiness in interface BacktestResultOrBuilder
      Returns:
      The lineOfBusiness.
    • setLineOfBusiness

      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];
      Parameters:
      value - The lineOfBusiness to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.