public interface SchemaOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDiscriminator()
Adds support for polymorphism.
|
com.google.protobuf.ByteString |
getDiscriminatorBytes()
Adds support for polymorphism.
|
java.lang.String |
getExample()
A free-form property to include an example of an instance for this schema in JSON.
|
com.google.protobuf.ByteString |
getExampleBytes()
A free-form property to include an example of an instance for this schema in JSON.
|
ExternalDocumentation |
getExternalDocs()
Additional external documentation for this schema.
|
ExternalDocumentationOrBuilder |
getExternalDocsOrBuilder()
Additional external documentation for this schema.
|
JSONSchema |
getJsonSchema()
.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1 [json_name = "jsonSchema"]; |
JSONSchemaOrBuilder |
getJsonSchemaOrBuilder()
.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1 [json_name = "jsonSchema"]; |
boolean |
getReadOnly()
Relevant only for Schema "properties" definitions.
|
boolean |
hasExternalDocs()
Additional external documentation for this schema.
|
boolean |
hasJsonSchema()
.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1 [json_name = "jsonSchema"]; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasJsonSchema()
.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1 [json_name = "jsonSchema"];
JSONSchema getJsonSchema()
.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1 [json_name = "jsonSchema"];
JSONSchemaOrBuilder getJsonSchemaOrBuilder()
.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1 [json_name = "jsonSchema"];
java.lang.String getDiscriminator()
Adds support for polymorphism. The discriminator is the schema property name that is used to differentiate between other schema that inherit this schema. The property name used MUST be defined at this schema and it MUST be in the required property list. When used, the value MUST be the name of this schema or any schema that inherits it.
string discriminator = 2 [json_name = "discriminator"];
com.google.protobuf.ByteString getDiscriminatorBytes()
Adds support for polymorphism. The discriminator is the schema property name that is used to differentiate between other schema that inherit this schema. The property name used MUST be defined at this schema and it MUST be in the required property list. When used, the value MUST be the name of this schema or any schema that inherits it.
string discriminator = 2 [json_name = "discriminator"];
boolean getReadOnly()
Relevant only for Schema "properties" definitions. Declares the property as "read only". This means that it MAY be sent as part of a response but MUST NOT be sent as part of the request. Properties marked as readOnly being true SHOULD NOT be in the required list of the defined schema. Default value is false.
bool read_only = 3 [json_name = "readOnly"];
boolean hasExternalDocs()
Additional external documentation for this schema.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5 [json_name = "externalDocs"];
ExternalDocumentation getExternalDocs()
Additional external documentation for this schema.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5 [json_name = "externalDocs"];
ExternalDocumentationOrBuilder getExternalDocsOrBuilder()
Additional external documentation for this schema.
.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5 [json_name = "externalDocs"];
java.lang.String getExample()
A free-form property to include an example of an instance for this schema in JSON. This is copied verbatim to the output.
string example = 6 [json_name = "example"];
com.google.protobuf.ByteString getExampleBytes()
A free-form property to include an example of an instance for this schema in JSON. This is copied verbatim to the output.
string example = 6 [json_name = "example"];