public static enum TypeRef.WellKnownType extends java.lang.Enum<TypeRef.WellKnownType>
| Enum Constant and Description |
|---|
ANY |
BOOL |
BYTES |
DOUBLE |
DURATION |
FIELD_MASK |
FLOAT |
INT32 |
INT64 |
LIST_VALUE |
MEDIA |
NONE |
STRING |
STRUCT |
TIMESTAMP |
UINT32 |
UINT64 |
VALUE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowedAsHttpParameter()
Checks whether the WKT can appear in HTTP parameter position.
|
boolean |
allowedAsHttpRequestResponse()
Checks whether the WKT can appear as HTTP request/response.
|
boolean |
allowedAsPathParameter()
Checks whether the WKT can appear in HTTP template path position.
|
boolean |
allowedAsRequestResponseInCodeGen()
Checks whether the WKT is allowed as request/response by codegen.
|
static TypeRef.WellKnownType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypeRef.WellKnownType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeRef.WellKnownType NONE
public static final TypeRef.WellKnownType DOUBLE
public static final TypeRef.WellKnownType FLOAT
public static final TypeRef.WellKnownType INT64
public static final TypeRef.WellKnownType UINT64
public static final TypeRef.WellKnownType INT32
public static final TypeRef.WellKnownType UINT32
public static final TypeRef.WellKnownType BOOL
public static final TypeRef.WellKnownType STRING
public static final TypeRef.WellKnownType BYTES
public static final TypeRef.WellKnownType TIMESTAMP
public static final TypeRef.WellKnownType DURATION
public static final TypeRef.WellKnownType STRUCT
public static final TypeRef.WellKnownType VALUE
public static final TypeRef.WellKnownType LIST_VALUE
public static final TypeRef.WellKnownType ANY
public static final TypeRef.WellKnownType MEDIA
public static final TypeRef.WellKnownType FIELD_MASK
public static TypeRef.WellKnownType[] values()
for (TypeRef.WellKnownType c : TypeRef.WellKnownType.values()) System.out.println(c);
public static TypeRef.WellKnownType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean allowedAsPathParameter()
public boolean allowedAsHttpParameter()
public boolean allowedAsHttpRequestResponse()
public boolean allowedAsRequestResponseInCodeGen()