public final class GoogleCloudMlV1Model extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the AI Platform Training & Prediction API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleCloudMlV1Model() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudMlV1Model |
clone() |
byte[] |
decodeEtag()
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates
of a model from overwriting each other.
|
GoogleCloudMlV1Model |
encodeEtag(byte[] etag)
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates
of a model from overwriting each other.
|
GoogleCloudMlV1Version |
getDefaultVersion()
Output only.
|
String |
getDescription()
Optional.
|
String |
getEtag()
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates
of a model from overwriting each other.
|
Map<String,String> |
getLabels()
Optional.
|
String |
getName()
Required.
|
Boolean |
getOnlinePredictionConsoleLogging()
Optional.
|
Boolean |
getOnlinePredictionLogging()
Optional.
|
List<String> |
getRegions()
Optional.
|
GoogleCloudMlV1Model |
set(String fieldName,
Object value) |
GoogleCloudMlV1Model |
setDefaultVersion(GoogleCloudMlV1Version defaultVersion)
Output only.
|
GoogleCloudMlV1Model |
setDescription(String description)
Optional.
|
GoogleCloudMlV1Model |
setEtag(String etag)
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates
of a model from overwriting each other.
|
GoogleCloudMlV1Model |
setLabels(Map<String,String> labels)
Optional.
|
GoogleCloudMlV1Model |
setName(String name)
Required.
|
GoogleCloudMlV1Model |
setOnlinePredictionConsoleLogging(Boolean onlinePredictionConsoleLogging)
Optional.
|
GoogleCloudMlV1Model |
setOnlinePredictionLogging(Boolean onlinePredictionLogging)
Optional.
|
GoogleCloudMlV1Model |
setRegions(List<String> regions)
Optional.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic GoogleCloudMlV1Version getDefaultVersion()
null for nonepublic GoogleCloudMlV1Model setDefaultVersion(GoogleCloudMlV1Version defaultVersion)
defaultVersion - defaultVersion or null for nonepublic String getDescription()
null for nonepublic GoogleCloudMlV1Model setDescription(String description)
description - description or null for nonepublic String getEtag()
null for nonedecodeEtag()public byte[] decodeEtag()
null for nonegetEtag()public GoogleCloudMlV1Model setEtag(String etag)
etag - etag or null for none#encodeEtag()public GoogleCloudMlV1Model encodeEtag(byte[] etag)
The value is encoded Base64 or {@code null} for none.
public Map<String,String> getLabels()
null for nonepublic GoogleCloudMlV1Model setLabels(Map<String,String> labels)
labels - labels or null for nonepublic String getName()
null for nonepublic GoogleCloudMlV1Model setName(String name)
name - name or null for nonepublic Boolean getOnlinePredictionConsoleLogging()
null for nonepublic GoogleCloudMlV1Model setOnlinePredictionConsoleLogging(Boolean onlinePredictionConsoleLogging)
onlinePredictionConsoleLogging - onlinePredictionConsoleLogging or null for nonepublic Boolean getOnlinePredictionLogging()
null for nonepublic GoogleCloudMlV1Model setOnlinePredictionLogging(Boolean onlinePredictionLogging)
onlinePredictionLogging - onlinePredictionLogging or null for nonepublic List<String> getRegions()
null for nonepublic GoogleCloudMlV1Model setRegions(List<String> regions)
regions - regions or null for nonepublic GoogleCloudMlV1Model set(String fieldName, Object value)
set in class GenericJsonpublic GoogleCloudMlV1Model clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.