public static interface Openapiv2.JSONSchemaOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getArray(int index)
Items in 'array' must be unique.
|
com.google.protobuf.ByteString |
getArrayBytes(int index)
Items in 'array' must be unique.
|
int |
getArrayCount()
Items in 'array' must be unique.
|
java.util.List<java.lang.String> |
getArrayList()
Items in 'array' must be unique.
|
java.lang.String |
getDefault()
string default = 7; |
com.google.protobuf.ByteString |
getDefaultBytes()
string default = 7; |
java.lang.String |
getDescription()
A short description of the schema.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A short description of the schema.
|
java.lang.String |
getEnum(int index)
Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
|
com.google.protobuf.ByteString |
getEnumBytes(int index)
Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
|
int |
getEnumCount()
Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
|
java.util.List<java.lang.String> |
getEnumList()
Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
|
java.lang.String |
getExample()
A free-form property to include a JSON example of this field.
|
com.google.protobuf.ByteString |
getExampleBytes()
A free-form property to include a JSON example of this field.
|
boolean |
getExclusiveMaximum()
bool exclusive_maximum = 12; |
boolean |
getExclusiveMinimum()
bool exclusive_minimum = 14; |
java.lang.String |
getFormat()
`Format`
|
com.google.protobuf.ByteString |
getFormatBytes()
`Format`
|
double |
getMaximum()
Maximum represents an inclusive upper limit for a numeric instance.
|
long |
getMaxItems()
uint64 max_items = 20; |
long |
getMaxLength()
uint64 max_length = 15; |
long |
getMaxProperties()
uint64 max_properties = 24; |
double |
getMinimum()
minimum represents an inclusive lower limit for a numeric instance.
|
long |
getMinItems()
uint64 min_items = 21; |
long |
getMinLength()
uint64 min_length = 16; |
long |
getMinProperties()
uint64 min_properties = 25; |
double |
getMultipleOf()
double multiple_of = 10; |
java.lang.String |
getPattern()
string pattern = 17; |
com.google.protobuf.ByteString |
getPatternBytes()
string pattern = 17; |
boolean |
getReadOnly()
bool read_only = 8; |
java.lang.String |
getRef()
Ref is used to define an external reference to include in the message.
|
com.google.protobuf.ByteString |
getRefBytes()
Ref is used to define an external reference to include in the message.
|
java.lang.String |
getRequired(int index)
repeated string required = 26; |
com.google.protobuf.ByteString |
getRequiredBytes(int index)
repeated string required = 26; |
int |
getRequiredCount()
repeated string required = 26; |
java.util.List<java.lang.String> |
getRequiredList()
repeated string required = 26; |
java.lang.String |
getTitle()
The title of the schema.
|
com.google.protobuf.ByteString |
getTitleBytes()
The title of the schema.
|
Openapiv2.JSONSchema.JSONSchemaSimpleTypes |
getType(int index)
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35; |
int |
getTypeCount()
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35; |
java.util.List<Openapiv2.JSONSchema.JSONSchemaSimpleTypes> |
getTypeList()
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35; |
int |
getTypeValue(int index)
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35; |
java.util.List<java.lang.Integer> |
getTypeValueList()
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35; |
boolean |
getUniqueItems()
bool unique_items = 22; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.lang.String getRef()
Ref is used to define an external reference to include in the message. This could be a fully qualified proto message reference, and that type must be imported into the protofile. If no message is identified, the Ref will be used verbatim in the output. For example: `ref: ".google.protobuf.Timestamp"`.
string ref = 3;com.google.protobuf.ByteString getRefBytes()
Ref is used to define an external reference to include in the message. This could be a fully qualified proto message reference, and that type must be imported into the protofile. If no message is identified, the Ref will be used verbatim in the output. For example: `ref: ".google.protobuf.Timestamp"`.
string ref = 3;java.lang.String getTitle()
The title of the schema.
string title = 5;com.google.protobuf.ByteString getTitleBytes()
The title of the schema.
string title = 5;java.lang.String getDescription()
A short description of the schema.
string description = 6;com.google.protobuf.ByteString getDescriptionBytes()
A short description of the schema.
string description = 6;java.lang.String getDefault()
string default = 7;com.google.protobuf.ByteString getDefaultBytes()
string default = 7;boolean getReadOnly()
bool read_only = 8;java.lang.String getExample()
A free-form property to include a JSON example of this field. This is copied verbatim to the output swagger.json. Quotes must be escaped. This property is the same for 2.0 and 3.0.0 https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/3.0.0.md#schemaObject https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
string example = 9;com.google.protobuf.ByteString getExampleBytes()
A free-form property to include a JSON example of this field. This is copied verbatim to the output swagger.json. Quotes must be escaped. This property is the same for 2.0 and 3.0.0 https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/3.0.0.md#schemaObject https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
string example = 9;double getMultipleOf()
double multiple_of = 10;double getMaximum()
Maximum represents an inclusive upper limit for a numeric instance. The value of MUST be a number,
double maximum = 11;boolean getExclusiveMaximum()
bool exclusive_maximum = 12;double getMinimum()
minimum represents an inclusive lower limit for a numeric instance. The value of MUST be a number,
double minimum = 13;boolean getExclusiveMinimum()
bool exclusive_minimum = 14;long getMaxLength()
uint64 max_length = 15;long getMinLength()
uint64 min_length = 16;java.lang.String getPattern()
string pattern = 17;com.google.protobuf.ByteString getPatternBytes()
string pattern = 17;long getMaxItems()
uint64 max_items = 20;long getMinItems()
uint64 min_items = 21;boolean getUniqueItems()
bool unique_items = 22;long getMaxProperties()
uint64 max_properties = 24;long getMinProperties()
uint64 min_properties = 25;java.util.List<java.lang.String> getRequiredList()
repeated string required = 26;int getRequiredCount()
repeated string required = 26;java.lang.String getRequired(int index)
repeated string required = 26;index - The index of the element to return.com.google.protobuf.ByteString getRequiredBytes(int index)
repeated string required = 26;index - The index of the value to return.java.util.List<java.lang.String> getArrayList()
Items in 'array' must be unique.
repeated string array = 34;int getArrayCount()
Items in 'array' must be unique.
repeated string array = 34;java.lang.String getArray(int index)
Items in 'array' must be unique.
repeated string array = 34;index - The index of the element to return.com.google.protobuf.ByteString getArrayBytes(int index)
Items in 'array' must be unique.
repeated string array = 34;index - The index of the value to return.java.util.List<Openapiv2.JSONSchema.JSONSchemaSimpleTypes> getTypeList()
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35;int getTypeCount()
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35;Openapiv2.JSONSchema.JSONSchemaSimpleTypes getType(int index)
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35;index - The index of the element to return.java.util.List<java.lang.Integer> getTypeValueList()
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35;int getTypeValue(int index)
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35;index - The index of the value to return.java.lang.String getFormat()
`Format`
string format = 36;com.google.protobuf.ByteString getFormatBytes()
`Format`
string format = 36;java.util.List<java.lang.String> getEnumList()
Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
repeated string enum = 46;int getEnumCount()
Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
repeated string enum = 46;java.lang.String getEnum(int index)
Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
repeated string enum = 46;index - The index of the element to return.com.google.protobuf.ByteString getEnumBytes(int index)
Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
repeated string enum = 46;index - The index of the value to return.