Package com.openapi.v3
Class Link
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.openapi.v3.Link
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,LinkOrBuilder,Serializable
The `Link object` represents a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations. Unlike _dynamic_ links (i.e. links provided **in** the response payload), the OAS linking mechanism does not require link information in the runtime response. For computing links, and providing instructions to execute them, a runtime expression is used for accessing values in an operation and using them as parameters while invoking the linked operation.Protobuf type
openapi.v3.Link- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe `Link object` represents a possible design-time link for a response.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 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 Linkstring description = 5 [json_name = "description"];com.google.protobuf.ByteStringstring description = 5 [json_name = "description"];static final com.google.protobuf.Descriptors.Descriptorstring operation_id = 2 [json_name = "operationId"];com.google.protobuf.ByteStringstring operation_id = 2 [json_name = "operationId"];string operation_ref = 1 [json_name = "operationRef"];com.google.protobuf.ByteStringstring operation_ref = 1 [json_name = "operationRef"];.openapi.v3.AnyOrExpression parameters = 3 [json_name = "parameters"];.openapi.v3.AnyOrExpression parameters = 3 [json_name = "parameters"];com.google.protobuf.Parser<Link>.openapi.v3.AnyOrExpression request_body = 4 [json_name = "requestBody"];.openapi.v3.AnyOrExpression request_body = 4 [json_name = "requestBody"];int.openapi.v3.Server server = 6 [json_name = "server"];.openapi.v3.Server server = 6 [json_name = "server"];getSpecificationExtension(int index) repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];intrepeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];getSpecificationExtensionOrBuilder(int index) repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];List<? extends NamedAnyOrBuilder>repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];inthashCode()boolean.openapi.v3.AnyOrExpression parameters = 3 [json_name = "parameters"];boolean.openapi.v3.AnyOrExpression request_body = 4 [json_name = "requestBody"];boolean.openapi.v3.Server server = 6 [json_name = "server"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Link.Builderstatic Link.BuildernewBuilder(Link prototype) protected Link.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static LinkparseDelimitedFrom(InputStream input) static LinkparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkparseFrom(byte[] data) static LinkparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkparseFrom(com.google.protobuf.ByteString data) static LinkparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkparseFrom(com.google.protobuf.CodedInputStream input) static LinkparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkparseFrom(InputStream input) static LinkparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkparseFrom(ByteBuffer data) static LinkparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Link>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
-
OPERATION_REF_FIELD_NUMBER
public static final int OPERATION_REF_FIELD_NUMBER- See Also:
-
OPERATION_ID_FIELD_NUMBER
public static final int OPERATION_ID_FIELD_NUMBER- See Also:
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER- See Also:
-
REQUEST_BODY_FIELD_NUMBER
public static final int REQUEST_BODY_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
SERVER_FIELD_NUMBER
public static final int SERVER_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
-
getOperationRef
string operation_ref = 1 [json_name = "operationRef"];- Specified by:
getOperationRefin interfaceLinkOrBuilder- Returns:
- The operationRef.
-
getOperationRefBytes
public com.google.protobuf.ByteString getOperationRefBytes()string operation_ref = 1 [json_name = "operationRef"];- Specified by:
getOperationRefBytesin interfaceLinkOrBuilder- Returns:
- The bytes for operationRef.
-
getOperationId
string operation_id = 2 [json_name = "operationId"];- Specified by:
getOperationIdin interfaceLinkOrBuilder- Returns:
- The operationId.
-
getOperationIdBytes
public com.google.protobuf.ByteString getOperationIdBytes()string operation_id = 2 [json_name = "operationId"];- Specified by:
getOperationIdBytesin interfaceLinkOrBuilder- Returns:
- The bytes for operationId.
-
hasParameters
public boolean hasParameters().openapi.v3.AnyOrExpression parameters = 3 [json_name = "parameters"];- Specified by:
hasParametersin interfaceLinkOrBuilder- Returns:
- Whether the parameters field is set.
-
getParameters
.openapi.v3.AnyOrExpression parameters = 3 [json_name = "parameters"];- Specified by:
getParametersin interfaceLinkOrBuilder- Returns:
- The parameters.
-
getParametersOrBuilder
.openapi.v3.AnyOrExpression parameters = 3 [json_name = "parameters"];- Specified by:
getParametersOrBuilderin interfaceLinkOrBuilder
-
hasRequestBody
public boolean hasRequestBody().openapi.v3.AnyOrExpression request_body = 4 [json_name = "requestBody"];- Specified by:
hasRequestBodyin interfaceLinkOrBuilder- Returns:
- Whether the requestBody field is set.
-
getRequestBody
.openapi.v3.AnyOrExpression request_body = 4 [json_name = "requestBody"];- Specified by:
getRequestBodyin interfaceLinkOrBuilder- Returns:
- The requestBody.
-
getRequestBodyOrBuilder
.openapi.v3.AnyOrExpression request_body = 4 [json_name = "requestBody"];- Specified by:
getRequestBodyOrBuilderin interfaceLinkOrBuilder
-
getDescription
string description = 5 [json_name = "description"];- Specified by:
getDescriptionin interfaceLinkOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()string description = 5 [json_name = "description"];- Specified by:
getDescriptionBytesin interfaceLinkOrBuilder- Returns:
- The bytes for description.
-
hasServer
public boolean hasServer().openapi.v3.Server server = 6 [json_name = "server"];- Specified by:
hasServerin interfaceLinkOrBuilder- Returns:
- Whether the server field is set.
-
getServer
.openapi.v3.Server server = 6 [json_name = "server"];- Specified by:
getServerin interfaceLinkOrBuilder- Returns:
- The server.
-
getServerOrBuilder
.openapi.v3.Server server = 6 [json_name = "server"];- Specified by:
getServerOrBuilderin interfaceLinkOrBuilder
-
getSpecificationExtensionList
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionListin interfaceLinkOrBuilder
-
getSpecificationExtensionOrBuilderList
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionOrBuilderListin interfaceLinkOrBuilder
-
getSpecificationExtensionCount
public int getSpecificationExtensionCount()repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionCountin interfaceLinkOrBuilder
-
getSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionin interfaceLinkOrBuilder
-
getSpecificationExtensionOrBuilder
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionOrBuilderin interfaceLinkOrBuilder
-
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 Link parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Link parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Link parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Link parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Link parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Link parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Link parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Link 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 Link.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
-