public final class AccountLabel
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 Content API for Shopping. 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AccountLabel() |
Modifier and Type | Method and Description |
---|---|
AccountLabel |
clone() |
Long |
getAccountId()
Immutable.
|
String |
getDescription()
The description of this label.
|
Long |
getLabelId()
Output only.
|
String |
getLabelType()
Output only.
|
String |
getName()
The display name of this label.
|
AccountLabel |
set(String fieldName,
Object value) |
AccountLabel |
setAccountId(Long accountId)
Immutable.
|
AccountLabel |
setDescription(String description)
The description of this label.
|
AccountLabel |
setLabelId(Long labelId)
Output only.
|
AccountLabel |
setLabelType(String labelType)
Output only.
|
AccountLabel |
setName(String name)
The display name of this label.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Long getAccountId()
null
for nonepublic AccountLabel setAccountId(Long accountId)
accountId
- accountId or null
for nonepublic String getDescription()
null
for nonepublic AccountLabel setDescription(String description)
description
- description or null
for nonepublic Long getLabelId()
null
for nonepublic AccountLabel setLabelId(Long labelId)
labelId
- labelId or null
for nonepublic String getLabelType()
null
for nonepublic AccountLabel setLabelType(String labelType)
labelType
- labelType or null
for nonepublic String getName()
null
for nonepublic AccountLabel setName(String name)
name
- name or null
for nonepublic AccountLabel set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AccountLabel clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.