Interface ModelOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Model, Model.Builder

@Generated public interface ModelOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Output only. The resource name of the Model.
       format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Output only. The resource name of the Model.
       format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for name.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The timestamp of creation of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp of creation of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp of creation of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The timestamp of the most recent update of this resource.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. The timestamp of the most recent update of this resource.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The timestamp of the most recent update of this resource.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLabelsCount

      int getLabelsCount()
       Labels
       
      map<string, string> labels = 4;
    • containsLabels

      boolean containsLabels(String key)
       Labels
       
      map<string, string> labels = 4;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Labels
       
      map<string, string> labels = 4;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Labels
       
      map<string, string> labels = 4;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Labels
       
      map<string, string> labels = 4;
    • getStateValue

      int getStateValue()
       Output only. State of the model (creating, active, deleting, etc.)
       
      .google.cloud.financialservices.v1.Model.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

      Model.State getState()
       Output only. State of the model (creating, active, deleting, etc.)
       
      .google.cloud.financialservices.v1.Model.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getEngineVersion

      String getEngineVersion()
       Output only. The EngineVersion used in training this model.  This is output
       only, and is determined from the EngineConfig used.
       
      string engine_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The engineVersion.
    • getEngineVersionBytes

      com.google.protobuf.ByteString getEngineVersionBytes()
       Output only. The EngineVersion used in training this model.  This is output
       only, and is determined from the EngineConfig used.
       
      string engine_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for engineVersion.
    • getEngineConfig

      String getEngineConfig()
       Required. The resource name of the EngineConfig the model training will be
       based on. Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engineConfig}`
       
      string engine_config = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The engineConfig.
    • getEngineConfigBytes

      com.google.protobuf.ByteString getEngineConfigBytes()
       Required. The resource name of the EngineConfig the model training will be
       based on. Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engineConfig}`
       
      string engine_config = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for engineConfig.
    • getPrimaryDataset

      String getPrimaryDataset()
       Required. The resource name of the Primary Dataset used in this model
       training. For information about how primary and auxiliary datasets are
       used, refer to the engine version's documentation.  Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}`
       
      string primary_dataset = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The primaryDataset.
    • getPrimaryDatasetBytes

      com.google.protobuf.ByteString getPrimaryDatasetBytes()
       Required. The resource name of the Primary Dataset used in this model
       training. For information about how primary and auxiliary datasets are
       used, refer to the engine version's documentation.  Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}`
       
      string primary_dataset = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for primaryDataset.
    • hasEndTime

      boolean hasEndTime()
       Required. End_time specifies the latest time from which labels are used and
       from which data is used to generate features for training.  End_time should
       be no later than the end of the date_range of the dataset.
       
      .google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the endTime field is set.
    • getEndTime

      com.google.protobuf.Timestamp getEndTime()
       Required. End_time specifies the latest time from which labels are used and
       from which data is used to generate features for training.  End_time should
       be no later than the end of the date_range of the dataset.
       
      .google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The endTime.
    • getEndTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Required. End_time specifies the latest time from which labels are used and
       from which data is used to generate features for training.  End_time should
       be no later than the end of the date_range of the dataset.
       
      .google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = REQUIRED];
    • getLineOfBusinessValue

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

      LineOfBusiness getLineOfBusiness()
       Output only. The line of business (Retail/Commercial) this model is used
       for. Determined by EngineConfig, cannot be set by user.
       
      .google.cloud.financialservices.v1.LineOfBusiness line_of_business = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The lineOfBusiness.