public static final class Openapiv2.JSONSchema extends com.google.protobuf.GeneratedMessageV3 implements Openapiv2.JSONSchemaOrBuilder
`JSONSchema` represents properties from JSON Schema taken, and as used, in
the OpenAPI v2 spec.
This includes changes made by OpenAPI v2.
See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
See also: https://cswr.github.io/JsonSchema/spec/basic_types/,
https://github.com/json-schema-org/json-schema-spec/blob/master/schema.json
Example:
message SimpleMessage {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "SimpleMessage"
description: "A simple message."
required: ["id"]
}
};
// Id represents the message identifier.
string id = 1; [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
{description: "The unique identifier of the simple message."
}];
}
Protobuf type grpc.gateway.protoc_gen_openapiv2.options.JSONSchema| Modifier and Type | Class and Description |
|---|---|
static class |
Openapiv2.JSONSchema.Builder
`JSONSchema` represents properties from JSON Schema taken, and as used, in
the OpenAPI v2 spec.
|
static class |
Openapiv2.JSONSchema.JSONSchemaSimpleTypes
Protobuf enum
grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ARRAY_FIELD_NUMBER |
static int |
DEFAULT_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
ENUM_FIELD_NUMBER |
static int |
EXAMPLE_FIELD_NUMBER |
static int |
EXCLUSIVE_MAXIMUM_FIELD_NUMBER |
static int |
EXCLUSIVE_MINIMUM_FIELD_NUMBER |
static int |
FORMAT_FIELD_NUMBER |
static int |
MAX_ITEMS_FIELD_NUMBER |
static int |
MAX_LENGTH_FIELD_NUMBER |
static int |
MAX_PROPERTIES_FIELD_NUMBER |
static int |
MAXIMUM_FIELD_NUMBER |
static int |
MIN_ITEMS_FIELD_NUMBER |
static int |
MIN_LENGTH_FIELD_NUMBER |
static int |
MIN_PROPERTIES_FIELD_NUMBER |
static int |
MINIMUM_FIELD_NUMBER |
static int |
MULTIPLE_OF_FIELD_NUMBER |
static int |
PATTERN_FIELD_NUMBER |
static int |
READ_ONLY_FIELD_NUMBER |
static int |
REF_FIELD_NUMBER |
static int |
REQUIRED_FIELD_NUMBER |
static int |
TITLE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
UNIQUE_ITEMS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
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.
|
com.google.protobuf.ProtocolStringList |
getArrayList()
Items in 'array' must be unique.
|
java.lang.String |
getDefault()
string default = 7; |
com.google.protobuf.ByteString |
getDefaultBytes()
string default = 7; |
static Openapiv2.JSONSchema |
getDefaultInstance() |
Openapiv2.JSONSchema |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
A short description of the schema.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A short description of the schema.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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
|
com.google.protobuf.ProtocolStringList |
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; |
com.google.protobuf.Parser<Openapiv2.JSONSchema> |
getParserForType() |
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; |
com.google.protobuf.ProtocolStringList |
getRequiredList()
repeated string required = 26; |
int |
getSerializedSize() |
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; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Openapiv2.JSONSchema.Builder |
newBuilder() |
static Openapiv2.JSONSchema.Builder |
newBuilder(Openapiv2.JSONSchema prototype) |
Openapiv2.JSONSchema.Builder |
newBuilderForType() |
protected Openapiv2.JSONSchema.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Openapiv2.JSONSchema |
parseDelimitedFrom(java.io.InputStream input) |
static Openapiv2.JSONSchema |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openapiv2.JSONSchema |
parseFrom(byte[] data) |
static Openapiv2.JSONSchema |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openapiv2.JSONSchema |
parseFrom(java.nio.ByteBuffer data) |
static Openapiv2.JSONSchema |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openapiv2.JSONSchema |
parseFrom(com.google.protobuf.ByteString data) |
static Openapiv2.JSONSchema |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openapiv2.JSONSchema |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Openapiv2.JSONSchema |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openapiv2.JSONSchema |
parseFrom(java.io.InputStream input) |
static Openapiv2.JSONSchema |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Openapiv2.JSONSchema> |
parser() |
Openapiv2.JSONSchema.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REF_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int DEFAULT_FIELD_NUMBER
public static final int READ_ONLY_FIELD_NUMBER
public static final int EXAMPLE_FIELD_NUMBER
public static final int MULTIPLE_OF_FIELD_NUMBER
public static final int MAXIMUM_FIELD_NUMBER
public static final int EXCLUSIVE_MAXIMUM_FIELD_NUMBER
public static final int MINIMUM_FIELD_NUMBER
public static final int EXCLUSIVE_MINIMUM_FIELD_NUMBER
public static final int MAX_LENGTH_FIELD_NUMBER
public static final int MIN_LENGTH_FIELD_NUMBER
public static final int PATTERN_FIELD_NUMBER
public static final int MAX_ITEMS_FIELD_NUMBER
public static final int MIN_ITEMS_FIELD_NUMBER
public static final int UNIQUE_ITEMS_FIELD_NUMBER
public static final int MAX_PROPERTIES_FIELD_NUMBER
public static final int MIN_PROPERTIES_FIELD_NUMBER
public static final int REQUIRED_FIELD_NUMBER
public static final int ARRAY_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER
public static final int ENUM_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.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;getRef in interface Openapiv2.JSONSchemaOrBuilderpublic 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;getRefBytes in interface Openapiv2.JSONSchemaOrBuilderpublic java.lang.String getTitle()
The title of the schema.
string title = 5;getTitle in interface Openapiv2.JSONSchemaOrBuilderpublic com.google.protobuf.ByteString getTitleBytes()
The title of the schema.
string title = 5;getTitleBytes in interface Openapiv2.JSONSchemaOrBuilderpublic java.lang.String getDescription()
A short description of the schema.
string description = 6;getDescription in interface Openapiv2.JSONSchemaOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
A short description of the schema.
string description = 6;getDescriptionBytes in interface Openapiv2.JSONSchemaOrBuilderpublic java.lang.String getDefault()
string default = 7;getDefault in interface Openapiv2.JSONSchemaOrBuilderpublic com.google.protobuf.ByteString getDefaultBytes()
string default = 7;getDefaultBytes in interface Openapiv2.JSONSchemaOrBuilderpublic boolean getReadOnly()
bool read_only = 8;getReadOnly in interface Openapiv2.JSONSchemaOrBuilderpublic 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;getExample in interface Openapiv2.JSONSchemaOrBuilderpublic 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;getExampleBytes in interface Openapiv2.JSONSchemaOrBuilderpublic double getMultipleOf()
double multiple_of = 10;getMultipleOf in interface Openapiv2.JSONSchemaOrBuilderpublic double getMaximum()
Maximum represents an inclusive upper limit for a numeric instance. The value of MUST be a number,
double maximum = 11;getMaximum in interface Openapiv2.JSONSchemaOrBuilderpublic boolean getExclusiveMaximum()
bool exclusive_maximum = 12;getExclusiveMaximum in interface Openapiv2.JSONSchemaOrBuilderpublic double getMinimum()
minimum represents an inclusive lower limit for a numeric instance. The value of MUST be a number,
double minimum = 13;getMinimum in interface Openapiv2.JSONSchemaOrBuilderpublic boolean getExclusiveMinimum()
bool exclusive_minimum = 14;getExclusiveMinimum in interface Openapiv2.JSONSchemaOrBuilderpublic long getMaxLength()
uint64 max_length = 15;getMaxLength in interface Openapiv2.JSONSchemaOrBuilderpublic long getMinLength()
uint64 min_length = 16;getMinLength in interface Openapiv2.JSONSchemaOrBuilderpublic java.lang.String getPattern()
string pattern = 17;getPattern in interface Openapiv2.JSONSchemaOrBuilderpublic com.google.protobuf.ByteString getPatternBytes()
string pattern = 17;getPatternBytes in interface Openapiv2.JSONSchemaOrBuilderpublic long getMaxItems()
uint64 max_items = 20;getMaxItems in interface Openapiv2.JSONSchemaOrBuilderpublic long getMinItems()
uint64 min_items = 21;getMinItems in interface Openapiv2.JSONSchemaOrBuilderpublic boolean getUniqueItems()
bool unique_items = 22;getUniqueItems in interface Openapiv2.JSONSchemaOrBuilderpublic long getMaxProperties()
uint64 max_properties = 24;getMaxProperties in interface Openapiv2.JSONSchemaOrBuilderpublic long getMinProperties()
uint64 min_properties = 25;getMinProperties in interface Openapiv2.JSONSchemaOrBuilderpublic com.google.protobuf.ProtocolStringList getRequiredList()
repeated string required = 26;getRequiredList in interface Openapiv2.JSONSchemaOrBuilderpublic int getRequiredCount()
repeated string required = 26;getRequiredCount in interface Openapiv2.JSONSchemaOrBuilderpublic java.lang.String getRequired(int index)
repeated string required = 26;getRequired in interface Openapiv2.JSONSchemaOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getRequiredBytes(int index)
repeated string required = 26;getRequiredBytes in interface Openapiv2.JSONSchemaOrBuilderindex - The index of the value to return.public com.google.protobuf.ProtocolStringList getArrayList()
Items in 'array' must be unique.
repeated string array = 34;getArrayList in interface Openapiv2.JSONSchemaOrBuilderpublic int getArrayCount()
Items in 'array' must be unique.
repeated string array = 34;getArrayCount in interface Openapiv2.JSONSchemaOrBuilderpublic java.lang.String getArray(int index)
Items in 'array' must be unique.
repeated string array = 34;getArray in interface Openapiv2.JSONSchemaOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getArrayBytes(int index)
Items in 'array' must be unique.
repeated string array = 34;getArrayBytes in interface Openapiv2.JSONSchemaOrBuilderindex - The index of the value to return.public java.util.List<Openapiv2.JSONSchema.JSONSchemaSimpleTypes> getTypeList()
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35;getTypeList in interface Openapiv2.JSONSchemaOrBuilderpublic int getTypeCount()
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35;getTypeCount in interface Openapiv2.JSONSchemaOrBuilderpublic Openapiv2.JSONSchema.JSONSchemaSimpleTypes getType(int index)
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35;getType in interface Openapiv2.JSONSchemaOrBuilderindex - The index of the element to return.public java.util.List<java.lang.Integer> getTypeValueList()
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35;getTypeValueList in interface Openapiv2.JSONSchemaOrBuilderpublic int getTypeValue(int index)
repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35;getTypeValue in interface Openapiv2.JSONSchemaOrBuilderindex - The index of the value to return.public java.lang.String getFormat()
`Format`
string format = 36;getFormat in interface Openapiv2.JSONSchemaOrBuilderpublic com.google.protobuf.ByteString getFormatBytes()
`Format`
string format = 36;getFormatBytes in interface Openapiv2.JSONSchemaOrBuilderpublic com.google.protobuf.ProtocolStringList 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;getEnumList in interface Openapiv2.JSONSchemaOrBuilderpublic 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;getEnumCount in interface Openapiv2.JSONSchemaOrBuilderpublic 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;getEnum in interface Openapiv2.JSONSchemaOrBuilderindex - The index of the element to return.public 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;getEnumBytes in interface Openapiv2.JSONSchemaOrBuilderindex - The index of the value to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Openapiv2.JSONSchema parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openapiv2.JSONSchema parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openapiv2.JSONSchema parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openapiv2.JSONSchema parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openapiv2.JSONSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openapiv2.JSONSchema parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openapiv2.JSONSchema parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Openapiv2.JSONSchema parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Openapiv2.JSONSchema parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Openapiv2.JSONSchema parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Openapiv2.JSONSchema parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Openapiv2.JSONSchema parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Openapiv2.JSONSchema.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Openapiv2.JSONSchema.Builder newBuilder()
public static Openapiv2.JSONSchema.Builder newBuilder(Openapiv2.JSONSchema prototype)
public Openapiv2.JSONSchema.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Openapiv2.JSONSchema.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Openapiv2.JSONSchema getDefaultInstance()
public static com.google.protobuf.Parser<Openapiv2.JSONSchema> parser()
public com.google.protobuf.Parser<Openapiv2.JSONSchema> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Openapiv2.JSONSchema getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder