Interface Openapiv2.HeaderOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Openapiv2.Header,Openapiv2.Header.Builder
- Enclosing class:
- Openapiv2
public static interface Openapiv2.HeaderOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription`Default` Declares the value of the header that the server will use if none is provided.com.google.protobuf.ByteString`Default` Declares the value of the header that the server will use if none is provided.`Description` is a short description of the header.com.google.protobuf.ByteString`Description` is a short description of the header.`Format` The extending format for the previously mentioned type.com.google.protobuf.ByteString`Format` The extending format for the previously mentioned type.'Pattern' See https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.2.3.com.google.protobuf.ByteString'Pattern' See https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.2.3.getType()The type of the object.com.google.protobuf.ByteStringThe type of the object.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()`Description` is a short description of the header.
string description = 1;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()`Description` is a short description of the header.
string description = 1;- Returns:
- The bytes for description.
-
getType
String getType()The type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported.
string type = 2;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()The type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported.
string type = 2;- Returns:
- The bytes for type.
-
getFormat
String getFormat()`Format` The extending format for the previously mentioned type.
string format = 3;- Returns:
- The format.
-
getFormatBytes
com.google.protobuf.ByteString getFormatBytes()`Format` The extending format for the previously mentioned type.
string format = 3;- Returns:
- The bytes for format.
-
getDefault
String getDefault()`Default` Declares the value of the header that the server will use if none is provided. See: https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-6.2. Unlike JSON Schema this value MUST conform to the defined type for the header.
string default = 6;- Returns:
- The default.
-
getDefaultBytes
com.google.protobuf.ByteString getDefaultBytes()`Default` Declares the value of the header that the server will use if none is provided. See: https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-6.2. Unlike JSON Schema this value MUST conform to the defined type for the header.
string default = 6;- Returns:
- The bytes for default.
-
getPattern
String getPattern()'Pattern' See https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.2.3.
string pattern = 13;- Returns:
- The pattern.
-
getPatternBytes
com.google.protobuf.ByteString getPatternBytes()'Pattern' See https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.2.3.
string pattern = 13;- Returns:
- The bytes for pattern.
-