Package com.openapi.v3
Interface SchemaOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Schema,Schema.Builder
public interface SchemaOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.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"];.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"];.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"];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"];repeated string required = 23 [json_name = "required"];getSpecificationExtension(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"];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"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getNullable
boolean getNullable()bool nullable = 1 [json_name = "nullable"];- Returns:
- The nullable.
-
hasDiscriminator
boolean hasDiscriminator().openapi.v3.Discriminator discriminator = 2 [json_name = "discriminator"];- Returns:
- Whether the discriminator field is set.
-
getDiscriminator
Discriminator getDiscriminator().openapi.v3.Discriminator discriminator = 2 [json_name = "discriminator"];- Returns:
- The discriminator.
-
getDiscriminatorOrBuilder
DiscriminatorOrBuilder getDiscriminatorOrBuilder().openapi.v3.Discriminator discriminator = 2 [json_name = "discriminator"]; -
getReadOnly
boolean getReadOnly()bool read_only = 3 [json_name = "readOnly"];- Returns:
- The readOnly.
-
getWriteOnly
boolean getWriteOnly()bool write_only = 4 [json_name = "writeOnly"];- Returns:
- The writeOnly.
-
hasXml
boolean hasXml().openapi.v3.Xml xml = 5 [json_name = "xml"];- Returns:
- Whether the xml field is set.
-
getXml
Xml getXml().openapi.v3.Xml xml = 5 [json_name = "xml"];- Returns:
- The xml.
-
getXmlOrBuilder
XmlOrBuilder getXmlOrBuilder().openapi.v3.Xml xml = 5 [json_name = "xml"]; -
hasExternalDocs
boolean hasExternalDocs().openapi.v3.ExternalDocs external_docs = 6 [json_name = "externalDocs"];- Returns:
- Whether the externalDocs field is set.
-
getExternalDocs
ExternalDocs getExternalDocs().openapi.v3.ExternalDocs external_docs = 6 [json_name = "externalDocs"];- Returns:
- The externalDocs.
-
getExternalDocsOrBuilder
ExternalDocsOrBuilder getExternalDocsOrBuilder().openapi.v3.ExternalDocs external_docs = 6 [json_name = "externalDocs"]; -
hasExample
boolean hasExample().openapi.v3.Any example = 7 [json_name = "example"];- Returns:
- Whether the example field is set.
-
getExample
Any getExample().openapi.v3.Any example = 7 [json_name = "example"];- Returns:
- The example.
-
getExampleOrBuilder
AnyOrBuilder getExampleOrBuilder().openapi.v3.Any example = 7 [json_name = "example"]; -
getDeprecated
boolean getDeprecated()bool deprecated = 8 [json_name = "deprecated"];- Returns:
- The deprecated.
-
getTitle
String getTitle()string title = 9 [json_name = "title"];- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()string title = 9 [json_name = "title"];- Returns:
- The bytes for title.
-
getMultipleOf
double getMultipleOf()double multiple_of = 10 [json_name = "multipleOf"];- Returns:
- The multipleOf.
-
getMaximum
double getMaximum()double maximum = 11 [json_name = "maximum"];- Returns:
- The maximum.
-
getExclusiveMaximum
boolean getExclusiveMaximum()bool exclusive_maximum = 12 [json_name = "exclusiveMaximum"];- Returns:
- The exclusiveMaximum.
-
getMinimum
double getMinimum()double minimum = 13 [json_name = "minimum"];- Returns:
- The minimum.
-
getExclusiveMinimum
boolean getExclusiveMinimum()bool exclusive_minimum = 14 [json_name = "exclusiveMinimum"];- Returns:
- The exclusiveMinimum.
-
getMaxLength
long getMaxLength()int64 max_length = 15 [json_name = "maxLength"];- Returns:
- The maxLength.
-
getMinLength
long getMinLength()int64 min_length = 16 [json_name = "minLength"];- Returns:
- The minLength.
-
getPattern
String getPattern()string pattern = 17 [json_name = "pattern"];- Returns:
- The pattern.
-
getPatternBytes
com.google.protobuf.ByteString getPatternBytes()string pattern = 17 [json_name = "pattern"];- Returns:
- The bytes for pattern.
-
getMaxItems
long getMaxItems()int64 max_items = 18 [json_name = "maxItems"];- Returns:
- The maxItems.
-
getMinItems
long getMinItems()int64 min_items = 19 [json_name = "minItems"];- Returns:
- The minItems.
-
getUniqueItems
boolean getUniqueItems()bool unique_items = 20 [json_name = "uniqueItems"];- Returns:
- The uniqueItems.
-
getMaxProperties
long getMaxProperties()int64 max_properties = 21 [json_name = "maxProperties"];- Returns:
- The maxProperties.
-
getMinProperties
long getMinProperties()int64 min_properties = 22 [json_name = "minProperties"];- Returns:
- The minProperties.
-
getRequiredList
repeated string required = 23 [json_name = "required"];- Returns:
- A list containing the required.
-
getRequiredCount
int getRequiredCount()repeated string required = 23 [json_name = "required"];- Returns:
- The count of required.
-
getRequired
repeated string required = 23 [json_name = "required"];- Parameters:
index- The index of the element to return.- Returns:
- The required at the given index.
-
getRequiredBytes
com.google.protobuf.ByteString getRequiredBytes(int index) repeated string required = 23 [json_name = "required"];- 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"]; -
getEnum
repeated .openapi.v3.Any enum = 24 [json_name = "enum"]; -
getEnumCount
int getEnumCount()repeated .openapi.v3.Any enum = 24 [json_name = "enum"]; -
getEnumOrBuilderList
List<? extends AnyOrBuilder> getEnumOrBuilderList()repeated .openapi.v3.Any enum = 24 [json_name = "enum"]; -
getEnumOrBuilder
repeated .openapi.v3.Any enum = 24 [json_name = "enum"]; -
getType
String getType()string type = 25 [json_name = "type"];- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()string type = 25 [json_name = "type"];- Returns:
- The bytes for type.
-
getAllOfList
List<SchemaOrReference> getAllOfList()repeated .openapi.v3.SchemaOrReference all_of = 26 [json_name = "allOf"]; -
getAllOf
repeated .openapi.v3.SchemaOrReference all_of = 26 [json_name = "allOf"]; -
getAllOfCount
int getAllOfCount()repeated .openapi.v3.SchemaOrReference all_of = 26 [json_name = "allOf"]; -
getAllOfOrBuilderList
List<? extends SchemaOrReferenceOrBuilder> getAllOfOrBuilderList()repeated .openapi.v3.SchemaOrReference all_of = 26 [json_name = "allOf"]; -
getAllOfOrBuilder
repeated .openapi.v3.SchemaOrReference all_of = 26 [json_name = "allOf"]; -
getOneOfList
List<SchemaOrReference> getOneOfList()repeated .openapi.v3.SchemaOrReference one_of = 27 [json_name = "oneOf"]; -
getOneOf
repeated .openapi.v3.SchemaOrReference one_of = 27 [json_name = "oneOf"]; -
getOneOfCount
int getOneOfCount()repeated .openapi.v3.SchemaOrReference one_of = 27 [json_name = "oneOf"]; -
getOneOfOrBuilderList
List<? extends SchemaOrReferenceOrBuilder> getOneOfOrBuilderList()repeated .openapi.v3.SchemaOrReference one_of = 27 [json_name = "oneOf"]; -
getOneOfOrBuilder
repeated .openapi.v3.SchemaOrReference one_of = 27 [json_name = "oneOf"]; -
getAnyOfList
List<SchemaOrReference> getAnyOfList()repeated .openapi.v3.SchemaOrReference any_of = 28 [json_name = "anyOf"]; -
getAnyOf
repeated .openapi.v3.SchemaOrReference any_of = 28 [json_name = "anyOf"]; -
getAnyOfCount
int getAnyOfCount()repeated .openapi.v3.SchemaOrReference any_of = 28 [json_name = "anyOf"]; -
getAnyOfOrBuilderList
List<? extends SchemaOrReferenceOrBuilder> getAnyOfOrBuilderList()repeated .openapi.v3.SchemaOrReference any_of = 28 [json_name = "anyOf"]; -
getAnyOfOrBuilder
repeated .openapi.v3.SchemaOrReference any_of = 28 [json_name = "anyOf"]; -
hasNot
boolean hasNot().openapi.v3.Schema not = 29 [json_name = "not"];- Returns:
- Whether the not field is set.
-
getNot
Schema getNot().openapi.v3.Schema not = 29 [json_name = "not"];- Returns:
- The not.
-
getNotOrBuilder
SchemaOrBuilder getNotOrBuilder().openapi.v3.Schema not = 29 [json_name = "not"]; -
hasItems
boolean hasItems().openapi.v3.ItemsItem items = 30 [json_name = "items"];- Returns:
- Whether the items field is set.
-
getItems
ItemsItem getItems().openapi.v3.ItemsItem items = 30 [json_name = "items"];- Returns:
- The items.
-
getItemsOrBuilder
ItemsItemOrBuilder getItemsOrBuilder().openapi.v3.ItemsItem items = 30 [json_name = "items"]; -
hasProperties
boolean hasProperties().openapi.v3.Properties properties = 31 [json_name = "properties"];- Returns:
- Whether the properties field is set.
-
getProperties
Properties getProperties().openapi.v3.Properties properties = 31 [json_name = "properties"];- Returns:
- The properties.
-
getPropertiesOrBuilder
PropertiesOrBuilder getPropertiesOrBuilder().openapi.v3.Properties properties = 31 [json_name = "properties"]; -
hasAdditionalProperties
boolean hasAdditionalProperties().openapi.v3.AdditionalPropertiesItem additional_properties = 32 [json_name = "additionalProperties"];- Returns:
- Whether the additionalProperties field is set.
-
getAdditionalProperties
AdditionalPropertiesItem getAdditionalProperties().openapi.v3.AdditionalPropertiesItem additional_properties = 32 [json_name = "additionalProperties"];- Returns:
- The additionalProperties.
-
getAdditionalPropertiesOrBuilder
AdditionalPropertiesItemOrBuilder getAdditionalPropertiesOrBuilder().openapi.v3.AdditionalPropertiesItem additional_properties = 32 [json_name = "additionalProperties"]; -
hasDefault
boolean hasDefault().openapi.v3.DefaultType default = 33 [json_name = "default"];- Returns:
- Whether the default field is set.
-
getDefault
DefaultType getDefault().openapi.v3.DefaultType default = 33 [json_name = "default"];- Returns:
- The default.
-
getDefaultOrBuilder
DefaultTypeOrBuilder getDefaultOrBuilder().openapi.v3.DefaultType default = 33 [json_name = "default"]; -
getDescription
String getDescription()string description = 34 [json_name = "description"];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()string description = 34 [json_name = "description"];- Returns:
- The bytes for description.
-
getFormat
String getFormat()string format = 35 [json_name = "format"];- Returns:
- The format.
-
getFormatBytes
com.google.protobuf.ByteString getFormatBytes()string format = 35 [json_name = "format"];- Returns:
- The bytes for format.
-
getSpecificationExtensionList
repeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"]; -
getSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"]; -
getSpecificationExtensionCount
int getSpecificationExtensionCount()repeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"]; -
getSpecificationExtensionOrBuilderList
List<? extends NamedAnyOrBuilder> getSpecificationExtensionOrBuilderList()repeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"]; -
getSpecificationExtensionOrBuilder
repeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"];
-