Class Document

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.openapi.v3.Document
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DocumentOrBuilder, Serializable

public final class Document extends com.google.protobuf.GeneratedMessageV3 implements DocumentOrBuilder
Protobuf type openapi.v3.Document
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type openapi.v3.Document

    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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    .openapi.v3.Components components = 5 [json_name = "components"];
    .openapi.v3.Components components = 5 [json_name = "components"];
    static Document
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    .openapi.v3.ExternalDocs external_docs = 8 [json_name = "externalDocs"];
    .openapi.v3.ExternalDocs external_docs = 8 [json_name = "externalDocs"];
    .openapi.v3.Info info = 2 [json_name = "info"];
    .openapi.v3.Info info = 2 [json_name = "info"];
    string openapi = 1 [json_name = "openapi"];
    com.google.protobuf.ByteString
    string openapi = 1 [json_name = "openapi"];
    com.google.protobuf.Parser<Document>
     
    .openapi.v3.Paths paths = 4 [json_name = "paths"];
    .openapi.v3.Paths paths = 4 [json_name = "paths"];
    getSecurity(int index)
    repeated .openapi.v3.SecurityRequirement security = 6 [json_name = "security"];
    int
    repeated .openapi.v3.SecurityRequirement security = 6 [json_name = "security"];
    repeated .openapi.v3.SecurityRequirement security = 6 [json_name = "security"];
    repeated .openapi.v3.SecurityRequirement security = 6 [json_name = "security"];
    repeated .openapi.v3.SecurityRequirement security = 6 [json_name = "security"];
    int
     
    getServers(int index)
    repeated .openapi.v3.Server servers = 3 [json_name = "servers"];
    int
    repeated .openapi.v3.Server servers = 3 [json_name = "servers"];
    repeated .openapi.v3.Server servers = 3 [json_name = "servers"];
    repeated .openapi.v3.Server servers = 3 [json_name = "servers"];
    repeated .openapi.v3.Server servers = 3 [json_name = "servers"];
    repeated .openapi.v3.NamedAny specification_extension = 9 [json_name = "specificationExtension"];
    int
    repeated .openapi.v3.NamedAny specification_extension = 9 [json_name = "specificationExtension"];
    repeated .openapi.v3.NamedAny specification_extension = 9 [json_name = "specificationExtension"];
    repeated .openapi.v3.NamedAny specification_extension = 9 [json_name = "specificationExtension"];
    repeated .openapi.v3.NamedAny specification_extension = 9 [json_name = "specificationExtension"];
    getTags(int index)
    repeated .openapi.v3.Tag tags = 7 [json_name = "tags"];
    int
    repeated .openapi.v3.Tag tags = 7 [json_name = "tags"];
    repeated .openapi.v3.Tag tags = 7 [json_name = "tags"];
    getTagsOrBuilder(int index)
    repeated .openapi.v3.Tag tags = 7 [json_name = "tags"];
    List<? extends TagOrBuilder>
    repeated .openapi.v3.Tag tags = 7 [json_name = "tags"];
    boolean
    .openapi.v3.Components components = 5 [json_name = "components"];
    boolean
    .openapi.v3.ExternalDocs external_docs = 8 [json_name = "externalDocs"];
    int
     
    boolean
    .openapi.v3.Info info = 2 [json_name = "info"];
    boolean
    .openapi.v3.Paths paths = 4 [json_name = "paths"];
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(Document prototype)
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static Document
     
    static Document
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Document
    parseFrom(byte[] data)
     
    static Document
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Document
    parseFrom(com.google.protobuf.ByteString data)
     
    static Document
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Document
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Document
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Document
     
    static Document
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Document
     
    static Document
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Document>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getOpenapi

      public String getOpenapi()
      string openapi = 1 [json_name = "openapi"];
      Specified by:
      getOpenapi in interface DocumentOrBuilder
      Returns:
      The openapi.
    • getOpenapiBytes

      public com.google.protobuf.ByteString getOpenapiBytes()
      string openapi = 1 [json_name = "openapi"];
      Specified by:
      getOpenapiBytes in interface DocumentOrBuilder
      Returns:
      The bytes for openapi.
    • hasInfo

      public boolean hasInfo()
      .openapi.v3.Info info = 2 [json_name = "info"];
      Specified by:
      hasInfo in interface DocumentOrBuilder
      Returns:
      Whether the info field is set.
    • getInfo

      public Info getInfo()
      .openapi.v3.Info info = 2 [json_name = "info"];
      Specified by:
      getInfo in interface DocumentOrBuilder
      Returns:
      The info.
    • getInfoOrBuilder

      public InfoOrBuilder getInfoOrBuilder()
      .openapi.v3.Info info = 2 [json_name = "info"];
      Specified by:
      getInfoOrBuilder in interface DocumentOrBuilder
    • getServersList

      public List<Server> getServersList()
      repeated .openapi.v3.Server servers = 3 [json_name = "servers"];
      Specified by:
      getServersList in interface DocumentOrBuilder
    • getServersOrBuilderList

      public List<? extends ServerOrBuilder> getServersOrBuilderList()
      repeated .openapi.v3.Server servers = 3 [json_name = "servers"];
      Specified by:
      getServersOrBuilderList in interface DocumentOrBuilder
    • getServersCount

      public int getServersCount()
      repeated .openapi.v3.Server servers = 3 [json_name = "servers"];
      Specified by:
      getServersCount in interface DocumentOrBuilder
    • getServers

      public Server getServers(int index)
      repeated .openapi.v3.Server servers = 3 [json_name = "servers"];
      Specified by:
      getServers in interface DocumentOrBuilder
    • getServersOrBuilder

      public ServerOrBuilder getServersOrBuilder(int index)
      repeated .openapi.v3.Server servers = 3 [json_name = "servers"];
      Specified by:
      getServersOrBuilder in interface DocumentOrBuilder
    • hasPaths

      public boolean hasPaths()
      .openapi.v3.Paths paths = 4 [json_name = "paths"];
      Specified by:
      hasPaths in interface DocumentOrBuilder
      Returns:
      Whether the paths field is set.
    • getPaths

      public Paths getPaths()
      .openapi.v3.Paths paths = 4 [json_name = "paths"];
      Specified by:
      getPaths in interface DocumentOrBuilder
      Returns:
      The paths.
    • getPathsOrBuilder

      public PathsOrBuilder getPathsOrBuilder()
      .openapi.v3.Paths paths = 4 [json_name = "paths"];
      Specified by:
      getPathsOrBuilder in interface DocumentOrBuilder
    • hasComponents

      public boolean hasComponents()
      .openapi.v3.Components components = 5 [json_name = "components"];
      Specified by:
      hasComponents in interface DocumentOrBuilder
      Returns:
      Whether the components field is set.
    • getComponents

      public Components getComponents()
      .openapi.v3.Components components = 5 [json_name = "components"];
      Specified by:
      getComponents in interface DocumentOrBuilder
      Returns:
      The components.
    • getComponentsOrBuilder

      public ComponentsOrBuilder getComponentsOrBuilder()
      .openapi.v3.Components components = 5 [json_name = "components"];
      Specified by:
      getComponentsOrBuilder in interface DocumentOrBuilder
    • getSecurityList

      public List<SecurityRequirement> getSecurityList()
      repeated .openapi.v3.SecurityRequirement security = 6 [json_name = "security"];
      Specified by:
      getSecurityList in interface DocumentOrBuilder
    • getSecurityOrBuilderList

      public List<? extends SecurityRequirementOrBuilder> getSecurityOrBuilderList()
      repeated .openapi.v3.SecurityRequirement security = 6 [json_name = "security"];
      Specified by:
      getSecurityOrBuilderList in interface DocumentOrBuilder
    • getSecurityCount

      public int getSecurityCount()
      repeated .openapi.v3.SecurityRequirement security = 6 [json_name = "security"];
      Specified by:
      getSecurityCount in interface DocumentOrBuilder
    • getSecurity

      public SecurityRequirement getSecurity(int index)
      repeated .openapi.v3.SecurityRequirement security = 6 [json_name = "security"];
      Specified by:
      getSecurity in interface DocumentOrBuilder
    • getSecurityOrBuilder

      public SecurityRequirementOrBuilder getSecurityOrBuilder(int index)
      repeated .openapi.v3.SecurityRequirement security = 6 [json_name = "security"];
      Specified by:
      getSecurityOrBuilder in interface DocumentOrBuilder
    • getTagsList

      public List<Tag> getTagsList()
      repeated .openapi.v3.Tag tags = 7 [json_name = "tags"];
      Specified by:
      getTagsList in interface DocumentOrBuilder
    • getTagsOrBuilderList

      public List<? extends TagOrBuilder> getTagsOrBuilderList()
      repeated .openapi.v3.Tag tags = 7 [json_name = "tags"];
      Specified by:
      getTagsOrBuilderList in interface DocumentOrBuilder
    • getTagsCount

      public int getTagsCount()
      repeated .openapi.v3.Tag tags = 7 [json_name = "tags"];
      Specified by:
      getTagsCount in interface DocumentOrBuilder
    • getTags

      public Tag getTags(int index)
      repeated .openapi.v3.Tag tags = 7 [json_name = "tags"];
      Specified by:
      getTags in interface DocumentOrBuilder
    • getTagsOrBuilder

      public TagOrBuilder getTagsOrBuilder(int index)
      repeated .openapi.v3.Tag tags = 7 [json_name = "tags"];
      Specified by:
      getTagsOrBuilder in interface DocumentOrBuilder
    • hasExternalDocs

      public boolean hasExternalDocs()
      .openapi.v3.ExternalDocs external_docs = 8 [json_name = "externalDocs"];
      Specified by:
      hasExternalDocs in interface DocumentOrBuilder
      Returns:
      Whether the externalDocs field is set.
    • getExternalDocs

      public ExternalDocs getExternalDocs()
      .openapi.v3.ExternalDocs external_docs = 8 [json_name = "externalDocs"];
      Specified by:
      getExternalDocs in interface DocumentOrBuilder
      Returns:
      The externalDocs.
    • getExternalDocsOrBuilder

      public ExternalDocsOrBuilder getExternalDocsOrBuilder()
      .openapi.v3.ExternalDocs external_docs = 8 [json_name = "externalDocs"];
      Specified by:
      getExternalDocsOrBuilder in interface DocumentOrBuilder
    • getSpecificationExtensionList

      public List<NamedAny> getSpecificationExtensionList()
      repeated .openapi.v3.NamedAny specification_extension = 9 [json_name = "specificationExtension"];
      Specified by:
      getSpecificationExtensionList in interface DocumentOrBuilder
    • getSpecificationExtensionOrBuilderList

      public List<? extends NamedAnyOrBuilder> getSpecificationExtensionOrBuilderList()
      repeated .openapi.v3.NamedAny specification_extension = 9 [json_name = "specificationExtension"];
      Specified by:
      getSpecificationExtensionOrBuilderList in interface DocumentOrBuilder
    • getSpecificationExtensionCount

      public int getSpecificationExtensionCount()
      repeated .openapi.v3.NamedAny specification_extension = 9 [json_name = "specificationExtension"];
      Specified by:
      getSpecificationExtensionCount in interface DocumentOrBuilder
    • getSpecificationExtension

      public NamedAny getSpecificationExtension(int index)
      repeated .openapi.v3.NamedAny specification_extension = 9 [json_name = "specificationExtension"];
      Specified by:
      getSpecificationExtension in interface DocumentOrBuilder
    • getSpecificationExtensionOrBuilder

      public NamedAnyOrBuilder getSpecificationExtensionOrBuilder(int index)
      repeated .openapi.v3.NamedAny specification_extension = 9 [json_name = "specificationExtension"];
      Specified by:
      getSpecificationExtensionOrBuilder in interface DocumentOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Document parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Document parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Document parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Document parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Document parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Document parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Document.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Document.Builder newBuilder()
    • newBuilder

      public static Document.Builder newBuilder(Document prototype)
    • toBuilder

      public Document.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Document.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Document getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Document> parser()
    • getParserForType

      public com.google.protobuf.Parser<Document> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Document getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder