Class GoogleJsonError.Details (1.35.0)

public static class GoogleJsonError.Details

Inheritance

java.lang.Object > GoogleJsonError.Details

Constructors

Details()

public Details()

Methods

getDetail()

public String getDetail()
Returns
TypeDescription
String

getParameterViolations()

public List<GoogleJsonError.ParameterViolations> getParameterViolations()
Returns
TypeDescription
List<ParameterViolations>

getReason()

public String getReason()
Returns
TypeDescription
String

getType()

public String getType()
Returns
TypeDescription
String

setDetail(String detail)

public void setDetail(String detail)
Parameter
NameDescription
detailString

setParameterViolations(List<GoogleJsonError.ParameterViolations> parameterViolations)

public void setParameterViolations(List<GoogleJsonError.ParameterViolations> parameterViolations)

Sets parameterViolations list as immutable to prevent exposing mutable state.

Parameter
NameDescription
parameterViolationsList<ParameterViolations>

setReason(String reason)

public void setReason(String reason)
Parameter
NameDescription
reasonString

setType(String type)

public void setType(String type)
Parameter
NameDescription
typeString