Package com.openapi.v3
Class Schema
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.openapi.v3.Schema
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SchemaOrBuilder,Serializable
The Schema Object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. This object is an extended subset of the JSON Schema Specification Wright Draft 00. For more information about the properties, see JSON Schema Core and JSON Schema Validation. Unless stated otherwise, the property definitions follow the JSON Schema.Protobuf type
openapi.v3.Schema- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe Schema Object allows the definition of input and output data types.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionboolean.openapi.v3.AdditionalPropertiesItem additional_properties = 32 [json_name = "additionalProperties"];.openapi.v3.AdditionalPropertiesItem additional_properties = 32 [json_name = "additionalProperties"];getAllOf(int index) repeated .openapi.v3.SchemaOrReference all_of = 26 [json_name = "allOf"];intrepeated .openapi.v3.SchemaOrReference all_of = 26 [json_name = "allOf"];repeated .openapi.v3.SchemaOrReference all_of = 26 [json_name = "allOf"];getAllOfOrBuilder(int index) repeated .openapi.v3.SchemaOrReference all_of = 26 [json_name = "allOf"];List<? extends SchemaOrReferenceOrBuilder>repeated .openapi.v3.SchemaOrReference all_of = 26 [json_name = "allOf"];getAnyOf(int index) repeated .openapi.v3.SchemaOrReference any_of = 28 [json_name = "anyOf"];intrepeated .openapi.v3.SchemaOrReference any_of = 28 [json_name = "anyOf"];repeated .openapi.v3.SchemaOrReference any_of = 28 [json_name = "anyOf"];getAnyOfOrBuilder(int index) repeated .openapi.v3.SchemaOrReference any_of = 28 [json_name = "anyOf"];List<? extends SchemaOrReferenceOrBuilder>repeated .openapi.v3.SchemaOrReference any_of = 28 [json_name = "anyOf"];.openapi.v3.DefaultType default = 33 [json_name = "default"];static Schema.openapi.v3.DefaultType default = 33 [json_name = "default"];booleanbool deprecated = 8 [json_name = "deprecated"];string description = 34 [json_name = "description"];com.google.protobuf.ByteStringstring description = 34 [json_name = "description"];static final com.google.protobuf.Descriptors.Descriptor.openapi.v3.Discriminator discriminator = 2 [json_name = "discriminator"];.openapi.v3.Discriminator discriminator = 2 [json_name = "discriminator"];getEnum(int index) repeated .openapi.v3.Any enum = 24 [json_name = "enum"];intrepeated .openapi.v3.Any enum = 24 [json_name = "enum"];repeated .openapi.v3.Any enum = 24 [json_name = "enum"];getEnumOrBuilder(int index) repeated .openapi.v3.Any enum = 24 [json_name = "enum"];List<? extends AnyOrBuilder>repeated .openapi.v3.Any enum = 24 [json_name = "enum"];.openapi.v3.Any example = 7 [json_name = "example"];.openapi.v3.Any example = 7 [json_name = "example"];booleanbool exclusive_maximum = 12 [json_name = "exclusiveMaximum"];booleanbool exclusive_minimum = 14 [json_name = "exclusiveMinimum"];.openapi.v3.ExternalDocs external_docs = 6 [json_name = "externalDocs"];.openapi.v3.ExternalDocs external_docs = 6 [json_name = "externalDocs"];string format = 35 [json_name = "format"];com.google.protobuf.ByteStringstring format = 35 [json_name = "format"];getItems().openapi.v3.ItemsItem items = 30 [json_name = "items"];.openapi.v3.ItemsItem items = 30 [json_name = "items"];doubledouble maximum = 11 [json_name = "maximum"];longint64 max_items = 18 [json_name = "maxItems"];longint64 max_length = 15 [json_name = "maxLength"];longint64 max_properties = 21 [json_name = "maxProperties"];doubledouble minimum = 13 [json_name = "minimum"];longint64 min_items = 19 [json_name = "minItems"];longint64 min_length = 16 [json_name = "minLength"];longint64 min_properties = 22 [json_name = "minProperties"];doubledouble multiple_of = 10 [json_name = "multipleOf"];getNot().openapi.v3.Schema not = 29 [json_name = "not"];.openapi.v3.Schema not = 29 [json_name = "not"];booleanbool nullable = 1 [json_name = "nullable"];getOneOf(int index) repeated .openapi.v3.SchemaOrReference one_of = 27 [json_name = "oneOf"];intrepeated .openapi.v3.SchemaOrReference one_of = 27 [json_name = "oneOf"];repeated .openapi.v3.SchemaOrReference one_of = 27 [json_name = "oneOf"];getOneOfOrBuilder(int index) repeated .openapi.v3.SchemaOrReference one_of = 27 [json_name = "oneOf"];List<? extends SchemaOrReferenceOrBuilder>repeated .openapi.v3.SchemaOrReference one_of = 27 [json_name = "oneOf"];com.google.protobuf.Parser<Schema>string pattern = 17 [json_name = "pattern"];com.google.protobuf.ByteStringstring pattern = 17 [json_name = "pattern"];.openapi.v3.Properties properties = 31 [json_name = "properties"];.openapi.v3.Properties properties = 31 [json_name = "properties"];booleanbool read_only = 3 [json_name = "readOnly"];getRequired(int index) repeated string required = 23 [json_name = "required"];com.google.protobuf.ByteStringgetRequiredBytes(int index) repeated string required = 23 [json_name = "required"];intrepeated string required = 23 [json_name = "required"];com.google.protobuf.ProtocolStringListrepeated string required = 23 [json_name = "required"];intgetSpecificationExtension(int index) repeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"];intrepeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"];repeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"];getSpecificationExtensionOrBuilder(int index) repeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"];List<? extends NamedAnyOrBuilder>repeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"];getTitle()string title = 9 [json_name = "title"];com.google.protobuf.ByteStringstring title = 9 [json_name = "title"];getType()string type = 25 [json_name = "type"];com.google.protobuf.ByteStringstring type = 25 [json_name = "type"];booleanbool unique_items = 20 [json_name = "uniqueItems"];booleanbool write_only = 4 [json_name = "writeOnly"];getXml().openapi.v3.Xml xml = 5 [json_name = "xml"];.openapi.v3.Xml xml = 5 [json_name = "xml"];boolean.openapi.v3.AdditionalPropertiesItem additional_properties = 32 [json_name = "additionalProperties"];boolean.openapi.v3.DefaultType default = 33 [json_name = "default"];boolean.openapi.v3.Discriminator discriminator = 2 [json_name = "discriminator"];boolean.openapi.v3.Any example = 7 [json_name = "example"];boolean.openapi.v3.ExternalDocs external_docs = 6 [json_name = "externalDocs"];inthashCode()booleanhasItems().openapi.v3.ItemsItem items = 30 [json_name = "items"];booleanhasNot().openapi.v3.Schema not = 29 [json_name = "not"];boolean.openapi.v3.Properties properties = 31 [json_name = "properties"];booleanhasXml().openapi.v3.Xml xml = 5 [json_name = "xml"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Schema.Builderstatic Schema.BuildernewBuilder(Schema prototype) protected Schema.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static SchemaparseDelimitedFrom(InputStream input) static SchemaparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SchemaparseFrom(byte[] data) static SchemaparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SchemaparseFrom(com.google.protobuf.ByteString data) static SchemaparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SchemaparseFrom(com.google.protobuf.CodedInputStream input) static SchemaparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SchemaparseFrom(InputStream input) static SchemaparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SchemaparseFrom(ByteBuffer data) static SchemaparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Schema>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NULLABLE_FIELD_NUMBER
public static final int NULLABLE_FIELD_NUMBER- See Also:
-
DISCRIMINATOR_FIELD_NUMBER
public static final int DISCRIMINATOR_FIELD_NUMBER- See Also:
-
READ_ONLY_FIELD_NUMBER
public static final int READ_ONLY_FIELD_NUMBER- See Also:
-
WRITE_ONLY_FIELD_NUMBER
public static final int WRITE_ONLY_FIELD_NUMBER- See Also:
-
XML_FIELD_NUMBER
public static final int XML_FIELD_NUMBER- See Also:
-
EXTERNAL_DOCS_FIELD_NUMBER
public static final int EXTERNAL_DOCS_FIELD_NUMBER- See Also:
-
EXAMPLE_FIELD_NUMBER
public static final int EXAMPLE_FIELD_NUMBER- See Also:
-
DEPRECATED_FIELD_NUMBER
public static final int DEPRECATED_FIELD_NUMBER- See Also:
-
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER- See Also:
-
MULTIPLE_OF_FIELD_NUMBER
public static final int MULTIPLE_OF_FIELD_NUMBER- See Also:
-
MAXIMUM_FIELD_NUMBER
public static final int MAXIMUM_FIELD_NUMBER- See Also:
-
EXCLUSIVE_MAXIMUM_FIELD_NUMBER
public static final int EXCLUSIVE_MAXIMUM_FIELD_NUMBER- See Also:
-
MINIMUM_FIELD_NUMBER
public static final int MINIMUM_FIELD_NUMBER- See Also:
-
EXCLUSIVE_MINIMUM_FIELD_NUMBER
public static final int EXCLUSIVE_MINIMUM_FIELD_NUMBER- See Also:
-
MAX_LENGTH_FIELD_NUMBER
public static final int MAX_LENGTH_FIELD_NUMBER- See Also:
-
MIN_LENGTH_FIELD_NUMBER
public static final int MIN_LENGTH_FIELD_NUMBER- See Also:
-
PATTERN_FIELD_NUMBER
public static final int PATTERN_FIELD_NUMBER- See Also:
-
MAX_ITEMS_FIELD_NUMBER
public static final int MAX_ITEMS_FIELD_NUMBER- See Also:
-
MIN_ITEMS_FIELD_NUMBER
public static final int MIN_ITEMS_FIELD_NUMBER- See Also:
-
UNIQUE_ITEMS_FIELD_NUMBER
public static final int UNIQUE_ITEMS_FIELD_NUMBER- See Also:
-
MAX_PROPERTIES_FIELD_NUMBER
public static final int MAX_PROPERTIES_FIELD_NUMBER- See Also:
-
MIN_PROPERTIES_FIELD_NUMBER
public static final int MIN_PROPERTIES_FIELD_NUMBER- See Also:
-
REQUIRED_FIELD_NUMBER
public static final int REQUIRED_FIELD_NUMBER- See Also:
-
ENUM_FIELD_NUMBER
public static final int ENUM_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
ALL_OF_FIELD_NUMBER
public static final int ALL_OF_FIELD_NUMBER- See Also:
-
ONE_OF_FIELD_NUMBER
public static final int ONE_OF_FIELD_NUMBER- See Also:
-
ANY_OF_FIELD_NUMBER
public static final int ANY_OF_FIELD_NUMBER- See Also:
-
NOT_FIELD_NUMBER
public static final int NOT_FIELD_NUMBER- See Also:
-
ITEMS_FIELD_NUMBER
public static final int ITEMS_FIELD_NUMBER- See Also:
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER- See Also:
-
ADDITIONAL_PROPERTIES_FIELD_NUMBER
public static final int ADDITIONAL_PROPERTIES_FIELD_NUMBER- See Also:
-
DEFAULT_FIELD_NUMBER
public static final int DEFAULT_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
FORMAT_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER- See Also:
-
SPECIFICATION_EXTENSION_FIELD_NUMBER
public static final int SPECIFICATION_EXTENSION_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getNullable
public boolean getNullable()bool nullable = 1 [json_name = "nullable"];- Specified by:
getNullablein interfaceSchemaOrBuilder- Returns:
- The nullable.
-
hasDiscriminator
public boolean hasDiscriminator().openapi.v3.Discriminator discriminator = 2 [json_name = "discriminator"];- Specified by:
hasDiscriminatorin interfaceSchemaOrBuilder- Returns:
- Whether the discriminator field is set.
-
getDiscriminator
.openapi.v3.Discriminator discriminator = 2 [json_name = "discriminator"];- Specified by:
getDiscriminatorin interfaceSchemaOrBuilder- Returns:
- The discriminator.
-
getDiscriminatorOrBuilder
.openapi.v3.Discriminator discriminator = 2 [json_name = "discriminator"];- Specified by:
getDiscriminatorOrBuilderin interfaceSchemaOrBuilder
-
getReadOnly
public boolean getReadOnly()bool read_only = 3 [json_name = "readOnly"];- Specified by:
getReadOnlyin interfaceSchemaOrBuilder- Returns:
- The readOnly.
-
getWriteOnly
public boolean getWriteOnly()bool write_only = 4 [json_name = "writeOnly"];- Specified by:
getWriteOnlyin interfaceSchemaOrBuilder- Returns:
- The writeOnly.
-
hasXml
public boolean hasXml().openapi.v3.Xml xml = 5 [json_name = "xml"];- Specified by:
hasXmlin interfaceSchemaOrBuilder- Returns:
- Whether the xml field is set.
-
getXml
.openapi.v3.Xml xml = 5 [json_name = "xml"];- Specified by:
getXmlin interfaceSchemaOrBuilder- Returns:
- The xml.
-
getXmlOrBuilder
.openapi.v3.Xml xml = 5 [json_name = "xml"];- Specified by:
getXmlOrBuilderin interfaceSchemaOrBuilder
-
hasExternalDocs
public boolean hasExternalDocs().openapi.v3.ExternalDocs external_docs = 6 [json_name = "externalDocs"];- Specified by:
hasExternalDocsin interfaceSchemaOrBuilder- Returns:
- Whether the externalDocs field is set.
-
getExternalDocs
.openapi.v3.ExternalDocs external_docs = 6 [json_name = "externalDocs"];- Specified by:
getExternalDocsin interfaceSchemaOrBuilder- Returns:
- The externalDocs.
-
getExternalDocsOrBuilder
.openapi.v3.ExternalDocs external_docs = 6 [json_name = "externalDocs"];- Specified by:
getExternalDocsOrBuilderin interfaceSchemaOrBuilder
-
hasExample
public boolean hasExample().openapi.v3.Any example = 7 [json_name = "example"];- Specified by:
hasExamplein interfaceSchemaOrBuilder- Returns:
- Whether the example field is set.
-
getExample
.openapi.v3.Any example = 7 [json_name = "example"];- Specified by:
getExamplein interfaceSchemaOrBuilder- Returns:
- The example.
-
getExampleOrBuilder
.openapi.v3.Any example = 7 [json_name = "example"];- Specified by:
getExampleOrBuilderin interfaceSchemaOrBuilder
-
getDeprecated
public boolean getDeprecated()bool deprecated = 8 [json_name = "deprecated"];- Specified by:
getDeprecatedin interfaceSchemaOrBuilder- Returns:
- The deprecated.
-
getTitle
string title = 9 [json_name = "title"];- Specified by:
getTitlein interfaceSchemaOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()string title = 9 [json_name = "title"];- Specified by:
getTitleBytesin interfaceSchemaOrBuilder- Returns:
- The bytes for title.
-
getMultipleOf
public double getMultipleOf()double multiple_of = 10 [json_name = "multipleOf"];- Specified by:
getMultipleOfin interfaceSchemaOrBuilder- Returns:
- The multipleOf.
-
getMaximum
public double getMaximum()double maximum = 11 [json_name = "maximum"];- Specified by:
getMaximumin interfaceSchemaOrBuilder- Returns:
- The maximum.
-
getExclusiveMaximum
public boolean getExclusiveMaximum()bool exclusive_maximum = 12 [json_name = "exclusiveMaximum"];- Specified by:
getExclusiveMaximumin interfaceSchemaOrBuilder- Returns:
- The exclusiveMaximum.
-
getMinimum
public double getMinimum()double minimum = 13 [json_name = "minimum"];- Specified by:
getMinimumin interfaceSchemaOrBuilder- Returns:
- The minimum.
-
getExclusiveMinimum
public boolean getExclusiveMinimum()bool exclusive_minimum = 14 [json_name = "exclusiveMinimum"];- Specified by:
getExclusiveMinimumin interfaceSchemaOrBuilder- Returns:
- The exclusiveMinimum.
-
getMaxLength
public long getMaxLength()int64 max_length = 15 [json_name = "maxLength"];- Specified by:
getMaxLengthin interfaceSchemaOrBuilder- Returns:
- The maxLength.
-
getMinLength
public long getMinLength()int64 min_length = 16 [json_name = "minLength"];- Specified by:
getMinLengthin interfaceSchemaOrBuilder- Returns:
- The minLength.
-
getPattern
string pattern = 17 [json_name = "pattern"];- Specified by:
getPatternin interfaceSchemaOrBuilder- Returns:
- The pattern.
-
getPatternBytes
public com.google.protobuf.ByteString getPatternBytes()string pattern = 17 [json_name = "pattern"];- Specified by:
getPatternBytesin interfaceSchemaOrBuilder- Returns:
- The bytes for pattern.
-
getMaxItems
public long getMaxItems()int64 max_items = 18 [json_name = "maxItems"];- Specified by:
getMaxItemsin interfaceSchemaOrBuilder- Returns:
- The maxItems.
-
getMinItems
public long getMinItems()int64 min_items = 19 [json_name = "minItems"];- Specified by:
getMinItemsin interfaceSchemaOrBuilder- Returns:
- The minItems.
-
getUniqueItems
public boolean getUniqueItems()bool unique_items = 20 [json_name = "uniqueItems"];- Specified by:
getUniqueItemsin interfaceSchemaOrBuilder- Returns:
- The uniqueItems.
-
getMaxProperties
public long getMaxProperties()int64 max_properties = 21 [json_name = "maxProperties"];- Specified by:
getMaxPropertiesin interfaceSchemaOrBuilder- Returns:
- The maxProperties.
-
getMinProperties
public long getMinProperties()int64 min_properties = 22 [json_name = "minProperties"];- Specified by:
getMinPropertiesin interfaceSchemaOrBuilder- Returns:
- The minProperties.
-
getRequiredList
public com.google.protobuf.ProtocolStringList getRequiredList()repeated string required = 23 [json_name = "required"];- Specified by:
getRequiredListin interfaceSchemaOrBuilder- Returns:
- A list containing the required.
-
getRequiredCount
public int getRequiredCount()repeated string required = 23 [json_name = "required"];- Specified by:
getRequiredCountin interfaceSchemaOrBuilder- Returns:
- The count of required.
-
getRequired
repeated string required = 23 [json_name = "required"];- Specified by:
getRequiredin interfaceSchemaOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The required at the given index.
-
getRequiredBytes
public com.google.protobuf.ByteString getRequiredBytes(int index) repeated string required = 23 [json_name = "required"];- Specified by:
getRequiredBytesin interfaceSchemaOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the required at the given index.
-
getEnumList
repeated .openapi.v3.Any enum = 24 [json_name = "enum"];- Specified by:
getEnumListin interfaceSchemaOrBuilder
-
getEnumOrBuilderList
repeated .openapi.v3.Any enum = 24 [json_name = "enum"];- Specified by:
getEnumOrBuilderListin interfaceSchemaOrBuilder
-
getEnumCount
public int getEnumCount()repeated .openapi.v3.Any enum = 24 [json_name = "enum"];- Specified by:
getEnumCountin interfaceSchemaOrBuilder
-
getEnum
repeated .openapi.v3.Any enum = 24 [json_name = "enum"];- Specified by:
getEnumin interfaceSchemaOrBuilder
-
getEnumOrBuilder
repeated .openapi.v3.Any enum = 24 [json_name = "enum"];- Specified by:
getEnumOrBuilderin interfaceSchemaOrBuilder
-
getType
string type = 25 [json_name = "type"];- Specified by:
getTypein interfaceSchemaOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()string type = 25 [json_name = "type"];- Specified by:
getTypeBytesin interfaceSchemaOrBuilder- Returns:
- The bytes for type.
-
getAllOfList
repeated .openapi.v3.SchemaOrReference all_of = 26 [json_name = "allOf"];- Specified by:
getAllOfListin interfaceSchemaOrBuilder
-
getAllOfOrBuilderList
repeated .openapi.v3.SchemaOrReference all_of = 26 [json_name = "allOf"];- Specified by:
getAllOfOrBuilderListin interfaceSchemaOrBuilder
-
getAllOfCount
public int getAllOfCount()repeated .openapi.v3.SchemaOrReference all_of = 26 [json_name = "allOf"];- Specified by:
getAllOfCountin interfaceSchemaOrBuilder
-
getAllOf
repeated .openapi.v3.SchemaOrReference all_of = 26 [json_name = "allOf"];- Specified by:
getAllOfin interfaceSchemaOrBuilder
-
getAllOfOrBuilder
repeated .openapi.v3.SchemaOrReference all_of = 26 [json_name = "allOf"];- Specified by:
getAllOfOrBuilderin interfaceSchemaOrBuilder
-
getOneOfList
repeated .openapi.v3.SchemaOrReference one_of = 27 [json_name = "oneOf"];- Specified by:
getOneOfListin interfaceSchemaOrBuilder
-
getOneOfOrBuilderList
repeated .openapi.v3.SchemaOrReference one_of = 27 [json_name = "oneOf"];- Specified by:
getOneOfOrBuilderListin interfaceSchemaOrBuilder
-
getOneOfCount
public int getOneOfCount()repeated .openapi.v3.SchemaOrReference one_of = 27 [json_name = "oneOf"];- Specified by:
getOneOfCountin interfaceSchemaOrBuilder
-
getOneOf
repeated .openapi.v3.SchemaOrReference one_of = 27 [json_name = "oneOf"];- Specified by:
getOneOfin interfaceSchemaOrBuilder
-
getOneOfOrBuilder
repeated .openapi.v3.SchemaOrReference one_of = 27 [json_name = "oneOf"];- Specified by:
getOneOfOrBuilderin interfaceSchemaOrBuilder
-
getAnyOfList
repeated .openapi.v3.SchemaOrReference any_of = 28 [json_name = "anyOf"];- Specified by:
getAnyOfListin interfaceSchemaOrBuilder
-
getAnyOfOrBuilderList
repeated .openapi.v3.SchemaOrReference any_of = 28 [json_name = "anyOf"];- Specified by:
getAnyOfOrBuilderListin interfaceSchemaOrBuilder
-
getAnyOfCount
public int getAnyOfCount()repeated .openapi.v3.SchemaOrReference any_of = 28 [json_name = "anyOf"];- Specified by:
getAnyOfCountin interfaceSchemaOrBuilder
-
getAnyOf
repeated .openapi.v3.SchemaOrReference any_of = 28 [json_name = "anyOf"];- Specified by:
getAnyOfin interfaceSchemaOrBuilder
-
getAnyOfOrBuilder
repeated .openapi.v3.SchemaOrReference any_of = 28 [json_name = "anyOf"];- Specified by:
getAnyOfOrBuilderin interfaceSchemaOrBuilder
-
hasNot
public boolean hasNot().openapi.v3.Schema not = 29 [json_name = "not"];- Specified by:
hasNotin interfaceSchemaOrBuilder- Returns:
- Whether the not field is set.
-
getNot
.openapi.v3.Schema not = 29 [json_name = "not"];- Specified by:
getNotin interfaceSchemaOrBuilder- Returns:
- The not.
-
getNotOrBuilder
.openapi.v3.Schema not = 29 [json_name = "not"];- Specified by:
getNotOrBuilderin interfaceSchemaOrBuilder
-
hasItems
public boolean hasItems().openapi.v3.ItemsItem items = 30 [json_name = "items"];- Specified by:
hasItemsin interfaceSchemaOrBuilder- Returns:
- Whether the items field is set.
-
getItems
.openapi.v3.ItemsItem items = 30 [json_name = "items"];- Specified by:
getItemsin interfaceSchemaOrBuilder- Returns:
- The items.
-
getItemsOrBuilder
.openapi.v3.ItemsItem items = 30 [json_name = "items"];- Specified by:
getItemsOrBuilderin interfaceSchemaOrBuilder
-
hasProperties
public boolean hasProperties().openapi.v3.Properties properties = 31 [json_name = "properties"];- Specified by:
hasPropertiesin interfaceSchemaOrBuilder- Returns:
- Whether the properties field is set.
-
getProperties
.openapi.v3.Properties properties = 31 [json_name = "properties"];- Specified by:
getPropertiesin interfaceSchemaOrBuilder- Returns:
- The properties.
-
getPropertiesOrBuilder
.openapi.v3.Properties properties = 31 [json_name = "properties"];- Specified by:
getPropertiesOrBuilderin interfaceSchemaOrBuilder
-
hasAdditionalProperties
public boolean hasAdditionalProperties().openapi.v3.AdditionalPropertiesItem additional_properties = 32 [json_name = "additionalProperties"];- Specified by:
hasAdditionalPropertiesin interfaceSchemaOrBuilder- Returns:
- Whether the additionalProperties field is set.
-
getAdditionalProperties
.openapi.v3.AdditionalPropertiesItem additional_properties = 32 [json_name = "additionalProperties"];- Specified by:
getAdditionalPropertiesin interfaceSchemaOrBuilder- Returns:
- The additionalProperties.
-
getAdditionalPropertiesOrBuilder
.openapi.v3.AdditionalPropertiesItem additional_properties = 32 [json_name = "additionalProperties"];- Specified by:
getAdditionalPropertiesOrBuilderin interfaceSchemaOrBuilder
-
hasDefault
public boolean hasDefault().openapi.v3.DefaultType default = 33 [json_name = "default"];- Specified by:
hasDefaultin interfaceSchemaOrBuilder- Returns:
- Whether the default field is set.
-
getDefault
.openapi.v3.DefaultType default = 33 [json_name = "default"];- Specified by:
getDefaultin interfaceSchemaOrBuilder- Returns:
- The default.
-
getDefaultOrBuilder
.openapi.v3.DefaultType default = 33 [json_name = "default"];- Specified by:
getDefaultOrBuilderin interfaceSchemaOrBuilder
-
getDescription
string description = 34 [json_name = "description"];- Specified by:
getDescriptionin interfaceSchemaOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()string description = 34 [json_name = "description"];- Specified by:
getDescriptionBytesin interfaceSchemaOrBuilder- Returns:
- The bytes for description.
-
getFormat
string format = 35 [json_name = "format"];- Specified by:
getFormatin interfaceSchemaOrBuilder- Returns:
- The format.
-
getFormatBytes
public com.google.protobuf.ByteString getFormatBytes()string format = 35 [json_name = "format"];- Specified by:
getFormatBytesin interfaceSchemaOrBuilder- Returns:
- The bytes for format.
-
getSpecificationExtensionList
repeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionListin interfaceSchemaOrBuilder
-
getSpecificationExtensionOrBuilderList
repeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionOrBuilderListin interfaceSchemaOrBuilder
-
getSpecificationExtensionCount
public int getSpecificationExtensionCount()repeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionCountin interfaceSchemaOrBuilder
-
getSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionin interfaceSchemaOrBuilder
-
getSpecificationExtensionOrBuilder
repeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionOrBuilderin interfaceSchemaOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Schema parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Schema parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Schema parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Schema parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Schema.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-