-
- All Implemented Interfaces:
-
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.JSONSchema.FieldConfigurationOrBuilder,java.lang.Cloneable
public final class Openapiv2.JSONSchema.FieldConfiguration.Builder extends GeneratedMessageV3.Builder<BuilderType> implements Openapiv2.JSONSchema.FieldConfigurationOrBuilder
Protobuf type'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.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description public UnknownFieldSetunknownFields
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()Openapiv2.JSONSchema.FieldConfiguration.Builderclear()Descriptors.DescriptorgetDescriptorForType()Openapiv2.JSONSchema.FieldConfigurationgetDefaultInstanceForType()Openapiv2.JSONSchema.FieldConfigurationbuild()Openapiv2.JSONSchema.FieldConfigurationbuildPartial()Openapiv2.JSONSchema.FieldConfiguration.Builderclone()Openapiv2.JSONSchema.FieldConfiguration.BuildersetField(Descriptors.FieldDescriptor field, Object value)Openapiv2.JSONSchema.FieldConfiguration.BuilderclearField(Descriptors.FieldDescriptor field)Openapiv2.JSONSchema.FieldConfiguration.BuilderclearOneof(Descriptors.OneofDescriptor oneof)Openapiv2.JSONSchema.FieldConfiguration.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)Openapiv2.JSONSchema.FieldConfiguration.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, Object value)Openapiv2.JSONSchema.FieldConfiguration.BuildermergeFrom(Message other)Openapiv2.JSONSchema.FieldConfiguration.BuildermergeFrom(Openapiv2.JSONSchema.FieldConfiguration other)final booleanisInitialized()Openapiv2.JSONSchema.FieldConfiguration.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)StringgetPathParamName()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;ByteStringgetPathParamNameBytes()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;Openapiv2.JSONSchema.FieldConfiguration.BuildersetPathParamName(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;Openapiv2.JSONSchema.FieldConfiguration.BuilderclearPathParamName()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;Openapiv2.JSONSchema.FieldConfiguration.BuildersetPathParamNameBytes(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;final Openapiv2.JSONSchema.FieldConfiguration.BuildersetUnknownFields(UnknownFieldSet unknownFields)final Openapiv2.JSONSchema.FieldConfiguration.BuildermergeUnknownFields(UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField, setUnknownFields -
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom -
Methods inherited from class com.google.protobuf.Message.Builder
addRepeatedField, clear, clearField, clearOneof, clone, mergeFrom, mergeUnknownFields, setField, setRepeatedField -
Methods inherited from class com.google.protobuf.MessageLite.Builder
build, buildPartial -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDescriptor
final static Descriptors.Descriptor getDescriptor()
-
getDescriptorForType
Descriptors.Descriptor getDescriptorForType()
-
getDefaultInstanceForType
Openapiv2.JSONSchema.FieldConfiguration getDefaultInstanceForType()
-
buildPartial
Openapiv2.JSONSchema.FieldConfiguration buildPartial()
-
setField
Openapiv2.JSONSchema.FieldConfiguration.Builder setField(Descriptors.FieldDescriptor field, Object value)
-
clearField
Openapiv2.JSONSchema.FieldConfiguration.Builder clearField(Descriptors.FieldDescriptor field)
-
clearOneof
Openapiv2.JSONSchema.FieldConfiguration.Builder clearOneof(Descriptors.OneofDescriptor oneof)
-
setRepeatedField
Openapiv2.JSONSchema.FieldConfiguration.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
-
addRepeatedField
Openapiv2.JSONSchema.FieldConfiguration.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
-
mergeFrom
Openapiv2.JSONSchema.FieldConfiguration.Builder mergeFrom(Message other)
-
mergeFrom
Openapiv2.JSONSchema.FieldConfiguration.Builder mergeFrom(Openapiv2.JSONSchema.FieldConfiguration other)
-
isInitialized
final boolean isInitialized()
-
mergeFrom
Openapiv2.JSONSchema.FieldConfiguration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
getPathParamName
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;
-
getPathParamNameBytes
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;
-
setPathParamName
Openapiv2.JSONSchema.FieldConfiguration.Builder setPathParamName(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;- Parameters:
value- The pathParamName to set.
-
clearPathParamName
Openapiv2.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;
-
setPathParamNameBytes
Openapiv2.JSONSchema.FieldConfiguration.Builder setPathParamNameBytes(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;- Parameters:
value- The bytes for pathParamName to set.
-
setUnknownFields
final Openapiv2.JSONSchema.FieldConfiguration.Builder setUnknownFields(UnknownFieldSet unknownFields)
-
mergeUnknownFields
final Openapiv2.JSONSchema.FieldConfiguration.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
-
-
-
-