public static final class Openapiv2.Operation extends com.google.protobuf.GeneratedMessageV3 implements Openapiv2.OperationOrBuilder
`Operation` is a representation of OpenAPI v2 specification's Operation object.
See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#operationObject
Example:
service EchoService {
rpc Echo(SimpleMessage) returns (SimpleMessage) {
option (google.api.http) = {
get: "/v1/example/echo/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Get a message.";
operation_id: "getMessage";
tags: "echo";
responses: {
key: "200"
value: {
description: "OK";
}
}
};
}
}
Protobuf type grpc.gateway.protoc_gen_openapiv2.options.Operation| Modifier and Type | Class and Description |
|---|---|
static class |
Openapiv2.Operation.Builder
`Operation` is a representation of OpenAPI v2 specification's Operation object.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONSUMES_FIELD_NUMBER |
static int |
DEPRECATED_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
EXTENSIONS_FIELD_NUMBER |
static int |
EXTERNAL_DOCS_FIELD_NUMBER |
static int |
OPERATION_ID_FIELD_NUMBER |
static int |
PRODUCES_FIELD_NUMBER |
static int |
RESPONSES_FIELD_NUMBER |
static int |
SCHEMES_FIELD_NUMBER |
static int |
SECURITY_FIELD_NUMBER |
static int |
SUMMARY_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsExtensions(java.lang.String key)
map<string, .google.protobuf.Value> extensions = 13; |
boolean |
containsResponses(java.lang.String key)
The list of possible responses as they are returned from executing this
operation.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getConsumes(int index)
A list of MIME types the operation can consume.
|
com.google.protobuf.ByteString |
getConsumesBytes(int index)
A list of MIME types the operation can consume.
|
int |
getConsumesCount()
A list of MIME types the operation can consume.
|
com.google.protobuf.ProtocolStringList |
getConsumesList()
A list of MIME types the operation can consume.
|
static Openapiv2.Operation |
getDefaultInstance() |
Openapiv2.Operation |
getDefaultInstanceForType() |
boolean |
getDeprecated()
Declares this operation to be deprecated.
|
java.lang.String |
getDescription()
A verbose explanation of the operation behavior.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A verbose explanation of the operation behavior.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.util.Map<java.lang.String,com.google.protobuf.Value> |
getExtensions()
Deprecated.
|
int |
getExtensionsCount()
map<string, .google.protobuf.Value> extensions = 13; |
java.util.Map<java.lang.String,com.google.protobuf.Value> |
getExtensionsMap()
map<string, .google.protobuf.Value> extensions = 13; |
com.google.protobuf.Value |
getExtensionsOrDefault(java.lang.String key,
com.google.protobuf.Value defaultValue)
map<string, .google.protobuf.Value> extensions = 13; |
com.google.protobuf.Value |
getExtensionsOrThrow(java.lang.String key)
map<string, .google.protobuf.Value> extensions = 13; |
Openapiv2.ExternalDocumentation |
getExternalDocs()
Additional external documentation for this operation.
|
Openapiv2.ExternalDocumentationOrBuilder |
getExternalDocsOrBuilder()
Additional external documentation for this operation.
|
java.lang.String |
getOperationId()
Unique string used to identify the operation.
|
com.google.protobuf.ByteString |
getOperationIdBytes()
Unique string used to identify the operation.
|
com.google.protobuf.Parser<Openapiv2.Operation> |
getParserForType() |
java.lang.String |
getProduces(int index)
A list of MIME types the operation can produce.
|
com.google.protobuf.ByteString |
getProducesBytes(int index)
A list of MIME types the operation can produce.
|
int |
getProducesCount()
A list of MIME types the operation can produce.
|
com.google.protobuf.ProtocolStringList |
getProducesList()
A list of MIME types the operation can produce.
|
java.util.Map<java.lang.String,Openapiv2.Response> |
getResponses()
Deprecated.
|
int |
getResponsesCount()
The list of possible responses as they are returned from executing this
operation.
|
java.util.Map<java.lang.String,Openapiv2.Response> |
getResponsesMap()
The list of possible responses as they are returned from executing this
operation.
|
Openapiv2.Response |
getResponsesOrDefault(java.lang.String key,
Openapiv2.Response defaultValue)
The list of possible responses as they are returned from executing this
operation.
|
Openapiv2.Response |
getResponsesOrThrow(java.lang.String key)
The list of possible responses as they are returned from executing this
operation.
|
Openapiv2.Scheme |
getSchemes(int index)
The transfer protocol for the operation.
|
int |
getSchemesCount()
The transfer protocol for the operation.
|
java.util.List<Openapiv2.Scheme> |
getSchemesList()
The transfer protocol for the operation.
|
int |
getSchemesValue(int index)
The transfer protocol for the operation.
|
java.util.List<java.lang.Integer> |
getSchemesValueList()
The transfer protocol for the operation.
|
Openapiv2.SecurityRequirement |
getSecurity(int index)
A declaration of which security schemes are applied for this operation.
|
int |
getSecurityCount()
A declaration of which security schemes are applied for this operation.
|
java.util.List<Openapiv2.SecurityRequirement> |
getSecurityList()
A declaration of which security schemes are applied for this operation.
|
Openapiv2.SecurityRequirementOrBuilder |
getSecurityOrBuilder(int index)
A declaration of which security schemes are applied for this operation.
|
java.util.List<? extends Openapiv2.SecurityRequirementOrBuilder> |
getSecurityOrBuilderList()
A declaration of which security schemes are applied for this operation.
|
int |
getSerializedSize() |
java.lang.String |
getSummary()
A short summary of what the operation does.
|
com.google.protobuf.ByteString |
getSummaryBytes()
A short summary of what the operation does.
|
java.lang.String |
getTags(int index)
A list of tags for API documentation control.
|
com.google.protobuf.ByteString |
getTagsBytes(int index)
A list of tags for API documentation control.
|
int |
getTagsCount()
A list of tags for API documentation control.
|
com.google.protobuf.ProtocolStringList |
getTagsList()
A list of tags for API documentation control.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasExternalDocs()
Additional external documentation for this operation.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Openapiv2.Operation.Builder |
newBuilder() |
static Openapiv2.Operation.Builder |
newBuilder(Openapiv2.Operation prototype) |
Openapiv2.Operation.Builder |
newBuilderForType() |
protected Openapiv2.Operation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Openapiv2.Operation |
parseDelimitedFrom(java.io.InputStream input) |
static Openapiv2.Operation |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openapiv2.Operation |
parseFrom(byte[] data) |
static Openapiv2.Operation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openapiv2.Operation |
parseFrom(java.nio.ByteBuffer data) |
static Openapiv2.Operation |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openapiv2.Operation |
parseFrom(com.google.protobuf.ByteString data) |
static Openapiv2.Operation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openapiv2.Operation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Openapiv2.Operation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openapiv2.Operation |
parseFrom(java.io.InputStream input) |
static Openapiv2.Operation |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Openapiv2.Operation> |
parser() |
Openapiv2.Operation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TAGS_FIELD_NUMBER
public static final int SUMMARY_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int EXTERNAL_DOCS_FIELD_NUMBER
public static final int OPERATION_ID_FIELD_NUMBER
public static final int CONSUMES_FIELD_NUMBER
public static final int PRODUCES_FIELD_NUMBER
public static final int RESPONSES_FIELD_NUMBER
public static final int SCHEMES_FIELD_NUMBER
public static final int DEPRECATED_FIELD_NUMBER
public static final int SECURITY_FIELD_NUMBER
public static final int EXTENSIONS_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ProtocolStringList getTagsList()
A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.
repeated string tags = 1;getTagsList in interface Openapiv2.OperationOrBuilderpublic int getTagsCount()
A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.
repeated string tags = 1;getTagsCount in interface Openapiv2.OperationOrBuilderpublic java.lang.String getTags(int index)
A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.
repeated string tags = 1;getTags in interface Openapiv2.OperationOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTagsBytes(int index)
A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.
repeated string tags = 1;getTagsBytes in interface Openapiv2.OperationOrBuilderindex - The index of the value to return.public java.lang.String getSummary()
A short summary of what the operation does. For maximum readability in the swagger-ui, this field SHOULD be less than 120 characters.
string summary = 2;getSummary in interface Openapiv2.OperationOrBuilderpublic com.google.protobuf.ByteString getSummaryBytes()
A short summary of what the operation does. For maximum readability in the swagger-ui, this field SHOULD be less than 120 characters.
string summary = 2;getSummaryBytes in interface Openapiv2.OperationOrBuilderpublic java.lang.String getDescription()
A verbose explanation of the operation behavior. GFM syntax can be used for rich text representation.
string description = 3;getDescription in interface Openapiv2.OperationOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
A verbose explanation of the operation behavior. GFM syntax can be used for rich text representation.
string description = 3;getDescriptionBytes in interface Openapiv2.OperationOrBuilderpublic boolean hasExternalDocs()
Additional external documentation for this operation.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4;hasExternalDocs in interface Openapiv2.OperationOrBuilderpublic Openapiv2.ExternalDocumentation getExternalDocs()
Additional external documentation for this operation.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4;getExternalDocs in interface Openapiv2.OperationOrBuilderpublic Openapiv2.ExternalDocumentationOrBuilder getExternalDocsOrBuilder()
Additional external documentation for this operation.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4;getExternalDocsOrBuilder in interface Openapiv2.OperationOrBuilderpublic java.lang.String getOperationId()
Unique string used to identify the operation. The id MUST be unique among all operations described in the API. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is recommended to follow common programming naming conventions.
string operation_id = 5;getOperationId in interface Openapiv2.OperationOrBuilderpublic com.google.protobuf.ByteString getOperationIdBytes()
Unique string used to identify the operation. The id MUST be unique among all operations described in the API. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is recommended to follow common programming naming conventions.
string operation_id = 5;getOperationIdBytes in interface Openapiv2.OperationOrBuilderpublic com.google.protobuf.ProtocolStringList getConsumesList()
A list of MIME types the operation can consume. This overrides the consumes definition at the OpenAPI Object. An empty value MAY be used to clear the global definition. Value MUST be as described under Mime Types.
repeated string consumes = 6;getConsumesList in interface Openapiv2.OperationOrBuilderpublic int getConsumesCount()
A list of MIME types the operation can consume. This overrides the consumes definition at the OpenAPI Object. An empty value MAY be used to clear the global definition. Value MUST be as described under Mime Types.
repeated string consumes = 6;getConsumesCount in interface Openapiv2.OperationOrBuilderpublic java.lang.String getConsumes(int index)
A list of MIME types the operation can consume. This overrides the consumes definition at the OpenAPI Object. An empty value MAY be used to clear the global definition. Value MUST be as described under Mime Types.
repeated string consumes = 6;getConsumes in interface Openapiv2.OperationOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getConsumesBytes(int index)
A list of MIME types the operation can consume. This overrides the consumes definition at the OpenAPI Object. An empty value MAY be used to clear the global definition. Value MUST be as described under Mime Types.
repeated string consumes = 6;getConsumesBytes in interface Openapiv2.OperationOrBuilderindex - The index of the value to return.public com.google.protobuf.ProtocolStringList getProducesList()
A list of MIME types the operation can produce. This overrides the produces definition at the OpenAPI Object. An empty value MAY be used to clear the global definition. Value MUST be as described under Mime Types.
repeated string produces = 7;getProducesList in interface Openapiv2.OperationOrBuilderpublic int getProducesCount()
A list of MIME types the operation can produce. This overrides the produces definition at the OpenAPI Object. An empty value MAY be used to clear the global definition. Value MUST be as described under Mime Types.
repeated string produces = 7;getProducesCount in interface Openapiv2.OperationOrBuilderpublic java.lang.String getProduces(int index)
A list of MIME types the operation can produce. This overrides the produces definition at the OpenAPI Object. An empty value MAY be used to clear the global definition. Value MUST be as described under Mime Types.
repeated string produces = 7;getProduces in interface Openapiv2.OperationOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getProducesBytes(int index)
A list of MIME types the operation can produce. This overrides the produces definition at the OpenAPI Object. An empty value MAY be used to clear the global definition. Value MUST be as described under Mime Types.
repeated string produces = 7;getProducesBytes in interface Openapiv2.OperationOrBuilderindex - The index of the value to return.public int getResponsesCount()
Openapiv2.OperationOrBuilderThe list of possible responses as they are returned from executing this operation.
map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9;getResponsesCount in interface Openapiv2.OperationOrBuilderpublic boolean containsResponses(java.lang.String key)
The list of possible responses as they are returned from executing this operation.
map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9;containsResponses in interface Openapiv2.OperationOrBuilder@Deprecated public java.util.Map<java.lang.String,Openapiv2.Response> getResponses()
getResponsesMap() instead.getResponses in interface Openapiv2.OperationOrBuilderpublic java.util.Map<java.lang.String,Openapiv2.Response> getResponsesMap()
The list of possible responses as they are returned from executing this operation.
map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9;getResponsesMap in interface Openapiv2.OperationOrBuilderpublic Openapiv2.Response getResponsesOrDefault(java.lang.String key, Openapiv2.Response defaultValue)
The list of possible responses as they are returned from executing this operation.
map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9;getResponsesOrDefault in interface Openapiv2.OperationOrBuilderpublic Openapiv2.Response getResponsesOrThrow(java.lang.String key)
The list of possible responses as they are returned from executing this operation.
map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9;getResponsesOrThrow in interface Openapiv2.OperationOrBuilderpublic java.util.List<Openapiv2.Scheme> getSchemesList()
The transfer protocol for the operation. Values MUST be from the list: "http", "https", "ws", "wss". The value overrides the OpenAPI Object schemes definition.
repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10;getSchemesList in interface Openapiv2.OperationOrBuilderpublic int getSchemesCount()
The transfer protocol for the operation. Values MUST be from the list: "http", "https", "ws", "wss". The value overrides the OpenAPI Object schemes definition.
repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10;getSchemesCount in interface Openapiv2.OperationOrBuilderpublic Openapiv2.Scheme getSchemes(int index)
The transfer protocol for the operation. Values MUST be from the list: "http", "https", "ws", "wss". The value overrides the OpenAPI Object schemes definition.
repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10;getSchemes in interface Openapiv2.OperationOrBuilderindex - The index of the element to return.public java.util.List<java.lang.Integer> getSchemesValueList()
The transfer protocol for the operation. Values MUST be from the list: "http", "https", "ws", "wss". The value overrides the OpenAPI Object schemes definition.
repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10;getSchemesValueList in interface Openapiv2.OperationOrBuilderpublic int getSchemesValue(int index)
The transfer protocol for the operation. Values MUST be from the list: "http", "https", "ws", "wss". The value overrides the OpenAPI Object schemes definition.
repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10;getSchemesValue in interface Openapiv2.OperationOrBuilderindex - The index of the value to return.public boolean getDeprecated()
Declares this operation to be deprecated. Usage of the declared operation should be refrained. Default value is false.
bool deprecated = 11;getDeprecated in interface Openapiv2.OperationOrBuilderpublic java.util.List<Openapiv2.SecurityRequirement> getSecurityList()
A declaration of which security schemes are applied for this operation. The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements). This definition overrides any declared top-level security. To remove a top-level security declaration, an empty array can be used.
repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12;getSecurityList in interface Openapiv2.OperationOrBuilderpublic java.util.List<? extends Openapiv2.SecurityRequirementOrBuilder> getSecurityOrBuilderList()
A declaration of which security schemes are applied for this operation. The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements). This definition overrides any declared top-level security. To remove a top-level security declaration, an empty array can be used.
repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12;getSecurityOrBuilderList in interface Openapiv2.OperationOrBuilderpublic int getSecurityCount()
A declaration of which security schemes are applied for this operation. The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements). This definition overrides any declared top-level security. To remove a top-level security declaration, an empty array can be used.
repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12;getSecurityCount in interface Openapiv2.OperationOrBuilderpublic Openapiv2.SecurityRequirement getSecurity(int index)
A declaration of which security schemes are applied for this operation. The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements). This definition overrides any declared top-level security. To remove a top-level security declaration, an empty array can be used.
repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12;getSecurity in interface Openapiv2.OperationOrBuilderpublic Openapiv2.SecurityRequirementOrBuilder getSecurityOrBuilder(int index)
A declaration of which security schemes are applied for this operation. The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements). This definition overrides any declared top-level security. To remove a top-level security declaration, an empty array can be used.
repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12;getSecurityOrBuilder in interface Openapiv2.OperationOrBuilderpublic int getExtensionsCount()
Openapiv2.OperationOrBuildermap<string, .google.protobuf.Value> extensions = 13;getExtensionsCount in interface Openapiv2.OperationOrBuilderpublic boolean containsExtensions(java.lang.String key)
map<string, .google.protobuf.Value> extensions = 13;containsExtensions in interface Openapiv2.OperationOrBuilder@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Value> getExtensions()
getExtensionsMap() instead.getExtensions in interface Openapiv2.OperationOrBuilderpublic java.util.Map<java.lang.String,com.google.protobuf.Value> getExtensionsMap()
map<string, .google.protobuf.Value> extensions = 13;getExtensionsMap in interface Openapiv2.OperationOrBuilderpublic com.google.protobuf.Value getExtensionsOrDefault(java.lang.String key,
com.google.protobuf.Value defaultValue)
map<string, .google.protobuf.Value> extensions = 13;getExtensionsOrDefault in interface Openapiv2.OperationOrBuilderpublic com.google.protobuf.Value getExtensionsOrThrow(java.lang.String key)
map<string, .google.protobuf.Value> extensions = 13;getExtensionsOrThrow in interface Openapiv2.OperationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Openapiv2.Operation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openapiv2.Operation parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openapiv2.Operation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openapiv2.Operation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openapiv2.Operation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openapiv2.Operation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openapiv2.Operation parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Openapiv2.Operation parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Openapiv2.Operation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Openapiv2.Operation parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Openapiv2.Operation parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Openapiv2.Operation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Openapiv2.Operation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Openapiv2.Operation.Builder newBuilder()
public static Openapiv2.Operation.Builder newBuilder(Openapiv2.Operation prototype)
public Openapiv2.Operation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Openapiv2.Operation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Openapiv2.Operation getDefaultInstance()
public static com.google.protobuf.Parser<Openapiv2.Operation> parser()
public com.google.protobuf.Parser<Openapiv2.Operation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Openapiv2.Operation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder