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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.intOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeExpectedDecommissionTime(com.google.protobuf.Timestamp value) Output only.mergeExpectedLimitationStartTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(EngineVersion other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setExpectedDecommissionTime(com.google.protobuf.Timestamp value) Output only.setExpectedDecommissionTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setExpectedLimitationStartTime(com.google.protobuf.Timestamp value) Output only.setExpectedLimitationStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setLineOfBusiness(LineOfBusiness value) Output only.setLineOfBusinessValue(int value) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setState(EngineVersion.State value) Output only.setStateValue(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<EngineVersion.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<EngineVersion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<EngineVersion.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EngineVersion.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EngineVersion.Builder>- Throws:
IOException
-
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:
getNamein interfaceEngineVersionOrBuilder- 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:
getNameBytesin interfaceEngineVersionOrBuilder- Returns:
- The bytes for name.
-
setName
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
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
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:
getStateValuein interfaceEngineVersionOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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
Output only. The state of the version.
.google.cloud.financialservices.v1.EngineVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceEngineVersionOrBuilder- Returns:
- The state.
-
setState
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
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:
hasExpectedLimitationStartTimein interfaceEngineVersionOrBuilder- 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:
getExpectedLimitationStartTimein interfaceEngineVersionOrBuilder- Returns:
- The expectedLimitationStartTime.
-
setExpectedLimitationStartTime
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
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
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:
getExpectedLimitationStartTimeOrBuilderin interfaceEngineVersionOrBuilder
-
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:
hasExpectedDecommissionTimein interfaceEngineVersionOrBuilder- 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:
getExpectedDecommissionTimein interfaceEngineVersionOrBuilder- Returns:
- The expectedDecommissionTime.
-
setExpectedDecommissionTime
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
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
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:
getExpectedDecommissionTimeOrBuilderin interfaceEngineVersionOrBuilder
-
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:
getLineOfBusinessValuein interfaceEngineVersionOrBuilder- Returns:
- The enum numeric value on the wire for lineOfBusiness.
-
setLineOfBusinessValue
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
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:
getLineOfBusinessin interfaceEngineVersionOrBuilder- Returns:
- The lineOfBusiness.
-
setLineOfBusiness
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
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.
-