Class PathItem

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

public final class PathItem extends com.google.protobuf.GeneratedMessageV3 implements PathItemOrBuilder
 Describes the operations available on a single path. A Path Item MAY be empty, due to ACL constraints. The path itself is still exposed to the documentation viewer but they will not know which operations and parameters are available.
 
Protobuf type openapi.v3.PathItem
See Also:
  • 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
    • getRef

      public String getRef()
      string _ref = 1 [json_name = "Ref"];
      Specified by:
      getRef in interface PathItemOrBuilder
      Returns:
      The ref.
    • getRefBytes

      public com.google.protobuf.ByteString getRefBytes()
      string _ref = 1 [json_name = "Ref"];
      Specified by:
      getRefBytes in interface PathItemOrBuilder
      Returns:
      The bytes for ref.
    • getSummary

      public String getSummary()
      string summary = 2 [json_name = "summary"];
      Specified by:
      getSummary in interface PathItemOrBuilder
      Returns:
      The summary.
    • getSummaryBytes

      public com.google.protobuf.ByteString getSummaryBytes()
      string summary = 2 [json_name = "summary"];
      Specified by:
      getSummaryBytes in interface PathItemOrBuilder
      Returns:
      The bytes for summary.
    • getDescription

      public String getDescription()
      string description = 3 [json_name = "description"];
      Specified by:
      getDescription in interface PathItemOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      string description = 3 [json_name = "description"];
      Specified by:
      getDescriptionBytes in interface PathItemOrBuilder
      Returns:
      The bytes for description.
    • hasGet

      public boolean hasGet()
      .openapi.v3.Operation get = 4 [json_name = "get"];
      Specified by:
      hasGet in interface PathItemOrBuilder
      Returns:
      Whether the get field is set.
    • getGet

      public Operation getGet()
      .openapi.v3.Operation get = 4 [json_name = "get"];
      Specified by:
      getGet in interface PathItemOrBuilder
      Returns:
      The get.
    • getGetOrBuilder

      public OperationOrBuilder getGetOrBuilder()
      .openapi.v3.Operation get = 4 [json_name = "get"];
      Specified by:
      getGetOrBuilder in interface PathItemOrBuilder
    • hasPut

      public boolean hasPut()
      .openapi.v3.Operation put = 5 [json_name = "put"];
      Specified by:
      hasPut in interface PathItemOrBuilder
      Returns:
      Whether the put field is set.
    • getPut

      public Operation getPut()
      .openapi.v3.Operation put = 5 [json_name = "put"];
      Specified by:
      getPut in interface PathItemOrBuilder
      Returns:
      The put.
    • getPutOrBuilder

      public OperationOrBuilder getPutOrBuilder()
      .openapi.v3.Operation put = 5 [json_name = "put"];
      Specified by:
      getPutOrBuilder in interface PathItemOrBuilder
    • hasPost

      public boolean hasPost()
      .openapi.v3.Operation post = 6 [json_name = "post"];
      Specified by:
      hasPost in interface PathItemOrBuilder
      Returns:
      Whether the post field is set.
    • getPost

      public Operation getPost()
      .openapi.v3.Operation post = 6 [json_name = "post"];
      Specified by:
      getPost in interface PathItemOrBuilder
      Returns:
      The post.
    • getPostOrBuilder

      public OperationOrBuilder getPostOrBuilder()
      .openapi.v3.Operation post = 6 [json_name = "post"];
      Specified by:
      getPostOrBuilder in interface PathItemOrBuilder
    • hasDelete

      public boolean hasDelete()
      .openapi.v3.Operation delete = 7 [json_name = "delete"];
      Specified by:
      hasDelete in interface PathItemOrBuilder
      Returns:
      Whether the delete field is set.
    • getDelete

      public Operation getDelete()
      .openapi.v3.Operation delete = 7 [json_name = "delete"];
      Specified by:
      getDelete in interface PathItemOrBuilder
      Returns:
      The delete.
    • getDeleteOrBuilder

      public OperationOrBuilder getDeleteOrBuilder()
      .openapi.v3.Operation delete = 7 [json_name = "delete"];
      Specified by:
      getDeleteOrBuilder in interface PathItemOrBuilder
    • hasOptions

      public boolean hasOptions()
      .openapi.v3.Operation options = 8 [json_name = "options"];
      Specified by:
      hasOptions in interface PathItemOrBuilder
      Returns:
      Whether the options field is set.
    • getOptions

      public Operation getOptions()
      .openapi.v3.Operation options = 8 [json_name = "options"];
      Specified by:
      getOptions in interface PathItemOrBuilder
      Returns:
      The options.
    • getOptionsOrBuilder

      public OperationOrBuilder getOptionsOrBuilder()
      .openapi.v3.Operation options = 8 [json_name = "options"];
      Specified by:
      getOptionsOrBuilder in interface PathItemOrBuilder
    • hasHead

      public boolean hasHead()
      .openapi.v3.Operation head = 9 [json_name = "head"];
      Specified by:
      hasHead in interface PathItemOrBuilder
      Returns:
      Whether the head field is set.
    • getHead

      public Operation getHead()
      .openapi.v3.Operation head = 9 [json_name = "head"];
      Specified by:
      getHead in interface PathItemOrBuilder
      Returns:
      The head.
    • getHeadOrBuilder

      public OperationOrBuilder getHeadOrBuilder()
      .openapi.v3.Operation head = 9 [json_name = "head"];
      Specified by:
      getHeadOrBuilder in interface PathItemOrBuilder
    • hasPatch

      public boolean hasPatch()
      .openapi.v3.Operation patch = 10 [json_name = "patch"];
      Specified by:
      hasPatch in interface PathItemOrBuilder
      Returns:
      Whether the patch field is set.
    • getPatch

      public Operation getPatch()
      .openapi.v3.Operation patch = 10 [json_name = "patch"];
      Specified by:
      getPatch in interface PathItemOrBuilder
      Returns:
      The patch.
    • getPatchOrBuilder

      public OperationOrBuilder getPatchOrBuilder()
      .openapi.v3.Operation patch = 10 [json_name = "patch"];
      Specified by:
      getPatchOrBuilder in interface PathItemOrBuilder
    • hasTrace

      public boolean hasTrace()
      .openapi.v3.Operation trace = 11 [json_name = "trace"];
      Specified by:
      hasTrace in interface PathItemOrBuilder
      Returns:
      Whether the trace field is set.
    • getTrace

      public Operation getTrace()
      .openapi.v3.Operation trace = 11 [json_name = "trace"];
      Specified by:
      getTrace in interface PathItemOrBuilder
      Returns:
      The trace.
    • getTraceOrBuilder

      public OperationOrBuilder getTraceOrBuilder()
      .openapi.v3.Operation trace = 11 [json_name = "trace"];
      Specified by:
      getTraceOrBuilder in interface PathItemOrBuilder
    • getServersList

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

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

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

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

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

      public List<ParameterOrReference> getParametersList()
      repeated .openapi.v3.ParameterOrReference parameters = 13 [json_name = "parameters"];
      Specified by:
      getParametersList in interface PathItemOrBuilder
    • getParametersOrBuilderList

      public List<? extends ParameterOrReferenceOrBuilder> getParametersOrBuilderList()
      repeated .openapi.v3.ParameterOrReference parameters = 13 [json_name = "parameters"];
      Specified by:
      getParametersOrBuilderList in interface PathItemOrBuilder
    • getParametersCount

      public int getParametersCount()
      repeated .openapi.v3.ParameterOrReference parameters = 13 [json_name = "parameters"];
      Specified by:
      getParametersCount in interface PathItemOrBuilder
    • getParameters

      public ParameterOrReference getParameters(int index)
      repeated .openapi.v3.ParameterOrReference parameters = 13 [json_name = "parameters"];
      Specified by:
      getParameters in interface PathItemOrBuilder
    • getParametersOrBuilder

      public ParameterOrReferenceOrBuilder getParametersOrBuilder(int index)
      repeated .openapi.v3.ParameterOrReference parameters = 13 [json_name = "parameters"];
      Specified by:
      getParametersOrBuilder in interface PathItemOrBuilder
    • getSpecificationExtensionList

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static PathItem.Builder newBuilder()
    • newBuilder

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

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

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

      public static PathItem getDefaultInstance()
    • parser

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

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