Class EngineConfig.HyperparameterSource.Builder

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

public static final class EngineConfig.HyperparameterSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<EngineConfig.HyperparameterSource.Builder> implements EngineConfig.HyperparameterSourceOrBuilder
 Parameters for bootstrapping an Engine Config with the results of another
 one.
 
Protobuf type google.cloud.financialservices.v1.EngineConfig.HyperparameterSource
  • 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.HyperparameterSource.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.HyperparameterSource.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.HyperparameterSource.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

      public String getSourceEngineConfig()
       Required. The resource name of the source EngineConfig whose outputs are
       used. Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engine_config}`
       
      string source_engine_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSourceEngineConfig in interface EngineConfig.HyperparameterSourceOrBuilder
      Returns:
      The sourceEngineConfig.
    • getSourceEngineConfigBytes

      public com.google.protobuf.ByteString getSourceEngineConfigBytes()
       Required. The resource name of the source EngineConfig whose outputs are
       used. Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engine_config}`
       
      string source_engine_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSourceEngineConfigBytes in interface EngineConfig.HyperparameterSourceOrBuilder
      Returns:
      The bytes for sourceEngineConfig.
    • setSourceEngineConfig

      public EngineConfig.HyperparameterSource.Builder setSourceEngineConfig(String value)
       Required. The resource name of the source EngineConfig whose outputs are
       used. Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engine_config}`
       
      string source_engine_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The sourceEngineConfig to set.
      Returns:
      This builder for chaining.
    • clearSourceEngineConfig

      public EngineConfig.HyperparameterSource.Builder clearSourceEngineConfig()
       Required. The resource name of the source EngineConfig whose outputs are
       used. Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engine_config}`
       
      string source_engine_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setSourceEngineConfigBytes

      public EngineConfig.HyperparameterSource.Builder setSourceEngineConfigBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the source EngineConfig whose outputs are
       used. Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engine_config}`
       
      string source_engine_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for sourceEngineConfig to set.
      Returns:
      This builder for chaining.
    • getSourceEngineVersion

      public String getSourceEngineVersion()
       Output only. The resource name of the EngineVersion that was used in the
       tuning run. Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}`
       
      string source_engine_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSourceEngineVersion in interface EngineConfig.HyperparameterSourceOrBuilder
      Returns:
      The sourceEngineVersion.
    • getSourceEngineVersionBytes

      public com.google.protobuf.ByteString getSourceEngineVersionBytes()
       Output only. The resource name of the EngineVersion that was used in the
       tuning run. Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}`
       
      string source_engine_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSourceEngineVersionBytes in interface EngineConfig.HyperparameterSourceOrBuilder
      Returns:
      The bytes for sourceEngineVersion.
    • setSourceEngineVersion

      public EngineConfig.HyperparameterSource.Builder setSourceEngineVersion(String value)
       Output only. The resource name of the EngineVersion that was used in the
       tuning run. Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}`
       
      string source_engine_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The sourceEngineVersion to set.
      Returns:
      This builder for chaining.
    • clearSourceEngineVersion

      public EngineConfig.HyperparameterSource.Builder clearSourceEngineVersion()
       Output only. The resource name of the EngineVersion that was used in the
       tuning run. Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}`
       
      string source_engine_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setSourceEngineVersionBytes

      public EngineConfig.HyperparameterSource.Builder setSourceEngineVersionBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the EngineVersion that was used in the
       tuning run. Format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}`
       
      string source_engine_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for sourceEngineVersion to set.
      Returns:
      This builder for chaining.