public interface HeaderParameterOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
`Description` is a short description of the header.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
`Description` is a short description of the header.
|
java.lang.String |
getFormat()
`Format` The extending format for the previously mentioned type.
|
com.google.protobuf.ByteString |
getFormatBytes()
`Format` The extending format for the previously mentioned type.
|
java.lang.String |
getName()
`Name` is the header name.
|
com.google.protobuf.ByteString |
getNameBytes()
`Name` is the header name.
|
boolean |
getRequired()
`Required` indicates if the header is optional
|
HeaderParameter.Type |
getType()
`Type` is the type of the object.
|
int |
getTypeValue()
`Type` is the type of the object.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.lang.String getName()
`Name` is the header name.
string name = 1 [json_name = "name"];
com.google.protobuf.ByteString getNameBytes()
`Name` is the header name.
string name = 1 [json_name = "name"];
java.lang.String getDescription()
`Description` is a short description of the header.
string description = 2 [json_name = "description"];
com.google.protobuf.ByteString getDescriptionBytes()
`Description` is a short description of the header.
string description = 2 [json_name = "description"];
int getTypeValue()
`Type` is the type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported. See: https://swagger.io/specification/v2/#parameterType.
.grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.Type type = 3 [json_name = "type"];
HeaderParameter.Type getType()
`Type` is the type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported. See: https://swagger.io/specification/v2/#parameterType.
.grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.Type type = 3 [json_name = "type"];
java.lang.String getFormat()
`Format` The extending format for the previously mentioned type.
string format = 4 [json_name = "format"];
com.google.protobuf.ByteString getFormatBytes()
`Format` The extending format for the previously mentioned type.
string format = 4 [json_name = "format"];
boolean getRequired()
`Required` indicates if the header is optional
bool required = 5 [json_name = "required"];