public final class GoogleCloudMlV1TrialParameter 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 |
|---|
GoogleCloudMlV1TrialParameter() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudMlV1TrialParameter |
clone() |
Double |
getFloatValue()
Must be set if ParameterType is DOUBLE or DISCRETE.
|
Long |
getIntValue()
Must be set if ParameterType is INTEGER
|
String |
getParameter()
The name of the parameter.
|
String |
getStringValue()
Must be set if ParameterTypeis CATEGORICAL
|
GoogleCloudMlV1TrialParameter |
set(String fieldName,
Object value) |
GoogleCloudMlV1TrialParameter |
setFloatValue(Double floatValue)
Must be set if ParameterType is DOUBLE or DISCRETE.
|
GoogleCloudMlV1TrialParameter |
setIntValue(Long intValue)
Must be set if ParameterType is INTEGER
|
GoogleCloudMlV1TrialParameter |
setParameter(String parameter)
The name of the parameter.
|
GoogleCloudMlV1TrialParameter |
setStringValue(String stringValue)
Must be set if ParameterTypeis CATEGORICAL
|
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 Double getFloatValue()
null for nonepublic GoogleCloudMlV1TrialParameter setFloatValue(Double floatValue)
floatValue - floatValue or null for nonepublic Long getIntValue()
null for nonepublic GoogleCloudMlV1TrialParameter setIntValue(Long intValue)
intValue - intValue or null for nonepublic String getParameter()
null for nonepublic GoogleCloudMlV1TrialParameter setParameter(String parameter)
parameter - parameter or null for nonepublic String getStringValue()
null for nonepublic GoogleCloudMlV1TrialParameter setStringValue(String stringValue)
stringValue - stringValue or null for nonepublic GoogleCloudMlV1TrialParameter set(String fieldName, Object value)
set in class GenericJsonpublic GoogleCloudMlV1TrialParameter clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.