public static final class Operation.Builder extends com.google.protobuf.GeneratedMessage.Builder<Operation.Builder> implements 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 | Method and Description |
|---|---|
Operation.Builder |
addAllConsumes(java.lang.Iterable<java.lang.String> values)
A list of MIME types the operation can consume.
|
Operation.Builder |
addAllProduces(java.lang.Iterable<java.lang.String> values)
A list of MIME types the operation can produce.
|
Operation.Builder |
addAllSchemes(java.lang.Iterable<? extends Scheme> values)
The transfer protocol for the operation.
|
Operation.Builder |
addAllSchemesValue(java.lang.Iterable<java.lang.Integer> values)
The transfer protocol for the operation.
|
Operation.Builder |
addAllSecurity(java.lang.Iterable<? extends SecurityRequirement> values)
A declaration of which security schemes are applied for this operation.
|
Operation.Builder |
addAllTags(java.lang.Iterable<java.lang.String> values)
A list of tags for API documentation control.
|
Operation.Builder |
addConsumes(java.lang.String value)
A list of MIME types the operation can consume.
|
Operation.Builder |
addConsumesBytes(com.google.protobuf.ByteString value)
A list of MIME types the operation can consume.
|
Operation.Builder |
addProduces(java.lang.String value)
A list of MIME types the operation can produce.
|
Operation.Builder |
addProducesBytes(com.google.protobuf.ByteString value)
A list of MIME types the operation can produce.
|
Operation.Builder |
addSchemes(Scheme value)
The transfer protocol for the operation.
|
Operation.Builder |
addSchemesValue(int value)
The transfer protocol for the operation.
|
Operation.Builder |
addSecurity(int index,
SecurityRequirement.Builder builderForValue)
A declaration of which security schemes are applied for this operation.
|
Operation.Builder |
addSecurity(int index,
SecurityRequirement value)
A declaration of which security schemes are applied for this operation.
|
Operation.Builder |
addSecurity(SecurityRequirement.Builder builderForValue)
A declaration of which security schemes are applied for this operation.
|
Operation.Builder |
addSecurity(SecurityRequirement value)
A declaration of which security schemes are applied for this operation.
|
SecurityRequirement.Builder |
addSecurityBuilder()
A declaration of which security schemes are applied for this operation.
|
SecurityRequirement.Builder |
addSecurityBuilder(int index)
A declaration of which security schemes are applied for this operation.
|
Operation.Builder |
addTags(java.lang.String value)
A list of tags for API documentation control.
|
Operation.Builder |
addTagsBytes(com.google.protobuf.ByteString value)
A list of tags for API documentation control.
|
Operation |
build() |
Operation |
buildPartial() |
Operation.Builder |
clear() |
Operation.Builder |
clearConsumes()
A list of MIME types the operation can consume.
|
Operation.Builder |
clearDeprecated()
Declares this operation to be deprecated.
|
Operation.Builder |
clearDescription()
A verbose explanation of the operation behavior.
|
Operation.Builder |
clearExtensions() |
Operation.Builder |
clearExternalDocs()
Additional external documentation for this operation.
|
Operation.Builder |
clearOperationId()
Unique string used to identify the operation.
|
Operation.Builder |
clearParameters()
Custom parameters such as HTTP request headers.
|
Operation.Builder |
clearProduces()
A list of MIME types the operation can produce.
|
Operation.Builder |
clearResponses() |
Operation.Builder |
clearSchemes()
The transfer protocol for the operation.
|
Operation.Builder |
clearSecurity()
A declaration of which security schemes are applied for this operation.
|
Operation.Builder |
clearSummary()
A short summary of what the operation does.
|
Operation.Builder |
clearTags()
A list of tags for API documentation control.
|
boolean |
containsExtensions(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
boolean |
containsResponses(java.lang.String key)
The list of possible responses as they are returned from executing this
operation.
|
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.
|
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() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.util.Map<java.lang.String,com.google.protobuf.Value> |
getExtensions()
Deprecated.
|
int |
getExtensionsCount()
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
java.util.Map<java.lang.String,com.google.protobuf.Value> |
getExtensionsMap()
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
com.google.protobuf.Value |
getExtensionsOrDefault(java.lang.String key,
com.google.protobuf.Value defaultValue)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
com.google.protobuf.Value |
getExtensionsOrThrow(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
ExternalDocumentation |
getExternalDocs()
Additional external documentation for this operation.
|
ExternalDocumentation.Builder |
getExternalDocsBuilder()
Additional external documentation for this operation.
|
ExternalDocumentationOrBuilder |
getExternalDocsOrBuilder()
Additional external documentation for this operation.
|
java.util.Map<java.lang.String,com.google.protobuf.Value> |
getMutableExtensions()
Deprecated.
|
java.util.Map<java.lang.String,Response> |
getMutableResponses()
Deprecated.
|
java.lang.String |
getOperationId()
Unique string used to identify the operation.
|
com.google.protobuf.ByteString |
getOperationIdBytes()
Unique string used to identify the operation.
|
Parameters |
getParameters()
Custom parameters such as HTTP request headers.
|
Parameters.Builder |
getParametersBuilder()
Custom parameters such as HTTP request headers.
|
ParametersOrBuilder |
getParametersOrBuilder()
Custom parameters such as HTTP request headers.
|
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,Response> |
getResponses()
Deprecated.
|
int |
getResponsesCount()
The list of possible responses as they are returned from executing this
operation.
|
java.util.Map<java.lang.String,Response> |
getResponsesMap()
The list of possible responses as they are returned from executing this
operation.
|
Response |
getResponsesOrDefault(java.lang.String key,
Response defaultValue)
The list of possible responses as they are returned from executing this
operation.
|
Response |
getResponsesOrThrow(java.lang.String key)
The list of possible responses as they are returned from executing this
operation.
|
Scheme |
getSchemes(int index)
The transfer protocol for the operation.
|
int |
getSchemesCount()
The transfer protocol for the operation.
|
java.util.List<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.
|
SecurityRequirement |
getSecurity(int index)
A declaration of which security schemes are applied for this operation.
|
SecurityRequirement.Builder |
getSecurityBuilder(int index)
A declaration of which security schemes are applied for this operation.
|
java.util.List<SecurityRequirement.Builder> |
getSecurityBuilderList()
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<SecurityRequirement> |
getSecurityList()
A declaration of which security schemes are applied for this operation.
|
SecurityRequirementOrBuilder |
getSecurityOrBuilder(int index)
A declaration of which security schemes are applied for this operation.
|
java.util.List<? extends SecurityRequirementOrBuilder> |
getSecurityOrBuilderList()
A declaration of which security schemes are applied for this operation.
|
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.
|
boolean |
hasExternalDocs()
Additional external documentation for this operation.
|
boolean |
hasParameters()
Custom parameters such as HTTP request headers.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
Operation.Builder |
mergeExternalDocs(ExternalDocumentation value)
Additional external documentation for this operation.
|
Operation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Operation.Builder |
mergeFrom(com.google.protobuf.Message other) |
Operation.Builder |
mergeFrom(Operation other) |
Operation.Builder |
mergeParameters(Parameters value)
Custom parameters such as HTTP request headers.
|
Operation.Builder |
putAllExtensions(java.util.Map<java.lang.String,com.google.protobuf.Value> values)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
Operation.Builder |
putAllResponses(java.util.Map<java.lang.String,Response> values)
The list of possible responses as they are returned from executing this
operation.
|
Operation.Builder |
putExtensions(java.lang.String key,
com.google.protobuf.Value value)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
com.google.protobuf.Value.Builder |
putExtensionsBuilderIfAbsent(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
Operation.Builder |
putResponses(java.lang.String key,
Response value)
The list of possible responses as they are returned from executing this
operation.
|
Response.Builder |
putResponsesBuilderIfAbsent(java.lang.String key)
The list of possible responses as they are returned from executing this
operation.
|
Operation.Builder |
removeExtensions(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe
extra functionality that is not covered by the standard OpenAPI Specification.
|
Operation.Builder |
removeResponses(java.lang.String key)
The list of possible responses as they are returned from executing this
operation.
|
Operation.Builder |
removeSecurity(int index)
A declaration of which security schemes are applied for this operation.
|
Operation.Builder |
setConsumes(int index,
java.lang.String value)
A list of MIME types the operation can consume.
|
Operation.Builder |
setDeprecated(boolean value)
Declares this operation to be deprecated.
|
Operation.Builder |
setDescription(java.lang.String value)
A verbose explanation of the operation behavior.
|
Operation.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
A verbose explanation of the operation behavior.
|
Operation.Builder |
setExternalDocs(ExternalDocumentation.Builder builderForValue)
Additional external documentation for this operation.
|
Operation.Builder |
setExternalDocs(ExternalDocumentation value)
Additional external documentation for this operation.
|
Operation.Builder |
setOperationId(java.lang.String value)
Unique string used to identify the operation.
|
Operation.Builder |
setOperationIdBytes(com.google.protobuf.ByteString value)
Unique string used to identify the operation.
|
Operation.Builder |
setParameters(Parameters.Builder builderForValue)
Custom parameters such as HTTP request headers.
|
Operation.Builder |
setParameters(Parameters value)
Custom parameters such as HTTP request headers.
|
Operation.Builder |
setProduces(int index,
java.lang.String value)
A list of MIME types the operation can produce.
|
Operation.Builder |
setSchemes(int index,
Scheme value)
The transfer protocol for the operation.
|
Operation.Builder |
setSchemesValue(int index,
int value)
The transfer protocol for the operation.
|
Operation.Builder |
setSecurity(int index,
SecurityRequirement.Builder builderForValue)
A declaration of which security schemes are applied for this operation.
|
Operation.Builder |
setSecurity(int index,
SecurityRequirement value)
A declaration of which security schemes are applied for this operation.
|
Operation.Builder |
setSummary(java.lang.String value)
A short summary of what the operation does.
|
Operation.Builder |
setSummaryBytes(com.google.protobuf.ByteString value)
A short summary of what the operation does.
|
Operation.Builder |
setTags(int index,
java.lang.String value)
A list of tags for API documentation control.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Operation.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Operation.Builder>protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Operation.Builder>public Operation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Operation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Operation.Builder>public Operation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Operation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Operation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Operation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Operation.Builder>public Operation.Builder mergeFrom(Operation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Operation.Builder>public Operation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Operation.Builder>java.io.IOExceptionpublic 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 [json_name = "tags"];getTagsList in interface 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 [json_name = "tags"];getTagsCount in interface 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 [json_name = "tags"];getTags in interface 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 [json_name = "tags"];getTagsBytes in interface OperationOrBuilderindex - The index of the value to return.public Operation.Builder setTags(int index, java.lang.String value)
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 [json_name = "tags"];index - The index to set the value at.value - The tags to set.public Operation.Builder addTags(java.lang.String value)
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 [json_name = "tags"];value - The tags to add.public Operation.Builder addAllTags(java.lang.Iterable<java.lang.String> values)
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 [json_name = "tags"];values - The tags to add.public Operation.Builder clearTags()
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 [json_name = "tags"];public Operation.Builder addTagsBytes(com.google.protobuf.ByteString value)
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 [json_name = "tags"];value - The bytes of the tags to add.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 [json_name = "summary"];getSummary in interface 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 [json_name = "summary"];getSummaryBytes in interface OperationOrBuilderpublic Operation.Builder setSummary(java.lang.String value)
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 [json_name = "summary"];value - The summary to set.public Operation.Builder clearSummary()
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 [json_name = "summary"];public Operation.Builder setSummaryBytes(com.google.protobuf.ByteString value)
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 [json_name = "summary"];value - The bytes for summary to set.public java.lang.String getDescription()
A verbose explanation of the operation behavior. GFM syntax can be used for rich text representation.
string description = 3 [json_name = "description"];getDescription in interface 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 [json_name = "description"];getDescriptionBytes in interface OperationOrBuilderpublic Operation.Builder setDescription(java.lang.String value)
A verbose explanation of the operation behavior. GFM syntax can be used for rich text representation.
string description = 3 [json_name = "description"];value - The description to set.public Operation.Builder clearDescription()
A verbose explanation of the operation behavior. GFM syntax can be used for rich text representation.
string description = 3 [json_name = "description"];public Operation.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A verbose explanation of the operation behavior. GFM syntax can be used for rich text representation.
string description = 3 [json_name = "description"];value - The bytes for description to set.public boolean hasExternalDocs()
Additional external documentation for this operation.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4 [json_name = "externalDocs"];hasExternalDocs in interface OperationOrBuilderpublic ExternalDocumentation getExternalDocs()
Additional external documentation for this operation.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4 [json_name = "externalDocs"];getExternalDocs in interface OperationOrBuilderpublic Operation.Builder setExternalDocs(ExternalDocumentation value)
Additional external documentation for this operation.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4 [json_name = "externalDocs"];public Operation.Builder setExternalDocs(ExternalDocumentation.Builder builderForValue)
Additional external documentation for this operation.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4 [json_name = "externalDocs"];public Operation.Builder mergeExternalDocs(ExternalDocumentation value)
Additional external documentation for this operation.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4 [json_name = "externalDocs"];public Operation.Builder clearExternalDocs()
Additional external documentation for this operation.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4 [json_name = "externalDocs"];public ExternalDocumentation.Builder getExternalDocsBuilder()
Additional external documentation for this operation.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4 [json_name = "externalDocs"];public ExternalDocumentationOrBuilder getExternalDocsOrBuilder()
Additional external documentation for this operation.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4 [json_name = "externalDocs"];getExternalDocsOrBuilder in interface 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 [json_name = "operationId"];getOperationId in interface 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 [json_name = "operationId"];getOperationIdBytes in interface OperationOrBuilderpublic Operation.Builder setOperationId(java.lang.String value)
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 [json_name = "operationId"];value - The operationId to set.public Operation.Builder clearOperationId()
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 [json_name = "operationId"];public Operation.Builder setOperationIdBytes(com.google.protobuf.ByteString value)
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 [json_name = "operationId"];value - The bytes for operationId to set.public 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 [json_name = "consumes"];getConsumesList in interface 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 [json_name = "consumes"];getConsumesCount in interface 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 [json_name = "consumes"];getConsumes in interface 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 [json_name = "consumes"];getConsumesBytes in interface OperationOrBuilderindex - The index of the value to return.public Operation.Builder setConsumes(int index, java.lang.String value)
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 [json_name = "consumes"];index - The index to set the value at.value - The consumes to set.public Operation.Builder addConsumes(java.lang.String value)
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 [json_name = "consumes"];value - The consumes to add.public Operation.Builder addAllConsumes(java.lang.Iterable<java.lang.String> values)
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 [json_name = "consumes"];values - The consumes to add.public Operation.Builder clearConsumes()
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 [json_name = "consumes"];public Operation.Builder addConsumesBytes(com.google.protobuf.ByteString value)
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 [json_name = "consumes"];value - The bytes of the consumes to add.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 [json_name = "produces"];getProducesList in interface 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 [json_name = "produces"];getProducesCount in interface 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 [json_name = "produces"];getProduces in interface 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 [json_name = "produces"];getProducesBytes in interface OperationOrBuilderindex - The index of the value to return.public Operation.Builder setProduces(int index, java.lang.String value)
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 [json_name = "produces"];index - The index to set the value at.value - The produces to set.public Operation.Builder addProduces(java.lang.String value)
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 [json_name = "produces"];value - The produces to add.public Operation.Builder addAllProduces(java.lang.Iterable<java.lang.String> values)
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 [json_name = "produces"];values - The produces to add.public Operation.Builder clearProduces()
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 [json_name = "produces"];public Operation.Builder addProducesBytes(com.google.protobuf.ByteString value)
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 [json_name = "produces"];value - The bytes of the produces to add.public int getResponsesCount()
OperationOrBuilderThe list of possible responses as they are returned from executing this operation.
map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9 [json_name = "responses"];getResponsesCount in interface 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 [json_name = "responses"];containsResponses in interface OperationOrBuilder@Deprecated public java.util.Map<java.lang.String,Response> getResponses()
getResponsesMap() instead.getResponses in interface OperationOrBuilderpublic java.util.Map<java.lang.String,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 [json_name = "responses"];getResponsesMap in interface OperationOrBuilderpublic Response getResponsesOrDefault(java.lang.String key, 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 [json_name = "responses"];getResponsesOrDefault in interface OperationOrBuilderpublic 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 [json_name = "responses"];getResponsesOrThrow in interface OperationOrBuilderpublic Operation.Builder clearResponses()
public Operation.Builder removeResponses(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 [json_name = "responses"];@Deprecated public java.util.Map<java.lang.String,Response> getMutableResponses()
public Operation.Builder putResponses(java.lang.String key, Response value)
The list of possible responses as they are returned from executing this operation.
map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9 [json_name = "responses"];public Operation.Builder putAllResponses(java.util.Map<java.lang.String,Response> values)
The list of possible responses as they are returned from executing this operation.
map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9 [json_name = "responses"];public Response.Builder putResponsesBuilderIfAbsent(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 [json_name = "responses"];public java.util.List<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 [json_name = "schemes"];getSchemesList in interface 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 [json_name = "schemes"];getSchemesCount in interface OperationOrBuilderpublic 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 [json_name = "schemes"];getSchemes in interface OperationOrBuilderindex - The index of the element to return.public Operation.Builder setSchemes(int index, Scheme value)
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 [json_name = "schemes"];index - The index to set the value at.value - The schemes to set.public Operation.Builder addSchemes(Scheme value)
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 [json_name = "schemes"];value - The schemes to add.public Operation.Builder addAllSchemes(java.lang.Iterable<? extends Scheme> values)
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 [json_name = "schemes"];values - The schemes to add.public Operation.Builder clearSchemes()
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 [json_name = "schemes"];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 [json_name = "schemes"];getSchemesValueList in interface 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 [json_name = "schemes"];getSchemesValue in interface OperationOrBuilderindex - The index of the value to return.public Operation.Builder setSchemesValue(int index, int value)
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 [json_name = "schemes"];index - The index to set the value at.value - The enum numeric value on the wire for schemes to set.public Operation.Builder addSchemesValue(int value)
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 [json_name = "schemes"];value - The enum numeric value on the wire for schemes to add.public Operation.Builder addAllSchemesValue(java.lang.Iterable<java.lang.Integer> values)
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 [json_name = "schemes"];values - The enum numeric values on the wire for schemes to add.public boolean getDeprecated()
Declares this operation to be deprecated. Usage of the declared operation should be refrained. Default value is false.
bool deprecated = 11 [json_name = "deprecated"];getDeprecated in interface OperationOrBuilderpublic Operation.Builder setDeprecated(boolean value)
Declares this operation to be deprecated. Usage of the declared operation should be refrained. Default value is false.
bool deprecated = 11 [json_name = "deprecated"];value - The deprecated to set.public Operation.Builder clearDeprecated()
Declares this operation to be deprecated. Usage of the declared operation should be refrained. Default value is false.
bool deprecated = 11 [json_name = "deprecated"];public java.util.List<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 [json_name = "security"];getSecurityList in interface 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 [json_name = "security"];getSecurityCount in interface OperationOrBuilderpublic 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 [json_name = "security"];getSecurity in interface OperationOrBuilderpublic Operation.Builder setSecurity(int index, SecurityRequirement value)
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 [json_name = "security"];public Operation.Builder setSecurity(int index, SecurityRequirement.Builder builderForValue)
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 [json_name = "security"];public Operation.Builder addSecurity(SecurityRequirement value)
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 [json_name = "security"];public Operation.Builder addSecurity(int index, SecurityRequirement value)
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 [json_name = "security"];public Operation.Builder addSecurity(SecurityRequirement.Builder builderForValue)
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 [json_name = "security"];public Operation.Builder addSecurity(int index, SecurityRequirement.Builder builderForValue)
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 [json_name = "security"];public Operation.Builder addAllSecurity(java.lang.Iterable<? extends SecurityRequirement> values)
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 [json_name = "security"];public Operation.Builder clearSecurity()
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 [json_name = "security"];public Operation.Builder removeSecurity(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 [json_name = "security"];public SecurityRequirement.Builder getSecurityBuilder(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 [json_name = "security"];public 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 [json_name = "security"];getSecurityOrBuilder in interface OperationOrBuilderpublic java.util.List<? extends 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 [json_name = "security"];getSecurityOrBuilderList in interface OperationOrBuilderpublic SecurityRequirement.Builder addSecurityBuilder()
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 [json_name = "security"];public SecurityRequirement.Builder addSecurityBuilder(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 [json_name = "security"];public java.util.List<SecurityRequirement.Builder> getSecurityBuilderList()
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 [json_name = "security"];public int getExtensionsCount()
OperationOrBuilderCustom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 13 [json_name = "extensions"];getExtensionsCount in interface OperationOrBuilderpublic boolean containsExtensions(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 13 [json_name = "extensions"];containsExtensions in interface OperationOrBuilder@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Value> getExtensions()
getExtensionsMap() instead.getExtensions in interface OperationOrBuilderpublic java.util.Map<java.lang.String,com.google.protobuf.Value> getExtensionsMap()
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 13 [json_name = "extensions"];getExtensionsMap in interface OperationOrBuilderpublic com.google.protobuf.Value getExtensionsOrDefault(java.lang.String key,
com.google.protobuf.Value defaultValue)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 13 [json_name = "extensions"];getExtensionsOrDefault in interface OperationOrBuilderpublic com.google.protobuf.Value getExtensionsOrThrow(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 13 [json_name = "extensions"];getExtensionsOrThrow in interface OperationOrBuilderpublic Operation.Builder clearExtensions()
public Operation.Builder removeExtensions(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 13 [json_name = "extensions"];@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Value> getMutableExtensions()
public Operation.Builder putExtensions(java.lang.String key, com.google.protobuf.Value value)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 13 [json_name = "extensions"];public Operation.Builder putAllExtensions(java.util.Map<java.lang.String,com.google.protobuf.Value> values)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 13 [json_name = "extensions"];public com.google.protobuf.Value.Builder putExtensionsBuilderIfAbsent(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 13 [json_name = "extensions"];public boolean hasParameters()
Custom parameters such as HTTP request headers. See: https://swagger.io/docs/specification/2-0/describing-parameters/ and https://swagger.io/specification/v2/#parameter-object.
.grpc.gateway.protoc_gen_openapiv2.options.Parameters parameters = 14 [json_name = "parameters"];hasParameters in interface OperationOrBuilderpublic Parameters getParameters()
Custom parameters such as HTTP request headers. See: https://swagger.io/docs/specification/2-0/describing-parameters/ and https://swagger.io/specification/v2/#parameter-object.
.grpc.gateway.protoc_gen_openapiv2.options.Parameters parameters = 14 [json_name = "parameters"];getParameters in interface OperationOrBuilderpublic Operation.Builder setParameters(Parameters value)
Custom parameters such as HTTP request headers. See: https://swagger.io/docs/specification/2-0/describing-parameters/ and https://swagger.io/specification/v2/#parameter-object.
.grpc.gateway.protoc_gen_openapiv2.options.Parameters parameters = 14 [json_name = "parameters"];public Operation.Builder setParameters(Parameters.Builder builderForValue)
Custom parameters such as HTTP request headers. See: https://swagger.io/docs/specification/2-0/describing-parameters/ and https://swagger.io/specification/v2/#parameter-object.
.grpc.gateway.protoc_gen_openapiv2.options.Parameters parameters = 14 [json_name = "parameters"];public Operation.Builder mergeParameters(Parameters value)
Custom parameters such as HTTP request headers. See: https://swagger.io/docs/specification/2-0/describing-parameters/ and https://swagger.io/specification/v2/#parameter-object.
.grpc.gateway.protoc_gen_openapiv2.options.Parameters parameters = 14 [json_name = "parameters"];public Operation.Builder clearParameters()
Custom parameters such as HTTP request headers. See: https://swagger.io/docs/specification/2-0/describing-parameters/ and https://swagger.io/specification/v2/#parameter-object.
.grpc.gateway.protoc_gen_openapiv2.options.Parameters parameters = 14 [json_name = "parameters"];public Parameters.Builder getParametersBuilder()
Custom parameters such as HTTP request headers. See: https://swagger.io/docs/specification/2-0/describing-parameters/ and https://swagger.io/specification/v2/#parameter-object.
.grpc.gateway.protoc_gen_openapiv2.options.Parameters parameters = 14 [json_name = "parameters"];public ParametersOrBuilder getParametersOrBuilder()
Custom parameters such as HTTP request headers. See: https://swagger.io/docs/specification/2-0/describing-parameters/ and https://swagger.io/specification/v2/#parameter-object.
.grpc.gateway.protoc_gen_openapiv2.options.Parameters parameters = 14 [json_name = "parameters"];getParametersOrBuilder in interface OperationOrBuilder