Class EngineConfig.Builder (0.1.0)

public static final class EngineConfig.Builder extends GeneratedMessageV3.Builder<EngineConfig.Builder> implements EngineConfigOrBuilder

The EngineConfig resource creates the configuration for training a model.

Protobuf type google.cloud.financialservices.v1.EngineConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EngineConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EngineConfig.Builder
Overrides

build()

public EngineConfig build()
Returns
Type Description
EngineConfig

buildPartial()

public EngineConfig buildPartial()
Returns
Type Description
EngineConfig

clear()

public EngineConfig.Builder clear()
Returns
Type Description
EngineConfig.Builder
Overrides

clearCreateTime()

public EngineConfig.Builder clearCreateTime()

Output only. The timestamp of creation of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EngineConfig.Builder

clearEngineVersion()

public EngineConfig.Builder clearEngineVersion()

Required. The resource name of the EngineVersion used in this model tuning. format: "/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}"

string engine_version = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
EngineConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EngineConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EngineConfig.Builder
Overrides

clearHyperparameterSource()

public EngineConfig.Builder clearHyperparameterSource()

Optional. Configuration of hyperparameters source EngineConfig.

.google.cloud.financialservices.v1.EngineConfig.HyperparameterSource hyperparameter_source = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EngineConfig.Builder

clearHyperparameterSourceType()

public EngineConfig.Builder clearHyperparameterSourceType()

Optional. The origin of hyperparameters for the created EngineConfig. The default is TUNING. In this case, the hyperparameters are selected as a result of a tuning run.

.google.cloud.financialservices.v1.EngineConfig.HyperparameterSourceType hyperparameter_source_type = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EngineConfig.Builder

This builder for chaining.

clearLabels()

public EngineConfig.Builder clearLabels()
Returns
Type Description
EngineConfig.Builder

clearLineOfBusiness()

public EngineConfig.Builder clearLineOfBusiness()

Output only. The line of business (Retail/Commercial) this engine config is used for. Determined by EngineVersion, cannot be set by user.

.google.cloud.financialservices.v1.LineOfBusiness line_of_business = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EngineConfig.Builder

This builder for chaining.

clearName()

public EngineConfig.Builder clearName()

Output only. The resource name of the EngineConfig. format: "/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engine_config}"

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EngineConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EngineConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EngineConfig.Builder
Overrides

clearPerformanceTarget()

public EngineConfig.Builder clearPerformanceTarget()

Optional. PerformanceTarget gives information on how the tuning and training will be evaluated. This field is required if hyperparameter_source.type is not INHERITED, and output-only otherwise.

.google.cloud.financialservices.v1.EngineConfig.PerformanceTarget performance_target = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EngineConfig.Builder

clearState()

public EngineConfig.Builder clearState()

Output only. State of the EngineConfig (creating, active, deleting, etc.)

.google.cloud.financialservices.v1.EngineConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EngineConfig.Builder

This builder for chaining.

clearTuning()

public EngineConfig.Builder clearTuning()

Optional. Configuration for tuning in creation of the EngineConfig. This field is required if hyperparameter_source.type is not INHERITED, and output-only otherwise.

.google.cloud.financialservices.v1.EngineConfig.Tuning tuning = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EngineConfig.Builder

clearUpdateTime()

public EngineConfig.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];

Returns
Type Description
EngineConfig.Builder

clone()

public EngineConfig.Builder clone()
Returns
Type Description
EngineConfig.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Labels

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. The timestamp of creation of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The timestamp of creation of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The timestamp of creation of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public EngineConfig getDefaultInstanceForType()
Returns
Type Description
EngineConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEngineVersion()

public String getEngineVersion()

Required. The resource name of the EngineVersion used in this model tuning. format: "/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}"

string engine_version = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The engineVersion.

getEngineVersionBytes()

public ByteString getEngineVersionBytes()

Required. The resource name of the EngineVersion used in this model tuning. format: "/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}"

string engine_version = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for engineVersion.

getHyperparameterSource()

public EngineConfig.HyperparameterSource getHyperparameterSource()

Optional. Configuration of hyperparameters source EngineConfig.

.google.cloud.financialservices.v1.EngineConfig.HyperparameterSource hyperparameter_source = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EngineConfig.HyperparameterSource

The hyperparameterSource.

getHyperparameterSourceBuilder()

public EngineConfig.HyperparameterSource.Builder getHyperparameterSourceBuilder()

Optional. Configuration of hyperparameters source EngineConfig.

.google.cloud.financialservices.v1.EngineConfig.HyperparameterSource hyperparameter_source = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EngineConfig.HyperparameterSource.Builder

getHyperparameterSourceOrBuilder()

public EngineConfig.HyperparameterSourceOrBuilder getHyperparameterSourceOrBuilder()

Optional. Configuration of hyperparameters source EngineConfig.

.google.cloud.financialservices.v1.EngineConfig.HyperparameterSource hyperparameter_source = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EngineConfig.HyperparameterSourceOrBuilder

getHyperparameterSourceType()

public EngineConfig.HyperparameterSourceType getHyperparameterSourceType()

Optional. The origin of hyperparameters for the created EngineConfig. The default is TUNING. In this case, the hyperparameters are selected as a result of a tuning run.

.google.cloud.financialservices.v1.EngineConfig.HyperparameterSourceType hyperparameter_source_type = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EngineConfig.HyperparameterSourceType

The hyperparameterSourceType.

getHyperparameterSourceTypeValue()

public int getHyperparameterSourceTypeValue()

Optional. The origin of hyperparameters for the created EngineConfig. The default is TUNING. In this case, the hyperparameters are selected as a result of a tuning run.

.google.cloud.financialservices.v1.EngineConfig.HyperparameterSourceType hyperparameter_source_type = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for hyperparameterSourceType.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels

map<string, string> labels = 4;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Labels

map<string, string> labels = 4;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getLineOfBusiness()

public LineOfBusiness getLineOfBusiness()

Output only. The line of business (Retail/Commercial) this engine config is used for. Determined by EngineVersion, cannot be set by user.

.google.cloud.financialservices.v1.LineOfBusiness line_of_business = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LineOfBusiness

The lineOfBusiness.

getLineOfBusinessValue()

public int getLineOfBusinessValue()

Output only. The line of business (Retail/Commercial) this engine config is used for. Determined by EngineVersion, cannot be set by user.

.google.cloud.financialservices.v1.LineOfBusiness line_of_business = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for lineOfBusiness.

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Output only. The resource name of the EngineConfig. format: "/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engine_config}"

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the EngineConfig. format: "/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engine_config}"

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getPerformanceTarget()

public EngineConfig.PerformanceTarget getPerformanceTarget()

Optional. PerformanceTarget gives information on how the tuning and training will be evaluated. This field is required if hyperparameter_source.type is not INHERITED, and output-only otherwise.

.google.cloud.financialservices.v1.EngineConfig.PerformanceTarget performance_target = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EngineConfig.PerformanceTarget

The performanceTarget.

getPerformanceTargetBuilder()

public EngineConfig.PerformanceTarget.Builder getPerformanceTargetBuilder()

Optional. PerformanceTarget gives information on how the tuning and training will be evaluated. This field is required if hyperparameter_source.type is not INHERITED, and output-only otherwise.

.google.cloud.financialservices.v1.EngineConfig.PerformanceTarget performance_target = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EngineConfig.PerformanceTarget.Builder

getPerformanceTargetOrBuilder()

public EngineConfig.PerformanceTargetOrBuilder getPerformanceTargetOrBuilder()

Optional. PerformanceTarget gives information on how the tuning and training will be evaluated. This field is required if hyperparameter_source.type is not INHERITED, and output-only otherwise.

.google.cloud.financialservices.v1.EngineConfig.PerformanceTarget performance_target = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EngineConfig.PerformanceTargetOrBuilder

getState()

public EngineConfig.State getState()

Output only. State of the EngineConfig (creating, active, deleting, etc.)

.google.cloud.financialservices.v1.EngineConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EngineConfig.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the EngineConfig (creating, active, deleting, etc.)

.google.cloud.financialservices.v1.EngineConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getTuning()

public EngineConfig.Tuning getTuning()

Optional. Configuration for tuning in creation of the EngineConfig. This field is required if hyperparameter_source.type is not INHERITED, and output-only otherwise.

.google.cloud.financialservices.v1.EngineConfig.Tuning tuning = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EngineConfig.Tuning

The tuning.

getTuningBuilder()

public EngineConfig.Tuning.Builder getTuningBuilder()

Optional. Configuration for tuning in creation of the EngineConfig. This field is required if hyperparameter_source.type is not INHERITED, and output-only otherwise.

.google.cloud.financialservices.v1.EngineConfig.Tuning tuning = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EngineConfig.Tuning.Builder

getTuningOrBuilder()

public EngineConfig.TuningOrBuilder getTuningOrBuilder()

Optional. Configuration for tuning in creation of the EngineConfig. This field is required if hyperparameter_source.type is not INHERITED, and output-only otherwise.

.google.cloud.financialservices.v1.EngineConfig.Tuning tuning = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EngineConfig.TuningOrBuilder

getUpdateTime()

public 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
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public 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];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public 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];

Returns
Type Description
TimestampOrBuilder

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];

Returns
Type Description
boolean

Whether the createTime field is set.

hasHyperparameterSource()

public boolean hasHyperparameterSource()

Optional. Configuration of hyperparameters source EngineConfig.

.google.cloud.financialservices.v1.EngineConfig.HyperparameterSource hyperparameter_source = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the hyperparameterSource field is set.

hasPerformanceTarget()

public boolean hasPerformanceTarget()

Optional. PerformanceTarget gives information on how the tuning and training will be evaluated. This field is required if hyperparameter_source.type is not INHERITED, and output-only otherwise.

.google.cloud.financialservices.v1.EngineConfig.PerformanceTarget performance_target = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the performanceTarget field is set.

hasTuning()

public boolean hasTuning()

Optional. Configuration for tuning in creation of the EngineConfig. This field is required if hyperparameter_source.type is not INHERITED, and output-only otherwise.

.google.cloud.financialservices.v1.EngineConfig.Tuning tuning = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the tuning field is set.

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];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public EngineConfig.Builder mergeCreateTime(Timestamp value)

Output only. The timestamp of creation of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
EngineConfig.Builder

mergeFrom(EngineConfig other)

public EngineConfig.Builder mergeFrom(EngineConfig other)
Parameter
Name Description
other EngineConfig
Returns
Type Description
EngineConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EngineConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EngineConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EngineConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EngineConfig.Builder
Overrides

mergeHyperparameterSource(EngineConfig.HyperparameterSource value)

public EngineConfig.Builder mergeHyperparameterSource(EngineConfig.HyperparameterSource value)

Optional. Configuration of hyperparameters source EngineConfig.

.google.cloud.financialservices.v1.EngineConfig.HyperparameterSource hyperparameter_source = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EngineConfig.HyperparameterSource
Returns
Type Description
EngineConfig.Builder

mergePerformanceTarget(EngineConfig.PerformanceTarget value)

public EngineConfig.Builder mergePerformanceTarget(EngineConfig.PerformanceTarget value)

Optional. PerformanceTarget gives information on how the tuning and training will be evaluated. This field is required if hyperparameter_source.type is not INHERITED, and output-only otherwise.

.google.cloud.financialservices.v1.EngineConfig.PerformanceTarget performance_target = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EngineConfig.PerformanceTarget
Returns
Type Description
EngineConfig.Builder

mergeTuning(EngineConfig.Tuning value)

public EngineConfig.Builder mergeTuning(EngineConfig.Tuning value)

Optional. Configuration for tuning in creation of the EngineConfig. This field is required if hyperparameter_source.type is not INHERITED, and output-only otherwise.

.google.cloud.financialservices.v1.EngineConfig.Tuning tuning = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EngineConfig.Tuning
Returns
Type Description
EngineConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EngineConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EngineConfig.Builder
Overrides

mergeUpdateTime(Timestamp value)

public EngineConfig.Builder mergeUpdateTime(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];

Parameter
Name Description
value Timestamp
Returns
Type Description
EngineConfig.Builder

putAllLabels(Map<String,String> values)

public EngineConfig.Builder putAllLabels(Map<String,String> values)

Labels

map<string, string> labels = 4;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
EngineConfig.Builder

putLabels(String key, String value)

public EngineConfig.Builder putLabels(String key, String value)

Labels

map<string, string> labels = 4;

Parameters
Name Description
key String
value String
Returns
Type Description
EngineConfig.Builder

removeLabels(String key)

public EngineConfig.Builder removeLabels(String key)

Labels

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
EngineConfig.Builder

setCreateTime(Timestamp value)

public EngineConfig.Builder setCreateTime(Timestamp value)

Output only. The timestamp of creation of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
EngineConfig.Builder

setCreateTime(Timestamp.Builder builderForValue)

public EngineConfig.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The timestamp of creation of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EngineConfig.Builder

setEngineVersion(String value)

public EngineConfig.Builder setEngineVersion(String value)

Required. The resource name of the EngineVersion used in this model tuning. format: "/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}"

string engine_version = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The engineVersion to set.

Returns
Type Description
EngineConfig.Builder

This builder for chaining.

setEngineVersionBytes(ByteString value)

public EngineConfig.Builder setEngineVersionBytes(ByteString value)

Required. The resource name of the EngineVersion used in this model tuning. format: "/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}"

string engine_version = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for engineVersion to set.

Returns
Type Description
EngineConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EngineConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EngineConfig.Builder
Overrides

setHyperparameterSource(EngineConfig.HyperparameterSource value)

public EngineConfig.Builder setHyperparameterSource(EngineConfig.HyperparameterSource value)

Optional. Configuration of hyperparameters source EngineConfig.

.google.cloud.financialservices.v1.EngineConfig.HyperparameterSource hyperparameter_source = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EngineConfig.HyperparameterSource
Returns
Type Description
EngineConfig.Builder

setHyperparameterSource(EngineConfig.HyperparameterSource.Builder builderForValue)

public EngineConfig.Builder setHyperparameterSource(EngineConfig.HyperparameterSource.Builder builderForValue)

Optional. Configuration of hyperparameters source EngineConfig.

.google.cloud.financialservices.v1.EngineConfig.HyperparameterSource hyperparameter_source = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue EngineConfig.HyperparameterSource.Builder
Returns
Type Description
EngineConfig.Builder

setHyperparameterSourceType(EngineConfig.HyperparameterSourceType value)

public EngineConfig.Builder setHyperparameterSourceType(EngineConfig.HyperparameterSourceType value)

Optional. The origin of hyperparameters for the created EngineConfig. The default is TUNING. In this case, the hyperparameters are selected as a result of a tuning run.

.google.cloud.financialservices.v1.EngineConfig.HyperparameterSourceType hyperparameter_source_type = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EngineConfig.HyperparameterSourceType

The hyperparameterSourceType to set.

Returns
Type Description
EngineConfig.Builder

This builder for chaining.

setHyperparameterSourceTypeValue(int value)

public EngineConfig.Builder setHyperparameterSourceTypeValue(int value)

Optional. The origin of hyperparameters for the created EngineConfig. The default is TUNING. In this case, the hyperparameters are selected as a result of a tuning run.

.google.cloud.financialservices.v1.EngineConfig.HyperparameterSourceType hyperparameter_source_type = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for hyperparameterSourceType to set.

Returns
Type Description
EngineConfig.Builder

This builder for chaining.

setLineOfBusiness(LineOfBusiness value)

public EngineConfig.Builder setLineOfBusiness(LineOfBusiness value)

Output only. The line of business (Retail/Commercial) this engine config is used for. Determined by EngineVersion, cannot be set by user.

.google.cloud.financialservices.v1.LineOfBusiness line_of_business = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value LineOfBusiness

The lineOfBusiness to set.

Returns
Type Description
EngineConfig.Builder

This builder for chaining.

setLineOfBusinessValue(int value)

public EngineConfig.Builder setLineOfBusinessValue(int value)

Output only. The line of business (Retail/Commercial) this engine config is used for. Determined by EngineVersion, cannot be set by user.

.google.cloud.financialservices.v1.LineOfBusiness line_of_business = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for lineOfBusiness to set.

Returns
Type Description
EngineConfig.Builder

This builder for chaining.

setName(String value)

public EngineConfig.Builder setName(String value)

Output only. The resource name of the EngineConfig. format: "/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engine_config}"

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
EngineConfig.Builder

This builder for chaining.

setNameBytes(ByteString value)

public EngineConfig.Builder setNameBytes(ByteString value)

Output only. The resource name of the EngineConfig. format: "/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engine_config}"

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
EngineConfig.Builder

This builder for chaining.

setPerformanceTarget(EngineConfig.PerformanceTarget value)

public EngineConfig.Builder setPerformanceTarget(EngineConfig.PerformanceTarget value)

Optional. PerformanceTarget gives information on how the tuning and training will be evaluated. This field is required if hyperparameter_source.type is not INHERITED, and output-only otherwise.

.google.cloud.financialservices.v1.EngineConfig.PerformanceTarget performance_target = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EngineConfig.PerformanceTarget
Returns
Type Description
EngineConfig.Builder

setPerformanceTarget(EngineConfig.PerformanceTarget.Builder builderForValue)

public EngineConfig.Builder setPerformanceTarget(EngineConfig.PerformanceTarget.Builder builderForValue)

Optional. PerformanceTarget gives information on how the tuning and training will be evaluated. This field is required if hyperparameter_source.type is not INHERITED, and output-only otherwise.

.google.cloud.financialservices.v1.EngineConfig.PerformanceTarget performance_target = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue EngineConfig.PerformanceTarget.Builder
Returns
Type Description
EngineConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EngineConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EngineConfig.Builder
Overrides

setState(EngineConfig.State value)

public EngineConfig.Builder setState(EngineConfig.State value)

Output only. State of the EngineConfig (creating, active, deleting, etc.)

.google.cloud.financialservices.v1.EngineConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value EngineConfig.State

The state to set.

Returns
Type Description
EngineConfig.Builder

This builder for chaining.

setStateValue(int value)

public EngineConfig.Builder setStateValue(int value)

Output only. State of the EngineConfig (creating, active, deleting, etc.)

.google.cloud.financialservices.v1.EngineConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
EngineConfig.Builder

This builder for chaining.

setTuning(EngineConfig.Tuning value)

public EngineConfig.Builder setTuning(EngineConfig.Tuning value)

Optional. Configuration for tuning in creation of the EngineConfig. This field is required if hyperparameter_source.type is not INHERITED, and output-only otherwise.

.google.cloud.financialservices.v1.EngineConfig.Tuning tuning = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EngineConfig.Tuning
Returns
Type Description
EngineConfig.Builder

setTuning(EngineConfig.Tuning.Builder builderForValue)

public EngineConfig.Builder setTuning(EngineConfig.Tuning.Builder builderForValue)

Optional. Configuration for tuning in creation of the EngineConfig. This field is required if hyperparameter_source.type is not INHERITED, and output-only otherwise.

.google.cloud.financialservices.v1.EngineConfig.Tuning tuning = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue EngineConfig.Tuning.Builder
Returns
Type Description
EngineConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final EngineConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EngineConfig.Builder
Overrides

setUpdateTime(Timestamp value)

public EngineConfig.Builder setUpdateTime(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];

Parameter
Name Description
value Timestamp
Returns
Type Description
EngineConfig.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public EngineConfig.Builder setUpdateTime(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EngineConfig.Builder