Interface Openapiv2.ResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Openapiv2.Response,Openapiv2.Response.Builder
- Enclosing class:
- Openapiv2
public static interface Openapiv2.ResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsExamples(String key)`Examples` gives per-mimetype response examples.booleancontainsExtensions(String key)map<string, .google.protobuf.Value> extensions = 5;StringgetDescription()`Description` is a short description of the response.com.google.protobuf.ByteStringgetDescriptionBytes()`Description` is a short description of the response.Map<String,String>getExamples()Deprecated.intgetExamplesCount()`Examples` gives per-mimetype response examples.Map<String,String>getExamplesMap()`Examples` gives per-mimetype response examples.StringgetExamplesOrDefault(String key, String defaultValue)`Examples` gives per-mimetype response examples.StringgetExamplesOrThrow(String key)`Examples` gives per-mimetype response examples.Map<String,com.google.protobuf.Value>getExtensions()Deprecated.intgetExtensionsCount()map<string, .google.protobuf.Value> extensions = 5;Map<String,com.google.protobuf.Value>getExtensionsMap()map<string, .google.protobuf.Value> extensions = 5;com.google.protobuf.ValuegetExtensionsOrDefault(String key, com.google.protobuf.Value defaultValue)map<string, .google.protobuf.Value> extensions = 5;com.google.protobuf.ValuegetExtensionsOrThrow(String key)map<string, .google.protobuf.Value> extensions = 5;Openapiv2.SchemagetSchema()`Schema` optionally defines the structure of the response.Openapiv2.SchemaOrBuildergetSchemaOrBuilder()`Schema` optionally defines the structure of the response.booleanhasSchema()`Schema` optionally defines the structure of the response.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescription
String getDescription()
`Description` is a short description of the response. GFM syntax can be used for rich text representation.
string description = 1;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
`Description` is a short description of the response. GFM syntax can be used for rich text representation.
string description = 1;- Returns:
- The bytes for description.
-
hasSchema
boolean hasSchema()
`Schema` optionally defines the structure of the response. If `Schema` is not provided, it means there is no content to the response.
.grpc.gateway.protoc_gen_swagger.options.Schema schema = 2;- Returns:
- Whether the schema field is set.
-
getSchema
Openapiv2.Schema getSchema()
`Schema` optionally defines the structure of the response. If `Schema` is not provided, it means there is no content to the response.
.grpc.gateway.protoc_gen_swagger.options.Schema schema = 2;- Returns:
- The schema.
-
getSchemaOrBuilder
Openapiv2.SchemaOrBuilder getSchemaOrBuilder()
`Schema` optionally defines the structure of the response. If `Schema` is not provided, it means there is no content to the response.
.grpc.gateway.protoc_gen_swagger.options.Schema schema = 2;
-
getExamplesCount
int getExamplesCount()
`Examples` gives per-mimetype response examples. See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#example-object
map<string, string> examples = 4;
-
containsExamples
boolean containsExamples(String key)
`Examples` gives per-mimetype response examples. See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#example-object
map<string, string> examples = 4;
-
getExamples
@Deprecated Map<String,String> getExamples()
Deprecated.UsegetExamplesMap()instead.
-
getExamplesMap
Map<String,String> getExamplesMap()
`Examples` gives per-mimetype response examples. See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#example-object
map<string, string> examples = 4;
-
getExamplesOrDefault
String getExamplesOrDefault(String key, String defaultValue)
`Examples` gives per-mimetype response examples. See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#example-object
map<string, string> examples = 4;
-
getExamplesOrThrow
String getExamplesOrThrow(String key)
`Examples` gives per-mimetype response examples. See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#example-object
map<string, string> examples = 4;
-
getExtensionsCount
int getExtensionsCount()
map<string, .google.protobuf.Value> extensions = 5;
-
containsExtensions
boolean containsExtensions(String key)
map<string, .google.protobuf.Value> extensions = 5;
-
getExtensions
@Deprecated Map<String,com.google.protobuf.Value> getExtensions()
Deprecated.UsegetExtensionsMap()instead.
-
getExtensionsMap
Map<String,com.google.protobuf.Value> getExtensionsMap()
map<string, .google.protobuf.Value> extensions = 5;
-
getExtensionsOrDefault
com.google.protobuf.Value getExtensionsOrDefault(String key, com.google.protobuf.Value defaultValue)
map<string, .google.protobuf.Value> extensions = 5;
-
getExtensionsOrThrow
com.google.protobuf.Value getExtensionsOrThrow(String key)
map<string, .google.protobuf.Value> extensions = 5;
-
-