Package com.openapi.v3
Class Encoding.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Encoding.Builder>
com.openapi.v3.Encoding.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,EncodingOrBuilder,Cloneable
- Enclosing class:
Encoding
public static final class Encoding.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Encoding.Builder>
implements EncodingOrBuilder
A single encoding definition applied to a single schema property.Protobuf type
openapi.v3.Encoding-
Method Summary
Modifier and TypeMethodDescriptionaddAllSpecificationExtension(Iterable<? extends NamedAny> values) repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSpecificationExtension(int index, NamedAny value) repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];addSpecificationExtension(int index, NamedAny.Builder builderForValue) repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];addSpecificationExtension(NamedAny.Builder builderForValue) repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];addSpecificationExtensionBuilder(int index) repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];build()clear()bool allow_reserved = 5 [json_name = "allowReserved"];string content_type = 1 [json_name = "contentType"];bool explode = 4 [json_name = "explode"];clearField(com.google.protobuf.Descriptors.FieldDescriptor field) .openapi.v3.HeadersOrReferences headers = 2 [json_name = "headers"];clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];string style = 3 [json_name = "style"];clone()booleanbool allow_reserved = 5 [json_name = "allowReserved"];string content_type = 1 [json_name = "contentType"];com.google.protobuf.ByteStringstring content_type = 1 [json_name = "contentType"];static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorbooleanbool explode = 4 [json_name = "explode"];.openapi.v3.HeadersOrReferences headers = 2 [json_name = "headers"];.openapi.v3.HeadersOrReferences headers = 2 [json_name = "headers"];.openapi.v3.HeadersOrReferences headers = 2 [json_name = "headers"];getSpecificationExtension(int index) repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];getSpecificationExtensionBuilder(int index) repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];intrepeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];getSpecificationExtensionOrBuilder(int index) repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];List<? extends NamedAnyOrBuilder>repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];getStyle()string style = 3 [json_name = "style"];com.google.protobuf.ByteStringstring style = 3 [json_name = "style"];boolean.openapi.v3.HeadersOrReferences headers = 2 [json_name = "headers"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHeaders(HeadersOrReferences value) .openapi.v3.HeadersOrReferences headers = 2 [json_name = "headers"];final Encoding.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeSpecificationExtension(int index) repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];setAllowReserved(boolean value) bool allow_reserved = 5 [json_name = "allowReserved"];setContentType(String value) string content_type = 1 [json_name = "contentType"];setContentTypeBytes(com.google.protobuf.ByteString value) string content_type = 1 [json_name = "contentType"];setExplode(boolean value) bool explode = 4 [json_name = "explode"];setHeaders(HeadersOrReferences value) .openapi.v3.HeadersOrReferences headers = 2 [json_name = "headers"];setHeaders(HeadersOrReferences.Builder builderForValue) .openapi.v3.HeadersOrReferences headers = 2 [json_name = "headers"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSpecificationExtension(int index, NamedAny value) repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];setSpecificationExtension(int index, NamedAny.Builder builderForValue) repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];string style = 3 [json_name = "style"];setStyleBytes(com.google.protobuf.ByteString value) string style = 3 [json_name = "style"];final Encoding.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Encoding.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Encoding.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Encoding.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Encoding.Builder>
-
setField
public Encoding.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Encoding.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Encoding.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Encoding.Builder>
-
setRepeatedField
public Encoding.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Encoding.Builder>
-
addRepeatedField
public Encoding.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Encoding.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Encoding.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Encoding.Builder>
-
mergeFrom
public Encoding.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Encoding.Builder>- Throws:
IOException
-
getContentType
string content_type = 1 [json_name = "contentType"];- Specified by:
getContentTypein interfaceEncodingOrBuilder- Returns:
- The contentType.
-
getContentTypeBytes
public com.google.protobuf.ByteString getContentTypeBytes()string content_type = 1 [json_name = "contentType"];- Specified by:
getContentTypeBytesin interfaceEncodingOrBuilder- Returns:
- The bytes for contentType.
-
setContentType
string content_type = 1 [json_name = "contentType"];- Parameters:
value- The contentType to set.- Returns:
- This builder for chaining.
-
clearContentType
string content_type = 1 [json_name = "contentType"];- Returns:
- This builder for chaining.
-
setContentTypeBytes
string content_type = 1 [json_name = "contentType"];- Parameters:
value- The bytes for contentType to set.- Returns:
- This builder for chaining.
-
hasHeaders
public boolean hasHeaders().openapi.v3.HeadersOrReferences headers = 2 [json_name = "headers"];- Specified by:
hasHeadersin interfaceEncodingOrBuilder- Returns:
- Whether the headers field is set.
-
getHeaders
.openapi.v3.HeadersOrReferences headers = 2 [json_name = "headers"];- Specified by:
getHeadersin interfaceEncodingOrBuilder- Returns:
- The headers.
-
setHeaders
.openapi.v3.HeadersOrReferences headers = 2 [json_name = "headers"]; -
setHeaders
.openapi.v3.HeadersOrReferences headers = 2 [json_name = "headers"]; -
mergeHeaders
.openapi.v3.HeadersOrReferences headers = 2 [json_name = "headers"]; -
clearHeaders
.openapi.v3.HeadersOrReferences headers = 2 [json_name = "headers"]; -
getHeadersBuilder
.openapi.v3.HeadersOrReferences headers = 2 [json_name = "headers"]; -
getHeadersOrBuilder
.openapi.v3.HeadersOrReferences headers = 2 [json_name = "headers"];- Specified by:
getHeadersOrBuilderin interfaceEncodingOrBuilder
-
getStyle
string style = 3 [json_name = "style"];- Specified by:
getStylein interfaceEncodingOrBuilder- Returns:
- The style.
-
getStyleBytes
public com.google.protobuf.ByteString getStyleBytes()string style = 3 [json_name = "style"];- Specified by:
getStyleBytesin interfaceEncodingOrBuilder- Returns:
- The bytes for style.
-
setStyle
string style = 3 [json_name = "style"];- Parameters:
value- The style to set.- Returns:
- This builder for chaining.
-
clearStyle
string style = 3 [json_name = "style"];- Returns:
- This builder for chaining.
-
setStyleBytes
string style = 3 [json_name = "style"];- Parameters:
value- The bytes for style to set.- Returns:
- This builder for chaining.
-
getExplode
public boolean getExplode()bool explode = 4 [json_name = "explode"];- Specified by:
getExplodein interfaceEncodingOrBuilder- Returns:
- The explode.
-
setExplode
bool explode = 4 [json_name = "explode"];- Parameters:
value- The explode to set.- Returns:
- This builder for chaining.
-
clearExplode
bool explode = 4 [json_name = "explode"];- Returns:
- This builder for chaining.
-
getAllowReserved
public boolean getAllowReserved()bool allow_reserved = 5 [json_name = "allowReserved"];- Specified by:
getAllowReservedin interfaceEncodingOrBuilder- Returns:
- The allowReserved.
-
setAllowReserved
bool allow_reserved = 5 [json_name = "allowReserved"];- Parameters:
value- The allowReserved to set.- Returns:
- This builder for chaining.
-
clearAllowReserved
bool allow_reserved = 5 [json_name = "allowReserved"];- Returns:
- This builder for chaining.
-
getSpecificationExtensionList
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionListin interfaceEncodingOrBuilder
-
getSpecificationExtensionCount
public int getSpecificationExtensionCount()repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionCountin interfaceEncodingOrBuilder
-
getSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionin interfaceEncodingOrBuilder
-
setSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"]; -
setSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"]; -
addSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"]; -
addSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"]; -
addSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"]; -
addSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"]; -
addAllSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"]; -
clearSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"]; -
removeSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"]; -
getSpecificationExtensionBuilder
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"]; -
getSpecificationExtensionOrBuilder
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionOrBuilderin interfaceEncodingOrBuilder
-
getSpecificationExtensionOrBuilderList
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionOrBuilderListin interfaceEncodingOrBuilder
-
addSpecificationExtensionBuilder
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"]; -
addSpecificationExtensionBuilder
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"]; -
getSpecificationExtensionBuilderList
repeated .openapi.v3.NamedAny specification_extension = 6 [json_name = "specificationExtension"]; -
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Encoding.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Encoding.Builder>
-