Class PredictionResult.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PredictionResult.Builder>
com.google.cloud.financialservices.v1.PredictionResult.Builder
All Implemented Interfaces:
PredictionResultOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PredictionResult

public static final class PredictionResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<PredictionResult.Builder> implements PredictionResultOrBuilder
 PredictionResult is the result of using a model to create predictions.
 
Protobuf type google.cloud.financialservices.v1.PredictionResult
  • 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<PredictionResult.Builder>
    • internalGetMutableMapFieldReflection

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

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

      public PredictionResult.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<PredictionResult.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<PredictionResult.Builder>
    • getDefaultInstanceForType

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

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

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

      public PredictionResult.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<PredictionResult.Builder>
    • mergeFrom

      public PredictionResult.Builder mergeFrom(PredictionResult other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<PredictionResult.Builder>
    • mergeFrom

      public PredictionResult.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<PredictionResult.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. The resource name of the PredictionResult.
       format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/predictionResults/{prediction_result}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface PredictionResultOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The resource name of the PredictionResult.
       format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/predictionResults/{prediction_result}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface PredictionResultOrBuilder
      Returns:
      The bytes for name.
    • setName

      public PredictionResult.Builder setName(String value)
       Output only. The resource name of the PredictionResult.
       format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/predictionResults/{prediction_result}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public PredictionResult.Builder clearName()
       Output only. The resource name of the PredictionResult.
       format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/predictionResults/{prediction_result}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public PredictionResult.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the PredictionResult.
       format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/predictionResults/{prediction_result}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      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 PredictionResultOrBuilder
      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 PredictionResultOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public PredictionResult.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 PredictionResult.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 PredictionResult.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 PredictionResult.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 PredictionResultOrBuilder
    • 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 PredictionResultOrBuilder
      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 PredictionResultOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public PredictionResult.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 PredictionResult.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 PredictionResult.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 PredictionResult.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 PredictionResultOrBuilder
    • getLabelsCount

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

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

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

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

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

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

      public PredictionResult.Builder clearLabels()
    • removeLabels

      public PredictionResult.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 PredictionResult.Builder putLabels(String key, String value)
       Labels
       
      map<string, string> labels = 4;
    • putAllLabels

      public PredictionResult.Builder putAllLabels(Map<String,String> values)
       Labels
       
      map<string, string> labels = 4;
    • getStateValue

      public int getStateValue()
       Output only. State of the PredictionResult (creating, active, deleting,
       etc.)
       
      .google.cloud.financialservices.v1.PredictionResult.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface PredictionResultOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public PredictionResult.Builder setStateValue(int value)
       Output only. State of the PredictionResult (creating, active, deleting,
       etc.)
       
      .google.cloud.financialservices.v1.PredictionResult.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 PredictionResult.State getState()
       Output only. State of the PredictionResult (creating, active, deleting,
       etc.)
       
      .google.cloud.financialservices.v1.PredictionResult.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface PredictionResultOrBuilder
      Returns:
      The state.
    • setState

       Output only. State of the PredictionResult (creating, active, deleting,
       etc.)
       
      .google.cloud.financialservices.v1.PredictionResult.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public PredictionResult.Builder clearState()
       Output only. State of the PredictionResult (creating, active, deleting,
       etc.)
       
      .google.cloud.financialservices.v1.PredictionResult.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getDataset

      public String getDataset()
       Required. The resource name of the Dataset to do predictions on
       Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/dataset/{dataset_id}`
       
      string dataset = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getDataset in interface PredictionResultOrBuilder
      Returns:
      The dataset.
    • getDatasetBytes

      public com.google.protobuf.ByteString getDatasetBytes()
       Required. The resource name of the Dataset to do predictions on
       Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/dataset/{dataset_id}`
       
      string dataset = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getDatasetBytes in interface PredictionResultOrBuilder
      Returns:
      The bytes for dataset.
    • setDataset

      public PredictionResult.Builder setDataset(String value)
       Required. The resource name of the Dataset to do predictions on
       Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/dataset/{dataset_id}`
       
      string dataset = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The dataset to set.
      Returns:
      This builder for chaining.
    • clearDataset

      public PredictionResult.Builder clearDataset()
       Required. The resource name of the Dataset to do predictions on
       Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/dataset/{dataset_id}`
       
      string dataset = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setDatasetBytes

      public PredictionResult.Builder setDatasetBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the Dataset to do predictions on
       Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/dataset/{dataset_id}`
       
      string dataset = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      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 to use to make predictions
       Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}`
       
      string model = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getModel in interface PredictionResultOrBuilder
      Returns:
      The model.
    • getModelBytes

      public com.google.protobuf.ByteString getModelBytes()
       Required. The resource name of the Model to use to use to make predictions
       Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}`
       
      string model = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getModelBytes in interface PredictionResultOrBuilder
      Returns:
      The bytes for model.
    • setModel

      public PredictionResult.Builder setModel(String value)
       Required. The resource name of the Model to use to use to make predictions
       Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}`
       
      string model = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The model to set.
      Returns:
      This builder for chaining.
    • clearModel

      public PredictionResult.Builder clearModel()
       Required. The resource name of the Model to use to use to make predictions
       Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}`
       
      string model = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setModelBytes

      public PredictionResult.Builder setModelBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the Model to use to use to make predictions
       Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}`
       
      string model = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for model to set.
      Returns:
      This builder for chaining.
    • hasEndTime

      public boolean hasEndTime()
       Required. Specifies the latest time from which data is used to generate
       features for predictions.  This time should be no later than the end of the
       [date_range][google.cloud.financialservices.v1.Dataset.date_range] of the
       dataset.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasEndTime in interface PredictionResultOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Required. Specifies the latest time from which data is used to generate
       features for predictions.  This time should be no later than the end of the
       [date_range][google.cloud.financialservices.v1.Dataset.date_range] of the
       dataset.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEndTime in interface PredictionResultOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public PredictionResult.Builder setEndTime(com.google.protobuf.Timestamp value)
       Required. Specifies the latest time from which data is used to generate
       features for predictions.  This time should be no later than the end of the
       [date_range][google.cloud.financialservices.v1.Dataset.date_range] of the
       dataset.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = REQUIRED];
    • setEndTime

      public PredictionResult.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Required. Specifies the latest time from which data is used to generate
       features for predictions.  This time should be no later than the end of the
       [date_range][google.cloud.financialservices.v1.Dataset.date_range] of the
       dataset.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = REQUIRED];
    • mergeEndTime

      public PredictionResult.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       Required. Specifies the latest time from which data is used to generate
       features for predictions.  This time should be no later than the end of the
       [date_range][google.cloud.financialservices.v1.Dataset.date_range] of the
       dataset.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = REQUIRED];
    • clearEndTime

      public PredictionResult.Builder clearEndTime()
       Required. Specifies the latest time from which data is used to generate
       features for predictions.  This time should be no later than the end of the
       [date_range][google.cloud.financialservices.v1.Dataset.date_range] of the
       dataset.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = REQUIRED];
    • getEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
       Required. Specifies the latest time from which data is used to generate
       features for predictions.  This time should be no later than the end of the
       [date_range][google.cloud.financialservices.v1.Dataset.date_range] of the
       dataset.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = REQUIRED];
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Required. Specifies the latest time from which data is used to generate
       features for predictions.  This time should be no later than the end of the
       [date_range][google.cloud.financialservices.v1.Dataset.date_range] of the
       dataset.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEndTimeOrBuilder in interface PredictionResultOrBuilder
    • getPredictionPeriods

      public int getPredictionPeriods()
       The number of consecutive months to produce predictions for, ending with
       the last full month prior to
       [end_time][google.cloud.financialservices.v1.PredictionResult.end_time]
       according to the dataset's timezone.
       
      int32 prediction_periods = 10;
      Specified by:
      getPredictionPeriods in interface PredictionResultOrBuilder
      Returns:
      The predictionPeriods.
    • setPredictionPeriods

      public PredictionResult.Builder setPredictionPeriods(int value)
       The number of consecutive months to produce predictions for, ending with
       the last full month prior to
       [end_time][google.cloud.financialservices.v1.PredictionResult.end_time]
       according to the dataset's timezone.
       
      int32 prediction_periods = 10;
      Parameters:
      value - The predictionPeriods to set.
      Returns:
      This builder for chaining.
    • clearPredictionPeriods

      public PredictionResult.Builder clearPredictionPeriods()
       The number of consecutive months to produce predictions for, ending with
       the last full month prior to
       [end_time][google.cloud.financialservices.v1.PredictionResult.end_time]
       according to the dataset's timezone.
       
      int32 prediction_periods = 10;
      Returns:
      This builder for chaining.
    • hasOutputs

      public boolean hasOutputs()
       Required. Where to write the output of the predictions.
       
      .google.cloud.financialservices.v1.PredictionResult.Outputs outputs = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasOutputs in interface PredictionResultOrBuilder
      Returns:
      Whether the outputs field is set.
    • getOutputs

      public PredictionResult.Outputs getOutputs()
       Required. Where to write the output of the predictions.
       
      .google.cloud.financialservices.v1.PredictionResult.Outputs outputs = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputs in interface PredictionResultOrBuilder
      Returns:
      The outputs.
    • setOutputs

       Required. Where to write the output of the predictions.
       
      .google.cloud.financialservices.v1.PredictionResult.Outputs outputs = 11 [(.google.api.field_behavior) = REQUIRED];
    • setOutputs

      public PredictionResult.Builder setOutputs(PredictionResult.Outputs.Builder builderForValue)
       Required. Where to write the output of the predictions.
       
      .google.cloud.financialservices.v1.PredictionResult.Outputs outputs = 11 [(.google.api.field_behavior) = REQUIRED];
    • mergeOutputs

       Required. Where to write the output of the predictions.
       
      .google.cloud.financialservices.v1.PredictionResult.Outputs outputs = 11 [(.google.api.field_behavior) = REQUIRED];
    • clearOutputs

      public PredictionResult.Builder clearOutputs()
       Required. Where to write the output of the predictions.
       
      .google.cloud.financialservices.v1.PredictionResult.Outputs outputs = 11 [(.google.api.field_behavior) = REQUIRED];
    • getOutputsBuilder

      public PredictionResult.Outputs.Builder getOutputsBuilder()
       Required. Where to write the output of the predictions.
       
      .google.cloud.financialservices.v1.PredictionResult.Outputs outputs = 11 [(.google.api.field_behavior) = REQUIRED];
    • getOutputsOrBuilder

      public PredictionResult.OutputsOrBuilder getOutputsOrBuilder()
       Required. Where to write the output of the predictions.
       
      .google.cloud.financialservices.v1.PredictionResult.Outputs outputs = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputsOrBuilder in interface PredictionResultOrBuilder
    • getLineOfBusinessValue

      public int getLineOfBusinessValue()
       Output only. The line of business (Retail/Commercial) this prediction is
       for. Determined by Model, cannot be set by user.
       
      .google.cloud.financialservices.v1.LineOfBusiness line_of_business = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLineOfBusinessValue in interface PredictionResultOrBuilder
      Returns:
      The enum numeric value on the wire for lineOfBusiness.
    • setLineOfBusinessValue

      public PredictionResult.Builder setLineOfBusinessValue(int value)
       Output only. The line of business (Retail/Commercial) this prediction is
       for. Determined by Model, cannot be set by user.
       
      .google.cloud.financialservices.v1.LineOfBusiness line_of_business = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      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 prediction is
       for. Determined by Model, cannot be set by user.
       
      .google.cloud.financialservices.v1.LineOfBusiness line_of_business = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLineOfBusiness in interface PredictionResultOrBuilder
      Returns:
      The lineOfBusiness.
    • setLineOfBusiness

      public PredictionResult.Builder setLineOfBusiness(LineOfBusiness value)
       Output only. The line of business (Retail/Commercial) this prediction is
       for. Determined by Model, cannot be set by user.
       
      .google.cloud.financialservices.v1.LineOfBusiness line_of_business = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The lineOfBusiness to set.
      Returns:
      This builder for chaining.
    • clearLineOfBusiness

      public PredictionResult.Builder clearLineOfBusiness()
       Output only. The line of business (Retail/Commercial) this prediction is
       for. Determined by Model, cannot be set by user.
       
      .google.cloud.financialservices.v1.LineOfBusiness line_of_business = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.