public static final class Model.Builder extends GeneratedMessageV3.Builder<Model.Builder> implements ModelOrBuilder
Model represents a trained model.
Protobuf type google.cloud.financialservices.v1.Model
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Model.BuilderImplements
ModelOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Model.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Model.Builder |
build()
public Model build()
Returns | |
---|---|
Type | Description |
Model |
buildPartial()
public Model buildPartial()
Returns | |
---|---|
Type | Description |
Model |
clear()
public Model.Builder clear()
Returns | |
---|---|
Type | Description |
Model.Builder |
clearCreateTime()
public Model.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 |
Model.Builder |
clearEndTime()
public Model.Builder clearEndTime()
Required. End_time specifies the latest time from which labels are used and from which data is used to generate features for training. End_time should be no later than the end of the date_range of the dataset.
.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Model.Builder |
clearEngineConfig()
public Model.Builder clearEngineConfig()
Required. The resource name of the EngineConfig the model training will be based on. Format: "/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engineConfig}"
string engine_config = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
Model.Builder |
This builder for chaining. |
clearEngineVersion()
public Model.Builder clearEngineVersion()
Output only. The EngineVersion used in training this model. This is output only, and is determined from the EngineConfig used.
string engine_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
Model.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Model.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Model.Builder |
clearLabels()
public Model.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Model.Builder |
clearLineOfBusiness()
public Model.Builder clearLineOfBusiness()
Output only. The line of business (Retail/Commercial) this model is used for. Determined by EngineConfig, cannot be set by user.
.google.cloud.financialservices.v1.LineOfBusiness line_of_business = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Model.Builder |
This builder for chaining. |
clearName()
public Model.Builder clearName()
Output only. The resource name of the Model. format: "/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Model.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Model.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Model.Builder |
clearPrimaryDataset()
public Model.Builder clearPrimaryDataset()
Required. The resource name of the Primary Dataset used in this model training. For information about how primary and auxiliary datasets are used, refer to the engine version's documentation. Format: "/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}"
string primary_dataset = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
Model.Builder |
This builder for chaining. |
clearState()
public Model.Builder clearState()
Output only. State of the model (creating, active, deleting, etc.)
.google.cloud.financialservices.v1.Model.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Model.Builder |
This builder for chaining. |
clearUpdateTime()
public Model.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 |
Model.Builder |
clone()
public Model.Builder clone()
Returns | |
---|---|
Type | Description |
Model.Builder |
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 Model getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Model |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
Required. End_time specifies the latest time from which labels are used and from which data is used to generate features for training. End_time should be no later than the end of the date_range of the dataset.
.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
Required. End_time specifies the latest time from which labels are used and from which data is used to generate features for training. End_time should be no later than the end of the date_range of the dataset.
.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Required. End_time specifies the latest time from which labels are used and from which data is used to generate features for training. End_time should be no later than the end of the date_range of the dataset.
.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getEngineConfig()
public String getEngineConfig()
Required. The resource name of the EngineConfig the model training will be based on. Format: "/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engineConfig}"
string engine_config = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The engineConfig. |
getEngineConfigBytes()
public ByteString getEngineConfigBytes()
Required. The resource name of the EngineConfig the model training will be based on. Format: "/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engineConfig}"
string engine_config = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for engineConfig. |
getEngineVersion()
public String getEngineVersion()
Output only. The EngineVersion used in training this model. This is output only, and is determined from the EngineConfig used.
string engine_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The engineVersion. |
getEngineVersionBytes()
public ByteString getEngineVersionBytes()
Output only. The EngineVersion used in training this model. This is output only, and is determined from the EngineConfig used.
string engine_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for engineVersion. |
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 model is used for. Determined by EngineConfig, 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 model is used for. Determined by EngineConfig, 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 Model. format: "/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}"
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 Model. format: "/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getPrimaryDataset()
public String getPrimaryDataset()
Required. The resource name of the Primary Dataset used in this model training. For information about how primary and auxiliary datasets are used, refer to the engine version's documentation. Format: "/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}"
string primary_dataset = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The primaryDataset. |
getPrimaryDatasetBytes()
public ByteString getPrimaryDatasetBytes()
Required. The resource name of the Primary Dataset used in this model training. For information about how primary and auxiliary datasets are used, refer to the engine version's documentation. Format: "/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}"
string primary_dataset = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for primaryDataset. |
getState()
public Model.State getState()
Output only. State of the model (creating, active, deleting, etc.)
.google.cloud.financialservices.v1.Model.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Model.State |
The state. |
getStateValue()
public int getStateValue()
Output only. State of the model (creating, active, deleting, etc.)
.google.cloud.financialservices.v1.Model.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
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. |
hasEndTime()
public boolean hasEndTime()
Required. End_time specifies the latest time from which labels are used and from which data is used to generate features for training. End_time should be no later than the end of the date_range of the dataset.
.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the endTime 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 |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Model.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 |
Model.Builder |
mergeEndTime(Timestamp value)
public Model.Builder mergeEndTime(Timestamp value)
Required. End_time specifies the latest time from which labels are used and from which data is used to generate features for training. End_time should be no later than the end of the date_range of the dataset.
.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Model.Builder |
mergeFrom(Model other)
public Model.Builder mergeFrom(Model other)
Parameter | |
---|---|
Name | Description |
other |
Model |
Returns | |
---|---|
Type | Description |
Model.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Model.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Model.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Model.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Model.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Model.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Model.Builder |
mergeUpdateTime(Timestamp value)
public Model.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 |
Model.Builder |
putAllLabels(Map<String,String> values)
public Model.Builder putAllLabels(Map<String,String> values)
Labels
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
Model.Builder |
putLabels(String key, String value)
public Model.Builder putLabels(String key, String value)
Labels
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
Model.Builder |
removeLabels(String key)
public Model.Builder removeLabels(String key)
Labels
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
Model.Builder |
setCreateTime(Timestamp value)
public Model.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 |
Model.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Model.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 |
Model.Builder |
setEndTime(Timestamp value)
public Model.Builder setEndTime(Timestamp value)
Required. End_time specifies the latest time from which labels are used and from which data is used to generate features for training. End_time should be no later than the end of the date_range of the dataset.
.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Model.Builder |
setEndTime(Timestamp.Builder builderForValue)
public Model.Builder setEndTime(Timestamp.Builder builderForValue)
Required. End_time specifies the latest time from which labels are used and from which data is used to generate features for training. End_time should be no later than the end of the date_range of the dataset.
.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Model.Builder |
setEngineConfig(String value)
public Model.Builder setEngineConfig(String value)
Required. The resource name of the EngineConfig the model training will be based on. Format: "/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engineConfig}"
string engine_config = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The engineConfig to set. |
Returns | |
---|---|
Type | Description |
Model.Builder |
This builder for chaining. |
setEngineConfigBytes(ByteString value)
public Model.Builder setEngineConfigBytes(ByteString value)
Required. The resource name of the EngineConfig the model training will be based on. Format: "/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engineConfig}"
string engine_config = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for engineConfig to set. |
Returns | |
---|---|
Type | Description |
Model.Builder |
This builder for chaining. |
setEngineVersion(String value)
public Model.Builder setEngineVersion(String value)
Output only. The EngineVersion used in training this model. This is output only, and is determined from the EngineConfig used.
string engine_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The engineVersion to set. |
Returns | |
---|---|
Type | Description |
Model.Builder |
This builder for chaining. |
setEngineVersionBytes(ByteString value)
public Model.Builder setEngineVersionBytes(ByteString value)
Output only. The EngineVersion used in training this model. This is output only, and is determined from the EngineConfig used.
string engine_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for engineVersion to set. |
Returns | |
---|---|
Type | Description |
Model.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Model.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Model.Builder |
setLineOfBusiness(LineOfBusiness value)
public Model.Builder setLineOfBusiness(LineOfBusiness value)
Output only. The line of business (Retail/Commercial) this model is used for. Determined by EngineConfig, 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 |
Model.Builder |
This builder for chaining. |
setLineOfBusinessValue(int value)
public Model.Builder setLineOfBusinessValue(int value)
Output only. The line of business (Retail/Commercial) this model is used for. Determined by EngineConfig, 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 |
Model.Builder |
This builder for chaining. |
setName(String value)
public Model.Builder setName(String value)
Output only. The resource name of the Model. format: "/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Model.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Model.Builder setNameBytes(ByteString value)
Output only. The resource name of the Model. format: "/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Model.Builder |
This builder for chaining. |
setPrimaryDataset(String value)
public Model.Builder setPrimaryDataset(String value)
Required. The resource name of the Primary Dataset used in this model training. For information about how primary and auxiliary datasets are used, refer to the engine version's documentation. Format: "/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}"
string primary_dataset = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The primaryDataset to set. |
Returns | |
---|---|
Type | Description |
Model.Builder |
This builder for chaining. |
setPrimaryDatasetBytes(ByteString value)
public Model.Builder setPrimaryDatasetBytes(ByteString value)
Required. The resource name of the Primary Dataset used in this model training. For information about how primary and auxiliary datasets are used, refer to the engine version's documentation. Format: "/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}"
string primary_dataset = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for primaryDataset to set. |
Returns | |
---|---|
Type | Description |
Model.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Model.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Model.Builder |
setState(Model.State value)
public Model.Builder setState(Model.State value)
Output only. State of the model (creating, active, deleting, etc.)
.google.cloud.financialservices.v1.Model.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Model.State The state to set. |
Returns | |
---|---|
Type | Description |
Model.Builder |
This builder for chaining. |
setStateValue(int value)
public Model.Builder setStateValue(int value)
Output only. State of the model (creating, active, deleting, etc.)
.google.cloud.financialservices.v1.Model.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 |
Model.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Model.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Model.Builder |
setUpdateTime(Timestamp value)
public Model.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 |
Model.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Model.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 |
Model.Builder |