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 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

      List<String> 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

      String getRequired(int index)
      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

      List<Any> getEnumList()
      repeated .openapi.v3.Any enum = 24 [json_name = "enum"];
    • getEnum

      Any getEnum(int index)
      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

      AnyOrBuilder getEnumOrBuilder(int index)
      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

      SchemaOrReference getAllOf(int index)
      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

      SchemaOrReferenceOrBuilder getAllOfOrBuilder(int index)
      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

      SchemaOrReference getOneOf(int index)
      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

      SchemaOrReferenceOrBuilder getOneOfOrBuilder(int index)
      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

      SchemaOrReference getAnyOf(int index)
      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

      SchemaOrReferenceOrBuilder getAnyOfOrBuilder(int index)
      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

      List<NamedAny> getSpecificationExtensionList()
      repeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"];
    • getSpecificationExtension

      NamedAny getSpecificationExtension(int index)
      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

      NamedAnyOrBuilder getSpecificationExtensionOrBuilder(int index)
      repeated .openapi.v3.NamedAny specification_extension = 36 [json_name = "specificationExtension"];