public static final class JSONSchema.FieldConfiguration.Builder extends com.google.protobuf.GeneratedMessage.Builder<JSONSchema.FieldConfiguration.Builder> implements JSONSchema.FieldConfigurationOrBuilder
'FieldConfiguration' provides additional field level properties used when generating the OpenAPI v2 file. These properties are not defined by OpenAPIv2, but they are used to control the generation.Protobuf type
grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration| Modifier and Type | Method and Description |
|---|---|
JSONSchema.FieldConfiguration |
build() |
JSONSchema.FieldConfiguration |
buildPartial() |
JSONSchema.FieldConfiguration.Builder |
clear() |
JSONSchema.FieldConfiguration.Builder |
clearPathParamName()
Alternative parameter name when used as path parameter.
|
JSONSchema.FieldConfiguration |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getPathParamName()
Alternative parameter name when used as path parameter.
|
com.google.protobuf.ByteString |
getPathParamNameBytes()
Alternative parameter name when used as path parameter.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
JSONSchema.FieldConfiguration.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
JSONSchema.FieldConfiguration.Builder |
mergeFrom(JSONSchema.FieldConfiguration other) |
JSONSchema.FieldConfiguration.Builder |
mergeFrom(com.google.protobuf.Message other) |
JSONSchema.FieldConfiguration.Builder |
setPathParamName(java.lang.String value)
Alternative parameter name when used as path parameter.
|
JSONSchema.FieldConfiguration.Builder |
setPathParamNameBytes(com.google.protobuf.ByteString value)
Alternative parameter name when used as path parameter.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<JSONSchema.FieldConfiguration.Builder>public JSONSchema.FieldConfiguration.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<JSONSchema.FieldConfiguration.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<JSONSchema.FieldConfiguration.Builder>public JSONSchema.FieldConfiguration getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic JSONSchema.FieldConfiguration build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic JSONSchema.FieldConfiguration buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic JSONSchema.FieldConfiguration.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<JSONSchema.FieldConfiguration.Builder>public JSONSchema.FieldConfiguration.Builder mergeFrom(JSONSchema.FieldConfiguration other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<JSONSchema.FieldConfiguration.Builder>public JSONSchema.FieldConfiguration.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<JSONSchema.FieldConfiguration.Builder>java.io.IOExceptionpublic java.lang.String getPathParamName()
Alternative parameter name when used as path parameter. If set, this will be used as the complete parameter name when this field is used as a path parameter. Use this to avoid having auto generated path parameter names for overlapping paths.
string path_param_name = 47 [json_name = "pathParamName"];getPathParamName in interface JSONSchema.FieldConfigurationOrBuilderpublic com.google.protobuf.ByteString getPathParamNameBytes()
Alternative parameter name when used as path parameter. If set, this will be used as the complete parameter name when this field is used as a path parameter. Use this to avoid having auto generated path parameter names for overlapping paths.
string path_param_name = 47 [json_name = "pathParamName"];getPathParamNameBytes in interface JSONSchema.FieldConfigurationOrBuilderpublic JSONSchema.FieldConfiguration.Builder setPathParamName(java.lang.String value)
Alternative parameter name when used as path parameter. If set, this will be used as the complete parameter name when this field is used as a path parameter. Use this to avoid having auto generated path parameter names for overlapping paths.
string path_param_name = 47 [json_name = "pathParamName"];value - The pathParamName to set.public JSONSchema.FieldConfiguration.Builder clearPathParamName()
Alternative parameter name when used as path parameter. If set, this will be used as the complete parameter name when this field is used as a path parameter. Use this to avoid having auto generated path parameter names for overlapping paths.
string path_param_name = 47 [json_name = "pathParamName"];public JSONSchema.FieldConfiguration.Builder setPathParamNameBytes(com.google.protobuf.ByteString value)
Alternative parameter name when used as path parameter. If set, this will be used as the complete parameter name when this field is used as a path parameter. Use this to avoid having auto generated path parameter names for overlapping paths.
string path_param_name = 47 [json_name = "pathParamName"];value - The bytes for pathParamName to set.