Package com.openapi.v3
Class Info.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Info.Builder>
com.openapi.v3.Info.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,InfoOrBuilder,Cloneable
- Enclosing class:
Info
public static final class Info.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Info.Builder>
implements InfoOrBuilder
The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience.Protobuf type
openapi.v3.Info-
Method Summary
Modifier and TypeMethodDescriptionaddAllSpecificationExtension(Iterable<? extends NamedAny> values) repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSpecificationExtension(int index, NamedAny value) repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];addSpecificationExtension(int index, NamedAny.Builder builderForValue) repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];addSpecificationExtension(NamedAny.Builder builderForValue) repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];addSpecificationExtensionBuilder(int index) repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];build()clear().openapi.v3.Contact contact = 4 [json_name = "contact"];string description = 2 [json_name = "description"];clearField(com.google.protobuf.Descriptors.FieldDescriptor field) .openapi.v3.License license = 5 [json_name = "license"];clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];string summary = 8 [json_name = "summary"];string terms_of_service = 3 [json_name = "termsOfService"];string title = 1 [json_name = "title"];string version = 6 [json_name = "version"];clone().openapi.v3.Contact contact = 4 [json_name = "contact"];.openapi.v3.Contact contact = 4 [json_name = "contact"];.openapi.v3.Contact contact = 4 [json_name = "contact"];string description = 2 [json_name = "description"];com.google.protobuf.ByteStringstring description = 2 [json_name = "description"];static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.openapi.v3.License license = 5 [json_name = "license"];.openapi.v3.License license = 5 [json_name = "license"];.openapi.v3.License license = 5 [json_name = "license"];getSpecificationExtension(int index) repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];getSpecificationExtensionBuilder(int index) repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];intrepeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];getSpecificationExtensionOrBuilder(int index) repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];List<? extends NamedAnyOrBuilder>repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];string summary = 8 [json_name = "summary"];com.google.protobuf.ByteStringstring summary = 8 [json_name = "summary"];string terms_of_service = 3 [json_name = "termsOfService"];com.google.protobuf.ByteStringstring terms_of_service = 3 [json_name = "termsOfService"];getTitle()string title = 1 [json_name = "title"];com.google.protobuf.ByteStringstring title = 1 [json_name = "title"];string version = 6 [json_name = "version"];com.google.protobuf.ByteStringstring version = 6 [json_name = "version"];boolean.openapi.v3.Contact contact = 4 [json_name = "contact"];boolean.openapi.v3.License license = 5 [json_name = "license"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeContact(Contact value) .openapi.v3.Contact contact = 4 [json_name = "contact"];mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLicense(License value) .openapi.v3.License license = 5 [json_name = "license"];final Info.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeSpecificationExtension(int index) repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];setContact(Contact value) .openapi.v3.Contact contact = 4 [json_name = "contact"];setContact(Contact.Builder builderForValue) .openapi.v3.Contact contact = 4 [json_name = "contact"];setDescription(String value) string description = 2 [json_name = "description"];setDescriptionBytes(com.google.protobuf.ByteString value) string description = 2 [json_name = "description"];setLicense(License value) .openapi.v3.License license = 5 [json_name = "license"];setLicense(License.Builder builderForValue) .openapi.v3.License license = 5 [json_name = "license"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSpecificationExtension(int index, NamedAny value) repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];setSpecificationExtension(int index, NamedAny.Builder builderForValue) repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];setSummary(String value) string summary = 8 [json_name = "summary"];setSummaryBytes(com.google.protobuf.ByteString value) string summary = 8 [json_name = "summary"];setTermsOfService(String value) string terms_of_service = 3 [json_name = "termsOfService"];setTermsOfServiceBytes(com.google.protobuf.ByteString value) string terms_of_service = 3 [json_name = "termsOfService"];string title = 1 [json_name = "title"];setTitleBytes(com.google.protobuf.ByteString value) string title = 1 [json_name = "title"];final Info.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVersion(String value) string version = 6 [json_name = "version"];setVersionBytes(com.google.protobuf.ByteString value) string version = 6 [json_name = "version"];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<Info.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<Info.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<Info.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<Info.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Info.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Info.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Info.Builder>
-
setRepeatedField
public Info.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<Info.Builder>
-
addRepeatedField
public Info.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<Info.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Info.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Info.Builder>
-
mergeFrom
public Info.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<Info.Builder>- Throws:
IOException
-
getTitle
string title = 1 [json_name = "title"];- Specified by:
getTitlein interfaceInfoOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()string title = 1 [json_name = "title"];- Specified by:
getTitleBytesin interfaceInfoOrBuilder- Returns:
- The bytes for title.
-
setTitle
string title = 1 [json_name = "title"];- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
string title = 1 [json_name = "title"];- Returns:
- This builder for chaining.
-
setTitleBytes
string title = 1 [json_name = "title"];- Parameters:
value- The bytes for title to set.- Returns:
- This builder for chaining.
-
getDescription
string description = 2 [json_name = "description"];- Specified by:
getDescriptionin interfaceInfoOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()string description = 2 [json_name = "description"];- Specified by:
getDescriptionBytesin interfaceInfoOrBuilder- Returns:
- The bytes for description.
-
setDescription
string description = 2 [json_name = "description"];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
string description = 2 [json_name = "description"];- Returns:
- This builder for chaining.
-
setDescriptionBytes
string description = 2 [json_name = "description"];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getTermsOfService
string terms_of_service = 3 [json_name = "termsOfService"];- Specified by:
getTermsOfServicein interfaceInfoOrBuilder- Returns:
- The termsOfService.
-
getTermsOfServiceBytes
public com.google.protobuf.ByteString getTermsOfServiceBytes()string terms_of_service = 3 [json_name = "termsOfService"];- Specified by:
getTermsOfServiceBytesin interfaceInfoOrBuilder- Returns:
- The bytes for termsOfService.
-
setTermsOfService
string terms_of_service = 3 [json_name = "termsOfService"];- Parameters:
value- The termsOfService to set.- Returns:
- This builder for chaining.
-
clearTermsOfService
string terms_of_service = 3 [json_name = "termsOfService"];- Returns:
- This builder for chaining.
-
setTermsOfServiceBytes
string terms_of_service = 3 [json_name = "termsOfService"];- Parameters:
value- The bytes for termsOfService to set.- Returns:
- This builder for chaining.
-
hasContact
public boolean hasContact().openapi.v3.Contact contact = 4 [json_name = "contact"];- Specified by:
hasContactin interfaceInfoOrBuilder- Returns:
- Whether the contact field is set.
-
getContact
.openapi.v3.Contact contact = 4 [json_name = "contact"];- Specified by:
getContactin interfaceInfoOrBuilder- Returns:
- The contact.
-
setContact
.openapi.v3.Contact contact = 4 [json_name = "contact"]; -
setContact
.openapi.v3.Contact contact = 4 [json_name = "contact"]; -
mergeContact
.openapi.v3.Contact contact = 4 [json_name = "contact"]; -
clearContact
.openapi.v3.Contact contact = 4 [json_name = "contact"]; -
getContactBuilder
.openapi.v3.Contact contact = 4 [json_name = "contact"]; -
getContactOrBuilder
.openapi.v3.Contact contact = 4 [json_name = "contact"];- Specified by:
getContactOrBuilderin interfaceInfoOrBuilder
-
hasLicense
public boolean hasLicense().openapi.v3.License license = 5 [json_name = "license"];- Specified by:
hasLicensein interfaceInfoOrBuilder- Returns:
- Whether the license field is set.
-
getLicense
.openapi.v3.License license = 5 [json_name = "license"];- Specified by:
getLicensein interfaceInfoOrBuilder- Returns:
- The license.
-
setLicense
.openapi.v3.License license = 5 [json_name = "license"]; -
setLicense
.openapi.v3.License license = 5 [json_name = "license"]; -
mergeLicense
.openapi.v3.License license = 5 [json_name = "license"]; -
clearLicense
.openapi.v3.License license = 5 [json_name = "license"]; -
getLicenseBuilder
.openapi.v3.License license = 5 [json_name = "license"]; -
getLicenseOrBuilder
.openapi.v3.License license = 5 [json_name = "license"];- Specified by:
getLicenseOrBuilderin interfaceInfoOrBuilder
-
getVersion
string version = 6 [json_name = "version"];- Specified by:
getVersionin interfaceInfoOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()string version = 6 [json_name = "version"];- Specified by:
getVersionBytesin interfaceInfoOrBuilder- Returns:
- The bytes for version.
-
setVersion
string version = 6 [json_name = "version"];- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
string version = 6 [json_name = "version"];- Returns:
- This builder for chaining.
-
setVersionBytes
string version = 6 [json_name = "version"];- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
getSpecificationExtensionList
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionListin interfaceInfoOrBuilder
-
getSpecificationExtensionCount
public int getSpecificationExtensionCount()repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionCountin interfaceInfoOrBuilder
-
getSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionin interfaceInfoOrBuilder
-
setSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"]; -
setSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"]; -
addSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"]; -
addSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"]; -
addSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"]; -
addSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"]; -
addAllSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"]; -
clearSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"]; -
removeSpecificationExtension
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"]; -
getSpecificationExtensionBuilder
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"]; -
getSpecificationExtensionOrBuilder
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionOrBuilderin interfaceInfoOrBuilder
-
getSpecificationExtensionOrBuilderList
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"];- Specified by:
getSpecificationExtensionOrBuilderListin interfaceInfoOrBuilder
-
addSpecificationExtensionBuilder
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"]; -
addSpecificationExtensionBuilder
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"]; -
getSpecificationExtensionBuilderList
repeated .openapi.v3.NamedAny specification_extension = 7 [json_name = "specificationExtension"]; -
getSummary
string summary = 8 [json_name = "summary"];- Specified by:
getSummaryin interfaceInfoOrBuilder- Returns:
- The summary.
-
getSummaryBytes
public com.google.protobuf.ByteString getSummaryBytes()string summary = 8 [json_name = "summary"];- Specified by:
getSummaryBytesin interfaceInfoOrBuilder- Returns:
- The bytes for summary.
-
setSummary
string summary = 8 [json_name = "summary"];- Parameters:
value- The summary to set.- Returns:
- This builder for chaining.
-
clearSummary
string summary = 8 [json_name = "summary"];- Returns:
- This builder for chaining.
-
setSummaryBytes
string summary = 8 [json_name = "summary"];- Parameters:
value- The bytes for summary to set.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Info.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Info.Builder>
-