public static final class EngineVersion.Builder extends GeneratedMessageV3.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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EngineVersion.BuilderImplements
EngineVersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EngineVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
build()
public EngineVersion build()
Returns | |
---|---|
Type | Description |
EngineVersion |
buildPartial()
public EngineVersion buildPartial()
Returns | |
---|---|
Type | Description |
EngineVersion |
clear()
public EngineVersion.Builder clear()
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
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];
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
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];
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
clearField(Descriptors.FieldDescriptor field)
public EngineVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
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 | |
---|---|
Type | Description |
EngineVersion.Builder |
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 | |
---|---|
Type | Description |
EngineVersion.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public EngineVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
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 | |
---|---|
Type | Description |
EngineVersion.Builder |
This builder for chaining. |
clone()
public EngineVersion.Builder clone()
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
getDefaultInstanceForType()
public EngineVersion getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
EngineVersion |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExpectedDecommissionTime()
public 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];
Returns | |
---|---|
Type | Description |
Timestamp |
The expectedDecommissionTime. |
getExpectedDecommissionTimeBuilder()
public 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];
Returns | |
---|---|
Type | Description |
Builder |
getExpectedDecommissionTimeOrBuilder()
public 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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getExpectedLimitationStartTime()
public 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];
Returns | |
---|---|
Type | Description |
Timestamp |
The expectedLimitationStartTime. |
getExpectedLimitationStartTimeBuilder()
public 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];
Returns | |
---|---|
Type | Description |
Builder |
getExpectedLimitationStartTimeOrBuilder()
public 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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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];
Returns | |
---|---|
Type | Description |
LineOfBusiness |
The lineOfBusiness. |
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];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for lineOfBusiness. |
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];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public 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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
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];
Returns | |
---|---|
Type | Description |
EngineVersion.State |
The state. |
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];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the expectedDecommissionTime field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the expectedLimitationStartTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeExpectedDecommissionTime(Timestamp value)
public EngineVersion.Builder mergeExpectedDecommissionTime(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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
mergeExpectedLimitationStartTime(Timestamp value)
public EngineVersion.Builder mergeExpectedLimitationStartTime(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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
mergeFrom(EngineVersion other)
public EngineVersion.Builder mergeFrom(EngineVersion other)
Parameter | |
---|---|
Name | Description |
other |
EngineVersion |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EngineVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public EngineVersion.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EngineVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
setExpectedDecommissionTime(Timestamp value)
public EngineVersion.Builder setExpectedDecommissionTime(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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
setExpectedDecommissionTime(Timestamp.Builder builderForValue)
public EngineVersion.Builder setExpectedDecommissionTime(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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
setExpectedLimitationStartTime(Timestamp value)
public EngineVersion.Builder setExpectedLimitationStartTime(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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
setExpectedLimitationStartTime(Timestamp.Builder builderForValue)
public EngineVersion.Builder setExpectedLimitationStartTime(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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public EngineVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
setLineOfBusiness(LineOfBusiness value)
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];
Parameter | |
---|---|
Name | Description |
value |
LineOfBusiness The lineOfBusiness to set. |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
This builder for chaining. |
setLineOfBusinessValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for lineOfBusiness to set. |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
This builder for chaining. |
setName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public EngineVersion.Builder setNameBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EngineVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
setState(EngineVersion.State value)
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];
Parameter | |
---|---|
Name | Description |
value |
EngineVersion.State The state to set. |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
This builder for chaining. |
setStateValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final EngineVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EngineVersion.Builder |