Class EngineVersion.Builder

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

public static final class EngineVersion.Builder extends com.google.protobuf.GeneratedMessage.Builder<EngineVersion.Builder> implements EngineVersionOrBuilder
 EngineVersion controls which version of the engine is used to tune, train,
 and run the model.
 
Protobuf type google.cloud.financialservices.v1.EngineVersion
  • 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<EngineVersion.Builder>
    • clear

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

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

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

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

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

      public EngineVersion.Builder mergeFrom(EngineVersion other)
    • isInitialized

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

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

      public String getName()
       Output only. Identifier. The resource name of the EngineVersion
       format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface EngineVersionOrBuilder
      Returns:
      The name.
    • getNameBytes

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

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

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

      public EngineVersion.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. Identifier. The resource name of the EngineVersion
       format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       Output only. The state of the version.
       
      .google.cloud.financialservices.v1.EngineVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface EngineVersionOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public EngineVersion.Builder setStateValue(int value)
       Output only. The state of the version.
       
      .google.cloud.financialservices.v1.EngineVersion.State state = 2 [(.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 EngineVersion.State getState()
       Output only. The state of the version.
       
      .google.cloud.financialservices.v1.EngineVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface EngineVersionOrBuilder
      Returns:
      The state.
    • setState

      public EngineVersion.Builder setState(EngineVersion.State value)
       Output only. The state of the version.
       
      .google.cloud.financialservices.v1.EngineVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public EngineVersion.Builder clearState()
       Output only. The state of the version.
       
      .google.cloud.financialservices.v1.EngineVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasExpectedLimitationStartTime

      public boolean hasExpectedLimitationStartTime()
       Output only. Planned time to stop allowing training/tuning using this
       version. Existing trained models can still be used for prediction/backtest.
       
      .google.protobuf.Timestamp expected_limitation_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasExpectedLimitationStartTime in interface EngineVersionOrBuilder
      Returns:
      Whether the expectedLimitationStartTime field is set.
    • getExpectedLimitationStartTime

      public com.google.protobuf.Timestamp getExpectedLimitationStartTime()
       Output only. Planned time to stop allowing training/tuning using this
       version. Existing trained models can still be used for prediction/backtest.
       
      .google.protobuf.Timestamp expected_limitation_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpectedLimitationStartTime in interface EngineVersionOrBuilder
      Returns:
      The expectedLimitationStartTime.
    • setExpectedLimitationStartTime

      public EngineVersion.Builder setExpectedLimitationStartTime(com.google.protobuf.Timestamp value)
       Output only. Planned time to stop allowing training/tuning using this
       version. Existing trained models can still be used for prediction/backtest.
       
      .google.protobuf.Timestamp expected_limitation_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setExpectedLimitationStartTime

      public EngineVersion.Builder setExpectedLimitationStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Planned time to stop allowing training/tuning using this
       version. Existing trained models can still be used for prediction/backtest.
       
      .google.protobuf.Timestamp expected_limitation_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeExpectedLimitationStartTime

      public EngineVersion.Builder mergeExpectedLimitationStartTime(com.google.protobuf.Timestamp value)
       Output only. Planned time to stop allowing training/tuning using this
       version. Existing trained models can still be used for prediction/backtest.
       
      .google.protobuf.Timestamp expected_limitation_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearExpectedLimitationStartTime

      public EngineVersion.Builder clearExpectedLimitationStartTime()
       Output only. Planned time to stop allowing training/tuning using this
       version. Existing trained models can still be used for prediction/backtest.
       
      .google.protobuf.Timestamp expected_limitation_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getExpectedLimitationStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getExpectedLimitationStartTimeBuilder()
       Output only. Planned time to stop allowing training/tuning using this
       version. Existing trained models can still be used for prediction/backtest.
       
      .google.protobuf.Timestamp expected_limitation_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getExpectedLimitationStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpectedLimitationStartTimeOrBuilder()
       Output only. Planned time to stop allowing training/tuning using this
       version. Existing trained models can still be used for prediction/backtest.
       
      .google.protobuf.Timestamp expected_limitation_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpectedLimitationStartTimeOrBuilder in interface EngineVersionOrBuilder
    • hasExpectedDecommissionTime

      public boolean hasExpectedDecommissionTime()
       Output only. Planned time to stop supporting the version, in addition
       to no training or tuning, models trained on this version
       can no longer be used for prediction/backtest.
       
      .google.protobuf.Timestamp expected_decommission_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasExpectedDecommissionTime in interface EngineVersionOrBuilder
      Returns:
      Whether the expectedDecommissionTime field is set.
    • getExpectedDecommissionTime

      public com.google.protobuf.Timestamp getExpectedDecommissionTime()
       Output only. Planned time to stop supporting the version, in addition
       to no training or tuning, models trained on this version
       can no longer be used for prediction/backtest.
       
      .google.protobuf.Timestamp expected_decommission_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpectedDecommissionTime in interface EngineVersionOrBuilder
      Returns:
      The expectedDecommissionTime.
    • setExpectedDecommissionTime

      public EngineVersion.Builder setExpectedDecommissionTime(com.google.protobuf.Timestamp value)
       Output only. Planned time to stop supporting the version, in addition
       to no training or tuning, models trained on this version
       can no longer be used for prediction/backtest.
       
      .google.protobuf.Timestamp expected_decommission_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setExpectedDecommissionTime

      public EngineVersion.Builder setExpectedDecommissionTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Planned time to stop supporting the version, in addition
       to no training or tuning, models trained on this version
       can no longer be used for prediction/backtest.
       
      .google.protobuf.Timestamp expected_decommission_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeExpectedDecommissionTime

      public EngineVersion.Builder mergeExpectedDecommissionTime(com.google.protobuf.Timestamp value)
       Output only. Planned time to stop supporting the version, in addition
       to no training or tuning, models trained on this version
       can no longer be used for prediction/backtest.
       
      .google.protobuf.Timestamp expected_decommission_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearExpectedDecommissionTime

      public EngineVersion.Builder clearExpectedDecommissionTime()
       Output only. Planned time to stop supporting the version, in addition
       to no training or tuning, models trained on this version
       can no longer be used for prediction/backtest.
       
      .google.protobuf.Timestamp expected_decommission_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getExpectedDecommissionTimeBuilder

      public com.google.protobuf.Timestamp.Builder getExpectedDecommissionTimeBuilder()
       Output only. Planned time to stop supporting the version, in addition
       to no training or tuning, models trained on this version
       can no longer be used for prediction/backtest.
       
      .google.protobuf.Timestamp expected_decommission_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getExpectedDecommissionTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpectedDecommissionTimeOrBuilder()
       Output only. Planned time to stop supporting the version, in addition
       to no training or tuning, models trained on this version
       can no longer be used for prediction/backtest.
       
      .google.protobuf.Timestamp expected_decommission_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpectedDecommissionTimeOrBuilder in interface EngineVersionOrBuilder
    • getLineOfBusinessValue

      public int getLineOfBusinessValue()
       Output only. The line of business (Retail/Commercial) this engine version
       is used for.
       
      .google.cloud.financialservices.v1.LineOfBusiness line_of_business = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLineOfBusinessValue in interface EngineVersionOrBuilder
      Returns:
      The enum numeric value on the wire for lineOfBusiness.
    • setLineOfBusinessValue

      public EngineVersion.Builder setLineOfBusinessValue(int value)
       Output only. The line of business (Retail/Commercial) this engine version
       is used for.
       
      .google.cloud.financialservices.v1.LineOfBusiness line_of_business = 5 [(.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 engine version
       is used for.
       
      .google.cloud.financialservices.v1.LineOfBusiness line_of_business = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLineOfBusiness in interface EngineVersionOrBuilder
      Returns:
      The lineOfBusiness.
    • setLineOfBusiness

      public EngineVersion.Builder setLineOfBusiness(LineOfBusiness value)
       Output only. The line of business (Retail/Commercial) this engine version
       is used for.
       
      .google.cloud.financialservices.v1.LineOfBusiness line_of_business = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The lineOfBusiness to set.
      Returns:
      This builder for chaining.
    • clearLineOfBusiness

      public EngineVersion.Builder clearLineOfBusiness()
       Output only. The line of business (Retail/Commercial) this engine version
       is used for.
       
      .google.cloud.financialservices.v1.LineOfBusiness line_of_business = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.