Class EngineConfig.Tuning.Builder

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

public static final class EngineConfig.Tuning.Builder extends com.google.protobuf.GeneratedMessage.Builder<EngineConfig.Tuning.Builder> implements EngineConfig.TuningOrBuilder
 The parameters needed for the tuning operation, these are used only in
 tuning and not passed on to training.
 
Protobuf type google.cloud.financialservices.v1.EngineConfig.Tuning
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<EngineConfig.Tuning.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<EngineConfig.Tuning.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<EngineConfig.Tuning.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public EngineConfig.Tuning.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<EngineConfig.Tuning.Builder>
      Throws:
      IOException
    • getPrimaryDataset

      public String getPrimaryDataset()
       Required. The resource name of the Primary Dataset used in this model
       tuning. 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 = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getPrimaryDataset in interface EngineConfig.TuningOrBuilder
      Returns:
      The primaryDataset.
    • getPrimaryDatasetBytes

      public com.google.protobuf.ByteString getPrimaryDatasetBytes()
       Required. The resource name of the Primary Dataset used in this model
       tuning. 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 = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getPrimaryDatasetBytes in interface EngineConfig.TuningOrBuilder
      Returns:
      The bytes for primaryDataset.
    • setPrimaryDataset

      public EngineConfig.Tuning.Builder setPrimaryDataset(String value)
       Required. The resource name of the Primary Dataset used in this model
       tuning. 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 = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The primaryDataset to set.
      Returns:
      This builder for chaining.
    • clearPrimaryDataset

      public EngineConfig.Tuning.Builder clearPrimaryDataset()
       Required. The resource name of the Primary Dataset used in this model
       tuning. 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 = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setPrimaryDatasetBytes

      public EngineConfig.Tuning.Builder setPrimaryDatasetBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the Primary Dataset used in this model
       tuning. 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 = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for primaryDataset 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 tuning.  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];
      Specified by:
      hasEndTime in interface EngineConfig.TuningOrBuilder
      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 tuning.  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];
      Specified by:
      getEndTime in interface EngineConfig.TuningOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public EngineConfig.Tuning.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 tuning.  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];
    • setEndTime

      public EngineConfig.Tuning.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 tuning.  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];
    • mergeEndTime

      public EngineConfig.Tuning.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 tuning.  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];
    • clearEndTime

      public EngineConfig.Tuning.Builder clearEndTime()
       Required. End_time specifies the latest time from which labels are used
       and from which data is used to generate features for tuning.  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];
    • 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 tuning.  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];
    • 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 tuning.  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];
      Specified by:
      getEndTimeOrBuilder in interface EngineConfig.TuningOrBuilder