public final class AppliedLabel
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 Admin SDK 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AppliedLabel() |
| Modifier and Type | Method and Description |
|---|---|
AppliedLabel |
clone() |
List<FieldValue> |
getFieldValues()
List of fields which are part of the label and have been set by the user.
|
String |
getId()
Identifier of the label - Only the label id, not the full OnePlatform resource name.
|
Reason |
getReason()
The reason why the label was applied on the resource.
|
String |
getTitle()
Title of the label
|
AppliedLabel |
set(String fieldName,
Object value) |
AppliedLabel |
setFieldValues(List<FieldValue> fieldValues)
List of fields which are part of the label and have been set by the user.
|
AppliedLabel |
setId(String id)
Identifier of the label - Only the label id, not the full OnePlatform resource name.
|
AppliedLabel |
setReason(Reason reason)
The reason why the label was applied on the resource.
|
AppliedLabel |
setTitle(String title)
Title of the label
|
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 List<FieldValue> getFieldValues()
null for nonepublic AppliedLabel setFieldValues(List<FieldValue> fieldValues)
fieldValues - fieldValues or null for nonepublic String getId()
null for nonepublic AppliedLabel setId(String id)
id - id or null for nonepublic Reason getReason()
null for nonepublic AppliedLabel setReason(Reason reason)
reason - reason or null for nonepublic String getTitle()
null for nonepublic AppliedLabel setTitle(String title)
title - title or null for nonepublic AppliedLabel set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic AppliedLabel clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.