target.apidocs.com.google.api.services.directory.model.FailureInfo.html Maven / Gradle / Ivy
FailureInfo (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory.model
Class FailureInfo
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.directory.model.FailureInfo
-
public final class FailureInfo
extends GenericJson
Info about failures
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
FailureInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
FailureInfo
clone()
String
getErrorCode()
Canonical code for why the update failed to apply.
String
getErrorMessage()
Failure reason message.
Printer
getPrinter()
Failed printer.
String
getPrinterId()
Id of a failed printer.
FailureInfo
set(String fieldName,
Object value)
FailureInfo
setErrorCode(String errorCode)
Canonical code for why the update failed to apply.
FailureInfo
setErrorMessage(String errorMessage)
Failure reason message.
FailureInfo
setPrinter(Printer printer)
Failed printer.
FailureInfo
setPrinterId(String printerId)
Id of a failed printer.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getErrorCode
public String getErrorCode()
Canonical code for why the update failed to apply.
- Returns:
- value or
null
for none
-
setErrorCode
public FailureInfo setErrorCode(String errorCode)
Canonical code for why the update failed to apply.
- Parameters:
errorCode
- errorCode or null
for none
-
getErrorMessage
public String getErrorMessage()
Failure reason message.
- Returns:
- value or
null
for none
-
setErrorMessage
public FailureInfo setErrorMessage(String errorMessage)
Failure reason message.
- Parameters:
errorMessage
- errorMessage or null
for none
-
getPrinter
public Printer getPrinter()
Failed printer.
- Returns:
- value or
null
for none
-
setPrinter
public FailureInfo setPrinter(Printer printer)
Failed printer.
- Parameters:
printer
- printer or null
for none
-
getPrinterId
public String getPrinterId()
Id of a failed printer.
- Returns:
- value or
null
for none
-
setPrinterId
public FailureInfo setPrinterId(String printerId)
Id of a failed printer.
- Parameters:
printerId
- printerId or null
for none
-
set
public FailureInfo set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public FailureInfo clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.