public final class GoogleCloudVisionV1p1beta1ProductKeyValue
extends com.google.api.client.json.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 Cloud Vision API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
GoogleCloudVisionV1p1beta1ProductKeyValue() |
Modifier and Type | Method and Description |
---|---|
GoogleCloudVisionV1p1beta1ProductKeyValue |
clone() |
java.lang.String |
getKey()
The key of the label attached to the product.
|
java.lang.String |
getValue()
The value of the label attached to the product.
|
GoogleCloudVisionV1p1beta1ProductKeyValue |
set(java.lang.String fieldName,
java.lang.Object value) |
GoogleCloudVisionV1p1beta1ProductKeyValue |
setKey(java.lang.String key)
The key of the label attached to the product.
|
GoogleCloudVisionV1p1beta1ProductKeyValue |
setValue(java.lang.String value)
The value of the label attached to the product.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public GoogleCloudVisionV1p1beta1ProductKeyValue()
public java.lang.String getKey()
null
for nonepublic GoogleCloudVisionV1p1beta1ProductKeyValue setKey(java.lang.String key)
key
- key or null
for nonepublic java.lang.String getValue()
null
for nonepublic GoogleCloudVisionV1p1beta1ProductKeyValue setValue(java.lang.String value)
value
- value or null
for nonepublic GoogleCloudVisionV1p1beta1ProductKeyValue set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleCloudVisionV1p1beta1ProductKeyValue clone()
clone
in class com.google.api.client.json.GenericJson