Interface Openapiv2.EnumSchemaOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Openapiv2.EnumSchema,Openapiv2.EnumSchema.Builder
- Enclosing class:
- Openapiv2
public static interface Openapiv2.EnumSchemaOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsExtensions(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.java.lang.StringgetDefault()string default = 2;com.google.protobuf.ByteStringgetDefaultBytes()string default = 2;java.lang.StringgetDescription()A short description of the schema.com.google.protobuf.ByteStringgetDescriptionBytes()A short description of the schema.java.lang.StringgetExample()string example = 7;com.google.protobuf.ByteStringgetExampleBytes()string example = 7;java.util.Map<java.lang.String,com.google.protobuf.Value>getExtensions()Deprecated.intgetExtensionsCount()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.ValuegetExtensionsOrDefault(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.ValuegetExtensionsOrThrow(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.Openapiv2.ExternalDocumentationgetExternalDocs()Additional external documentation for this schema.Openapiv2.ExternalDocumentationOrBuildergetExternalDocsOrBuilder()Additional external documentation for this schema.booleangetReadOnly()bool read_only = 5;java.lang.StringgetRef()Ref is used to define an external reference to include in the message.com.google.protobuf.ByteStringgetRefBytes()Ref is used to define an external reference to include in the message.booleangetRequired()bool required = 4;java.lang.StringgetTitle()The title of the schema.com.google.protobuf.ByteStringgetTitleBytes()The title of the schema.booleanhasExternalDocs()Additional external documentation for this schema.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescription
java.lang.String getDescription()
A short description of the schema.
string description = 1;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
A short description of the schema.
string description = 1;- Returns:
- The bytes for description.
-
getDefault
java.lang.String getDefault()
string default = 2;- Returns:
- The default.
-
getDefaultBytes
com.google.protobuf.ByteString getDefaultBytes()
string default = 2;- Returns:
- The bytes for default.
-
getTitle
java.lang.String getTitle()
The title of the schema.
string title = 3;- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()
The title of the schema.
string title = 3;- Returns:
- The bytes for title.
-
getRequired
boolean getRequired()
bool required = 4;- Returns:
- The required.
-
getReadOnly
boolean getReadOnly()
bool read_only = 5;- Returns:
- The readOnly.
-
hasExternalDocs
boolean hasExternalDocs()
Additional external documentation for this schema.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 6;- Returns:
- Whether the externalDocs field is set.
-
getExternalDocs
Openapiv2.ExternalDocumentation getExternalDocs()
Additional external documentation for this schema.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 6;- Returns:
- The externalDocs.
-
getExternalDocsOrBuilder
Openapiv2.ExternalDocumentationOrBuilder getExternalDocsOrBuilder()
Additional external documentation for this schema.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 6;
-
getExample
java.lang.String getExample()
string example = 7;- Returns:
- The example.
-
getExampleBytes
com.google.protobuf.ByteString getExampleBytes()
string example = 7;- Returns:
- The bytes for example.
-
getRef
java.lang.String getRef()
Ref is used to define an external reference to include in the message. This could be a fully qualified proto message reference, and that type must be imported into the protofile. If no message is identified, the Ref will be used verbatim in the output. For example: `ref: ".google.protobuf.Timestamp"`.
string ref = 8;- Returns:
- The ref.
-
getRefBytes
com.google.protobuf.ByteString getRefBytes()
Ref is used to define an external reference to include in the message. This could be a fully qualified proto message reference, and that type must be imported into the protofile. If no message is identified, the Ref will be used verbatim in the output. For example: `ref: ".google.protobuf.Timestamp"`.
string ref = 8;- Returns:
- The bytes for ref.
-
getExtensionsCount
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. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 9;
-
containsExtensions
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 = 9;
-
getExtensions
@Deprecated java.util.Map<java.lang.String,com.google.protobuf.Value> getExtensions()
Deprecated.UsegetExtensionsMap()instead.
-
getExtensionsMap
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 = 9;
-
getExtensionsOrDefault
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 = 9;
-
getExtensionsOrThrow
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 = 9;
-
-