Package com.openapi.v3
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDescribes the operations available on a single path.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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PathItem.openapi.v3.Operation delete = 7 [json_name = "delete"];.openapi.v3.Operation delete = 7 [json_name = "delete"];string description = 3 [json_name = "description"];com.google.protobuf.ByteStringstring description = 3 [json_name = "description"];static final com.google.protobuf.Descriptors.DescriptorgetGet().openapi.v3.Operation get = 4 [json_name = "get"];.openapi.v3.Operation get = 4 [json_name = "get"];getHead().openapi.v3.Operation head = 9 [json_name = "head"];.openapi.v3.Operation head = 9 [json_name = "head"];.openapi.v3.Operation options = 8 [json_name = "options"];.openapi.v3.Operation options = 8 [json_name = "options"];getParameters(int index) repeated .openapi.v3.ParameterOrReference parameters = 13 [json_name = "parameters"];intrepeated .openapi.v3.ParameterOrReference parameters = 13 [json_name = "parameters"];repeated .openapi.v3.ParameterOrReference parameters = 13 [json_name = "parameters"];getParametersOrBuilder(int index) repeated .openapi.v3.ParameterOrReference parameters = 13 [json_name = "parameters"];List<? extends ParameterOrReferenceOrBuilder>repeated .openapi.v3.ParameterOrReference parameters = 13 [json_name = "parameters"];com.google.protobuf.Parser<PathItem>getPatch().openapi.v3.Operation patch = 10 [json_name = "patch"];.openapi.v3.Operation patch = 10 [json_name = "patch"];getPost().openapi.v3.Operation post = 6 [json_name = "post"];.openapi.v3.Operation post = 6 [json_name = "post"];getPut().openapi.v3.Operation put = 5 [json_name = "put"];.openapi.v3.Operation put = 5 [json_name = "put"];getRef()string _ref = 1 [json_name = "Ref"];com.google.protobuf.ByteStringstring _ref = 1 [json_name = "Ref"];intgetServers(int index) repeated .openapi.v3.Server servers = 12 [json_name = "servers"];intrepeated .openapi.v3.Server servers = 12 [json_name = "servers"];repeated .openapi.v3.Server servers = 12 [json_name = "servers"];getServersOrBuilder(int index) repeated .openapi.v3.Server servers = 12 [json_name = "servers"];List<? extends ServerOrBuilder>repeated .openapi.v3.Server servers = 12 [json_name = "servers"];getSpecificationExtension(int index) repeated .openapi.v3.NamedAny specification_extension = 14 [json_name = "specificationExtension"];intrepeated .openapi.v3.NamedAny specification_extension = 14 [json_name = "specificationExtension"];repeated .openapi.v3.NamedAny specification_extension = 14 [json_name = "specificationExtension"];getSpecificationExtensionOrBuilder(int index) repeated .openapi.v3.NamedAny specification_extension = 14 [json_name = "specificationExtension"];List<? extends NamedAnyOrBuilder>repeated .openapi.v3.NamedAny specification_extension = 14 [json_name = "specificationExtension"];string summary = 2 [json_name = "summary"];com.google.protobuf.ByteStringstring summary = 2 [json_name = "summary"];getTrace().openapi.v3.Operation trace = 11 [json_name = "trace"];.openapi.v3.Operation trace = 11 [json_name = "trace"];boolean.openapi.v3.Operation delete = 7 [json_name = "delete"];booleanhasGet().openapi.v3.Operation get = 4 [json_name = "get"];inthashCode()booleanhasHead().openapi.v3.Operation head = 9 [json_name = "head"];boolean.openapi.v3.Operation options = 8 [json_name = "options"];booleanhasPatch().openapi.v3.Operation patch = 10 [json_name = "patch"];booleanhasPost().openapi.v3.Operation post = 6 [json_name = "post"];booleanhasPut().openapi.v3.Operation put = 5 [json_name = "put"];booleanhasTrace().openapi.v3.Operation trace = 11 [json_name = "trace"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic PathItem.Builderstatic PathItem.BuildernewBuilder(PathItem prototype) protected PathItem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static PathItemparseDelimitedFrom(InputStream input) static PathItemparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PathItemparseFrom(byte[] data) static PathItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PathItemparseFrom(com.google.protobuf.ByteString data) static PathItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PathItemparseFrom(com.google.protobuf.CodedInputStream input) static PathItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PathItemparseFrom(InputStream input) static PathItemparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PathItemparseFrom(ByteBuffer data) static PathItemparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PathItem>parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
_REF_FIELD_NUMBER
public static final int _REF_FIELD_NUMBER- See Also:
-
SUMMARY_FIELD_NUMBER
public static final int SUMMARY_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
GET_FIELD_NUMBER
public static final int GET_FIELD_NUMBER- See Also:
-
PUT_FIELD_NUMBER
public static final int PUT_FIELD_NUMBER- See Also:
-
POST_FIELD_NUMBER
public static final int POST_FIELD_NUMBER- See Also:
-
DELETE_FIELD_NUMBER
public static final int DELETE_FIELD_NUMBER- See Also:
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER- See Also:
-
HEAD_FIELD_NUMBER
public static final int HEAD_FIELD_NUMBER- See Also:
-
PATCH_FIELD_NUMBER
public static final int PATCH_FIELD_NUMBER- See Also:
-
TRACE_FIELD_NUMBER
public static final int TRACE_FIELD_NUMBER- See Also:
-
SERVERS_FIELD_NUMBER
public static final int SERVERS_FIELD_NUMBER- See Also:
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER- See Also:
-
SPECIFICATION_EXTENSION_FIELD_NUMBER
public static final int SPECIFICATION_EXTENSION_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getRef
string _ref = 1 [json_name = "Ref"];- Specified by:
getRefin interfacePathItemOrBuilder- Returns:
- The ref.
-
getRefBytes
public com.google.protobuf.ByteString getRefBytes()string _ref = 1 [json_name = "Ref"];- Specified by:
getRefBytesin interfacePathItemOrBuilder- Returns:
- The bytes for ref.
-
getSummary
string summary = 2 [json_name = "summary"];- Specified by:
getSummaryin interfacePathItemOrBuilder- Returns:
- The summary.
-
getSummaryBytes
public com.google.protobuf.ByteString getSummaryBytes()string summary = 2 [json_name = "summary"];- Specified by:
getSummaryBytesin interfacePathItemOrBuilder- Returns:
- The bytes for summary.
-
getDescription
string description = 3 [json_name = "description"];- Specified by:
getDescriptionin interfacePathItemOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()string description = 3 [json_name = "description"];- Specified by:
getDescriptionBytesin interfacePathItemOrBuilder- Returns:
- The bytes for description.
-
hasGet
public boolean hasGet().openapi.v3.Operation get = 4 [json_name = "get"];- Specified by:
hasGetin interfacePathItemOrBuilder- Returns:
- Whether the get field is set.
-
getGet
.openapi.v3.Operation get = 4 [json_name = "get"];- Specified by:
getGetin interfacePathItemOrBuilder- Returns:
- The get.
-
getGetOrBuilder
.openapi.v3.Operation get = 4 [json_name = "get"];- Specified by:
getGetOrBuilderin interfacePathItemOrBuilder
-
hasPut
public boolean hasPut().openapi.v3.Operation put = 5 [json_name = "put"];- Specified by:
hasPutin interfacePathItemOrBuilder- Returns:
- Whether the put field is set.
-
getPut
.openapi.v3.Operation put = 5 [json_name = "put"];- Specified by:
getPutin interfacePathItemOrBuilder- Returns:
- The put.
-
getPutOrBuilder
.openapi.v3.Operation put = 5 [json_name = "put"];- Specified by:
getPutOrBuilderin interfacePathItemOrBuilder
-
hasPost
public boolean hasPost().openapi.v3.Operation post = 6 [json_name = "post"];- Specified by:
hasPostin interfacePathItemOrBuilder- Returns:
- Whether the post field is set.
-
getPost
.openapi.v3.Operation post = 6 [json_name = "post"];- Specified by:
getPostin interfacePathItemOrBuilder- Returns:
- The post.
-
getPostOrBuilder
.openapi.v3.Operation post = 6 [json_name = "post"];- Specified by:
getPostOrBuilderin interfacePathItemOrBuilder
-
hasDelete
public boolean hasDelete().openapi.v3.Operation delete = 7 [json_name = "delete"];- Specified by:
hasDeletein interfacePathItemOrBuilder- Returns:
- Whether the delete field is set.
-
getDelete
.openapi.v3.Operation delete = 7 [json_name = "delete"];- Specified by:
getDeletein interfacePathItemOrBuilder- Returns:
- The delete.
-
getDeleteOrBuilder
.openapi.v3.Operation delete = 7 [json_name = "delete"];- Specified by:
getDeleteOrBuilderin interfacePathItemOrBuilder
-
hasOptions
public boolean hasOptions().openapi.v3.Operation options = 8 [json_name = "options"];- Specified by:
hasOptionsin interfacePathItemOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
.openapi.v3.Operation options = 8 [json_name = "options"];- Specified by:
getOptionsin interfacePathItemOrBuilder- Returns:
- The options.
-
getOptionsOrBuilder
.openapi.v3.Operation options = 8 [json_name = "options"];- Specified by:
getOptionsOrBuilderin interfacePathItemOrBuilder
-
hasHead
public boolean hasHead().openapi.v3.Operation head = 9 [json_name = "head"];- Specified by:
hasHeadin interfacePathItemOrBuilder- Returns:
- Whether the head field is set.
-
getHead
.openapi.v3.Operation head = 9 [json_name = "head"];- Specified by:
getHeadin interfacePathItemOrBuilder- Returns:
- The head.
-
getHeadOrBuilder
.openapi.v3.Operation head = 9 [json_name = "head"];- Specified by:
getHeadOrBuilderin interfacePathItemOrBuilder
-
hasPatch
public boolean hasPatch().openapi.v3.Operation patch = 10 [json_name = "patch"];- Specified by:
hasPatchin interfacePathItemOrBuilder- Returns:
- Whether the patch field is set.
-
getPatch
.openapi.v3.Operation patch = 10 [json_name = "patch"];- Specified by:
getPatchin interfacePathItemOrBuilder- Returns:
- The patch.
-
getPatchOrBuilder
.openapi.v3.Operation patch = 10 [json_name = "patch"];- Specified by:
getPatchOrBuilderin interfacePathItemOrBuilder
-
hasTrace
public boolean hasTrace().openapi.v3.Operation trace = 11 [json_name = "trace"];- Specified by:
hasTracein interfacePathItemOrBuilder- Returns:
- Whether the trace field is set.
-
getTrace
.openapi.v3.Operation trace = 11 [json_name = "trace"];- Specified by:
getTracein interfacePathItemOrBuilder- Returns:
- The trace.
-
getTraceOrBuilder
.openapi.v3.Operation trace = 11 [json_name = "trace"];- Specified by:
getTraceOrBuilderin interfacePathItemOrBuilder
-
getServersList
repeated .openapi.v3.Server servers = 12 [json_name = "servers"];- Specified by:
getServersListin interfacePathItemOrBuilder
-
getServersOrBuilderList
repeated .openapi.v3.Server servers = 12 [json_name = "servers"];- Specified by:
getServersOrBuilderListin interfacePathItemOrBuilder
-
getServersCount
public int getServersCount()repeated .openapi.v3.Server servers = 12 [json_name = "servers"];- Specified by:
getServersCountin interfacePathItemOrBuilder
-
getServers
repeated .openapi.v3.Server servers = 12 [json_name = "servers"];- Specified by:
getServersin interfacePathItemOrBuilder
-
getServersOrBuilder
repeated .openapi.v3.Server servers = 12 [json_name = "servers"];- Specified by:
getServersOrBuilderin interfacePathItemOrBuilder
-
getParametersList
repeated .openapi.v3.ParameterOrReference parameters = 13 [json_name = "parameters"];- Specified by:
getParametersListin interfacePathItemOrBuilder
-
getParametersOrBuilderList
repeated .openapi.v3.ParameterOrReference parameters = 13 [json_name = "parameters"];- Specified by:
getParametersOrBuilderListin interfacePathItemOrBuilder
-
getParametersCount
public int getParametersCount()repeated .openapi.v3.ParameterOrReference parameters = 13 [json_name = "parameters"];- Specified by:
getParametersCountin interfacePathItemOrBuilder
-
getParameters
repeated .openapi.v3.ParameterOrReference parameters = 13 [json_name = "parameters"];- Specified by:
getParametersin interfacePathItemOrBuilder
-
getParametersOrBuilder
repeated .openapi.v3.ParameterOrReference parameters = 13 [json_name = "parameters"];- Specified by:
getParametersOrBuilderin interfacePathItemOrBuilder
-
getSpecificationExtensionList
repeated .openapi.v3.NamedAny specification_extension = 14 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionListin interfacePathItemOrBuilder
-
getSpecificationExtensionOrBuilderList
repeated .openapi.v3.NamedAny specification_extension = 14 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionOrBuilderListin interfacePathItemOrBuilder
-
getSpecificationExtensionCount
public int getSpecificationExtensionCount()repeated .openapi.v3.NamedAny specification_extension = 14 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionCountin interfacePathItemOrBuilder
-
getSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 14 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionin interfacePathItemOrBuilder
-
getSpecificationExtensionOrBuilder
repeated .openapi.v3.NamedAny specification_extension = 14 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionOrBuilderin interfacePathItemOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static PathItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PathItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PathItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PathItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-