Package com.openapi.v3
Interface RequestBodyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RequestBody,RequestBody.Builder
public interface RequestBodyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.openapi.v3.MediaTypes content = 2 [json_name = "content"];.openapi.v3.MediaTypes content = 2 [json_name = "content"];string description = 1 [json_name = "description"];com.google.protobuf.ByteStringstring description = 1 [json_name = "description"];booleanbool required = 3 [json_name = "required"];getSpecificationExtension(int index) repeated .openapi.v3.NamedAny specification_extension = 4 [json_name = "specificationExtension"];intrepeated .openapi.v3.NamedAny specification_extension = 4 [json_name = "specificationExtension"];repeated .openapi.v3.NamedAny specification_extension = 4 [json_name = "specificationExtension"];getSpecificationExtensionOrBuilder(int index) repeated .openapi.v3.NamedAny specification_extension = 4 [json_name = "specificationExtension"];List<? extends NamedAnyOrBuilder>repeated .openapi.v3.NamedAny specification_extension = 4 [json_name = "specificationExtension"];boolean.openapi.v3.MediaTypes content = 2 [json_name = "content"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescription
String getDescription()string description = 1 [json_name = "description"];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()string description = 1 [json_name = "description"];- Returns:
- The bytes for description.
-
hasContent
boolean hasContent().openapi.v3.MediaTypes content = 2 [json_name = "content"];- Returns:
- Whether the content field is set.
-
getContent
MediaTypes getContent().openapi.v3.MediaTypes content = 2 [json_name = "content"];- Returns:
- The content.
-
getContentOrBuilder
MediaTypesOrBuilder getContentOrBuilder().openapi.v3.MediaTypes content = 2 [json_name = "content"]; -
getRequired
boolean getRequired()bool required = 3 [json_name = "required"];- Returns:
- The required.
-
getSpecificationExtensionList
repeated .openapi.v3.NamedAny specification_extension = 4 [json_name = "specificationExtension"]; -
getSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 4 [json_name = "specificationExtension"]; -
getSpecificationExtensionCount
int getSpecificationExtensionCount()repeated .openapi.v3.NamedAny specification_extension = 4 [json_name = "specificationExtension"]; -
getSpecificationExtensionOrBuilderList
List<? extends NamedAnyOrBuilder> getSpecificationExtensionOrBuilderList()repeated .openapi.v3.NamedAny specification_extension = 4 [json_name = "specificationExtension"]; -
getSpecificationExtensionOrBuilder
repeated .openapi.v3.NamedAny specification_extension = 4 [json_name = "specificationExtension"];
-