public final class VisibilityRule
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 Google Service Management 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 |
|---|
VisibilityRule() |
| Modifier and Type | Method and Description |
|---|---|
VisibilityRule |
clone() |
java.lang.String |
getRestriction()
A comma-separated list of visibility labels that apply to the `selector`.
|
java.lang.String |
getSelector()
Selects methods, messages, fields, enums, etc.
|
VisibilityRule |
set(java.lang.String fieldName,
java.lang.Object value) |
VisibilityRule |
setRestriction(java.lang.String restriction)
A comma-separated list of visibility labels that apply to the `selector`.
|
VisibilityRule |
setSelector(java.lang.String selector)
Selects methods, messages, fields, enums, etc.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getRestriction()
null for nonepublic VisibilityRule setRestriction(java.lang.String restriction)
restriction - restriction or null for nonepublic java.lang.String getSelector()
null for nonepublic VisibilityRule setSelector(java.lang.String selector)
selector - selector or null for nonepublic VisibilityRule set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic VisibilityRule clone()
clone in class com.google.api.client.json.GenericJson