Class EngineConfig.HyperparameterSource.Builder (0.1.0)

public static final class EngineConfig.HyperparameterSource.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EngineConfig.HyperparameterSource build()
Returns
Type Description
EngineConfig.HyperparameterSource

buildPartial()

public EngineConfig.HyperparameterSource buildPartial()
Returns
Type Description
EngineConfig.HyperparameterSource

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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
Type Description
EngineConfig.HyperparameterSource.Builder

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
Type Description
EngineConfig.HyperparameterSource.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public EngineConfig.HyperparameterSource getDefaultInstanceForType()
Returns
Type Description
EngineConfig.HyperparameterSource

getDescriptorForType()

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

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

Returns
Type Description
String

The sourceEngineConfig.

getSourceEngineConfigBytes()

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

Returns
Type Description
ByteString

The bytes for sourceEngineConfig.

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

Returns
Type Description
String

The sourceEngineVersion.

getSourceEngineVersionBytes()

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

Returns
Type Description
ByteString

The bytes for sourceEngineVersion.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EngineConfig.HyperparameterSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSourceEngineConfig(String value)

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

Parameter
Name Description
value String

The sourceEngineConfig to set.

Returns
Type Description
EngineConfig.HyperparameterSource.Builder

This builder for chaining.

setSourceEngineConfigBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for sourceEngineConfig to set.

Returns
Type Description
EngineConfig.HyperparameterSource.Builder

This builder for chaining.

setSourceEngineVersion(String value)

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

Parameter
Name Description
value String

The sourceEngineVersion to set.

Returns
Type Description
EngineConfig.HyperparameterSource.Builder

This builder for chaining.

setSourceEngineVersionBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for sourceEngineVersion to set.

Returns
Type Description
EngineConfig.HyperparameterSource.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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