Class Components

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

public final class Components extends com.google.protobuf.GeneratedMessageV3 implements ComponentsOrBuilder
 Holds a set of reusable objects for different aspects of the OAS. All objects defined within the components object will have no effect on the API unless they are explicitly referenced from properties outside the components object.
 
Protobuf type openapi.v3.Components
See Also:
  • Field Details

    • SCHEMAS_FIELD_NUMBER

      public static final int SCHEMAS_FIELD_NUMBER
      See Also:
    • RESPONSES_FIELD_NUMBER

      public static final int RESPONSES_FIELD_NUMBER
      See Also:
    • PARAMETERS_FIELD_NUMBER

      public static final int PARAMETERS_FIELD_NUMBER
      See Also:
    • EXAMPLES_FIELD_NUMBER

      public static final int EXAMPLES_FIELD_NUMBER
      See Also:
    • REQUEST_BODIES_FIELD_NUMBER

      public static final int REQUEST_BODIES_FIELD_NUMBER
      See Also:
    • HEADERS_FIELD_NUMBER

      public static final int HEADERS_FIELD_NUMBER
      See Also:
    • SECURITY_SCHEMES_FIELD_NUMBER

      public static final int SECURITY_SCHEMES_FIELD_NUMBER
      See Also:
    • CALLBACKS_FIELD_NUMBER

      public static final int CALLBACKS_FIELD_NUMBER
      See Also:
    • SPECIFICATION_EXTENSION_FIELD_NUMBER

      public static final int SPECIFICATION_EXTENSION_FIELD_NUMBER
      See Also:
  • 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
    • hasSchemas

      public boolean hasSchemas()
      .openapi.v3.SchemasOrReferences schemas = 1 [json_name = "schemas"];
      Specified by:
      hasSchemas in interface ComponentsOrBuilder
      Returns:
      Whether the schemas field is set.
    • getSchemas

      public SchemasOrReferences getSchemas()
      .openapi.v3.SchemasOrReferences schemas = 1 [json_name = "schemas"];
      Specified by:
      getSchemas in interface ComponentsOrBuilder
      Returns:
      The schemas.
    • getSchemasOrBuilder

      public SchemasOrReferencesOrBuilder getSchemasOrBuilder()
      .openapi.v3.SchemasOrReferences schemas = 1 [json_name = "schemas"];
      Specified by:
      getSchemasOrBuilder in interface ComponentsOrBuilder
    • hasResponses

      public boolean hasResponses()
      .openapi.v3.ResponsesOrReferences responses = 2 [json_name = "responses"];
      Specified by:
      hasResponses in interface ComponentsOrBuilder
      Returns:
      Whether the responses field is set.
    • getResponses

      public ResponsesOrReferences getResponses()
      .openapi.v3.ResponsesOrReferences responses = 2 [json_name = "responses"];
      Specified by:
      getResponses in interface ComponentsOrBuilder
      Returns:
      The responses.
    • getResponsesOrBuilder

      public ResponsesOrReferencesOrBuilder getResponsesOrBuilder()
      .openapi.v3.ResponsesOrReferences responses = 2 [json_name = "responses"];
      Specified by:
      getResponsesOrBuilder in interface ComponentsOrBuilder
    • hasParameters

      public boolean hasParameters()
      .openapi.v3.ParametersOrReferences parameters = 3 [json_name = "parameters"];
      Specified by:
      hasParameters in interface ComponentsOrBuilder
      Returns:
      Whether the parameters field is set.
    • getParameters

      public ParametersOrReferences getParameters()
      .openapi.v3.ParametersOrReferences parameters = 3 [json_name = "parameters"];
      Specified by:
      getParameters in interface ComponentsOrBuilder
      Returns:
      The parameters.
    • getParametersOrBuilder

      public ParametersOrReferencesOrBuilder getParametersOrBuilder()
      .openapi.v3.ParametersOrReferences parameters = 3 [json_name = "parameters"];
      Specified by:
      getParametersOrBuilder in interface ComponentsOrBuilder
    • hasExamples

      public boolean hasExamples()
      .openapi.v3.ExamplesOrReferences examples = 4 [json_name = "examples"];
      Specified by:
      hasExamples in interface ComponentsOrBuilder
      Returns:
      Whether the examples field is set.
    • getExamples

      public ExamplesOrReferences getExamples()
      .openapi.v3.ExamplesOrReferences examples = 4 [json_name = "examples"];
      Specified by:
      getExamples in interface ComponentsOrBuilder
      Returns:
      The examples.
    • getExamplesOrBuilder

      public ExamplesOrReferencesOrBuilder getExamplesOrBuilder()
      .openapi.v3.ExamplesOrReferences examples = 4 [json_name = "examples"];
      Specified by:
      getExamplesOrBuilder in interface ComponentsOrBuilder
    • hasRequestBodies

      public boolean hasRequestBodies()
      .openapi.v3.RequestBodiesOrReferences request_bodies = 5 [json_name = "requestBodies"];
      Specified by:
      hasRequestBodies in interface ComponentsOrBuilder
      Returns:
      Whether the requestBodies field is set.
    • getRequestBodies

      public RequestBodiesOrReferences getRequestBodies()
      .openapi.v3.RequestBodiesOrReferences request_bodies = 5 [json_name = "requestBodies"];
      Specified by:
      getRequestBodies in interface ComponentsOrBuilder
      Returns:
      The requestBodies.
    • getRequestBodiesOrBuilder

      public RequestBodiesOrReferencesOrBuilder getRequestBodiesOrBuilder()
      .openapi.v3.RequestBodiesOrReferences request_bodies = 5 [json_name = "requestBodies"];
      Specified by:
      getRequestBodiesOrBuilder in interface ComponentsOrBuilder
    • hasHeaders

      public boolean hasHeaders()
      .openapi.v3.HeadersOrReferences headers = 6 [json_name = "headers"];
      Specified by:
      hasHeaders in interface ComponentsOrBuilder
      Returns:
      Whether the headers field is set.
    • getHeaders

      public HeadersOrReferences getHeaders()
      .openapi.v3.HeadersOrReferences headers = 6 [json_name = "headers"];
      Specified by:
      getHeaders in interface ComponentsOrBuilder
      Returns:
      The headers.
    • getHeadersOrBuilder

      public HeadersOrReferencesOrBuilder getHeadersOrBuilder()
      .openapi.v3.HeadersOrReferences headers = 6 [json_name = "headers"];
      Specified by:
      getHeadersOrBuilder in interface ComponentsOrBuilder
    • hasSecuritySchemes

      public boolean hasSecuritySchemes()
      .openapi.v3.SecuritySchemesOrReferences security_schemes = 7 [json_name = "securitySchemes"];
      Specified by:
      hasSecuritySchemes in interface ComponentsOrBuilder
      Returns:
      Whether the securitySchemes field is set.
    • getSecuritySchemes

      public SecuritySchemesOrReferences getSecuritySchemes()
      .openapi.v3.SecuritySchemesOrReferences security_schemes = 7 [json_name = "securitySchemes"];
      Specified by:
      getSecuritySchemes in interface ComponentsOrBuilder
      Returns:
      The securitySchemes.
    • getSecuritySchemesOrBuilder

      public SecuritySchemesOrReferencesOrBuilder getSecuritySchemesOrBuilder()
      .openapi.v3.SecuritySchemesOrReferences security_schemes = 7 [json_name = "securitySchemes"];
      Specified by:
      getSecuritySchemesOrBuilder in interface ComponentsOrBuilder
    • hasLinks

      public boolean hasLinks()
      .openapi.v3.LinksOrReferences links = 8 [json_name = "links"];
      Specified by:
      hasLinks in interface ComponentsOrBuilder
      Returns:
      Whether the links field is set.
    • getLinks

      public LinksOrReferences getLinks()
      .openapi.v3.LinksOrReferences links = 8 [json_name = "links"];
      Specified by:
      getLinks in interface ComponentsOrBuilder
      Returns:
      The links.
    • getLinksOrBuilder

      public LinksOrReferencesOrBuilder getLinksOrBuilder()
      .openapi.v3.LinksOrReferences links = 8 [json_name = "links"];
      Specified by:
      getLinksOrBuilder in interface ComponentsOrBuilder
    • hasCallbacks

      public boolean hasCallbacks()
      .openapi.v3.CallbacksOrReferences callbacks = 9 [json_name = "callbacks"];
      Specified by:
      hasCallbacks in interface ComponentsOrBuilder
      Returns:
      Whether the callbacks field is set.
    • getCallbacks

      public CallbacksOrReferences getCallbacks()
      .openapi.v3.CallbacksOrReferences callbacks = 9 [json_name = "callbacks"];
      Specified by:
      getCallbacks in interface ComponentsOrBuilder
      Returns:
      The callbacks.
    • getCallbacksOrBuilder

      public CallbacksOrReferencesOrBuilder getCallbacksOrBuilder()
      .openapi.v3.CallbacksOrReferences callbacks = 9 [json_name = "callbacks"];
      Specified by:
      getCallbacksOrBuilder in interface ComponentsOrBuilder
    • getSpecificationExtensionList

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

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

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

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

      public NamedAnyOrBuilder getSpecificationExtensionOrBuilder(int index)
      repeated .openapi.v3.NamedAny specification_extension = 10 [json_name = "specificationExtension"];
      Specified by:
      getSpecificationExtensionOrBuilder in interface ComponentsOrBuilder
    • 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 Components parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Components.Builder newBuilder()
    • newBuilder

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

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

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

      public static Components getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Components> 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 Components getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder