Class Openapiv2.Info.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.Info.Builder>
-
- grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.Info.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Openapiv2.InfoOrBuilder,java.lang.Cloneable
- Enclosing class:
- Openapiv2.Info
public static final class Openapiv2.Info.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.Info.Builder> implements Openapiv2.InfoOrBuilder
`Info` is a representation of OpenAPI v2 specification's Info object. See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#infoObject Example: option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { info: { title: "Echo API"; version: "1.0"; description: ""; contact: { name: "gRPC-Gateway project"; url: "https://github.com/grpc-ecosystem/grpc-gateway"; email: "none@example.com"; }; license: { name: "BSD 3-Clause License"; url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/main/LICENSE.txt"; }; }; ... };Protobuf typegrpc.gateway.protoc_gen_openapiv2.options.Info
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Openapiv2.Info.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Openapiv2.Infobuild()Openapiv2.InfobuildPartial()Openapiv2.Info.Builderclear()Openapiv2.Info.BuilderclearContact()The contact information for the exposed API.Openapiv2.Info.BuilderclearDescription()A short description of the application.Openapiv2.Info.BuilderclearExtensions()Openapiv2.Info.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Openapiv2.Info.BuilderclearLicense()The license information for the exposed API.Openapiv2.Info.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Openapiv2.Info.BuilderclearTermsOfService()The Terms of Service for the API.Openapiv2.Info.BuilderclearTitle()The title of the application.Openapiv2.Info.BuilderclearVersion()Provides the version of the application API (not to be confused with the specification version).Openapiv2.Info.Builderclone()booleancontainsExtensions(java.lang.String key)Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification.Openapiv2.ContactgetContact()The contact information for the exposed API.Openapiv2.Contact.BuildergetContactBuilder()The contact information for the exposed API.Openapiv2.ContactOrBuildergetContactOrBuilder()The contact information for the exposed API.Openapiv2.InfogetDefaultInstanceForType()java.lang.StringgetDescription()A short description of the application.com.google.protobuf.ByteStringgetDescriptionBytes()A short description of the application.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.util.Map<java.lang.String,com.google.protobuf.Value>getExtensions()Deprecated.intgetExtensionsCount()Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification.java.util.Map<java.lang.String,com.google.protobuf.Value>getExtensionsMap()Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification.com.google.protobuf.ValuegetExtensionsOrDefault(java.lang.String key, com.google.protobuf.Value defaultValue)Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification.com.google.protobuf.ValuegetExtensionsOrThrow(java.lang.String key)Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification.Openapiv2.LicensegetLicense()The license information for the exposed API.Openapiv2.License.BuildergetLicenseBuilder()The license information for the exposed API.Openapiv2.LicenseOrBuildergetLicenseOrBuilder()The license information for the exposed API.java.util.Map<java.lang.String,com.google.protobuf.Value>getMutableExtensions()Deprecated.java.lang.StringgetTermsOfService()The Terms of Service for the API.com.google.protobuf.ByteStringgetTermsOfServiceBytes()The Terms of Service for the API.java.lang.StringgetTitle()The title of the application.com.google.protobuf.ByteStringgetTitleBytes()The title of the application.java.lang.StringgetVersion()Provides the version of the application API (not to be confused with the specification version).com.google.protobuf.ByteStringgetVersionBytes()Provides the version of the application API (not to be confused with the specification version).booleanhasContact()The contact information for the exposed API.booleanhasLicense()The license information for the exposed API.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Openapiv2.Info.BuildermergeContact(Openapiv2.Contact value)The contact information for the exposed API.Openapiv2.Info.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Openapiv2.Info.BuildermergeFrom(com.google.protobuf.Message other)Openapiv2.Info.BuildermergeFrom(Openapiv2.Info other)Openapiv2.Info.BuildermergeLicense(Openapiv2.License value)The license information for the exposed API.Openapiv2.Info.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Openapiv2.Info.BuilderputAllExtensions(java.util.Map<java.lang.String,com.google.protobuf.Value> values)Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification.Openapiv2.Info.BuilderputExtensions(java.lang.String key, com.google.protobuf.Value value)Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification.Openapiv2.Info.BuilderremoveExtensions(java.lang.String key)Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification.Openapiv2.Info.BuildersetContact(Openapiv2.Contact value)The contact information for the exposed API.Openapiv2.Info.BuildersetContact(Openapiv2.Contact.Builder builderForValue)The contact information for the exposed API.Openapiv2.Info.BuildersetDescription(java.lang.String value)A short description of the application.Openapiv2.Info.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)A short description of the application.Openapiv2.Info.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Openapiv2.Info.BuildersetLicense(Openapiv2.License value)The license information for the exposed API.Openapiv2.Info.BuildersetLicense(Openapiv2.License.Builder builderForValue)The license information for the exposed API.Openapiv2.Info.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Openapiv2.Info.BuildersetTermsOfService(java.lang.String value)The Terms of Service for the API.Openapiv2.Info.BuildersetTermsOfServiceBytes(com.google.protobuf.ByteString value)The Terms of Service for the API.Openapiv2.Info.BuildersetTitle(java.lang.String value)The title of the application.Openapiv2.Info.BuildersetTitleBytes(com.google.protobuf.ByteString value)The title of the application.Openapiv2.Info.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Openapiv2.Info.BuildersetVersion(java.lang.String value)Provides the version of the application API (not to be confused with the specification version).Openapiv2.Info.BuildersetVersionBytes(com.google.protobuf.ByteString value)Provides the version of the application API (not to be confused with the specification version).-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.Info.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.Info.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.Info.Builder>
-
clear
public Openapiv2.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<Openapiv2.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<Openapiv2.Info.Builder>
-
getDefaultInstanceForType
public Openapiv2.Info getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Openapiv2.Info build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Openapiv2.Info buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Openapiv2.Info.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<Openapiv2.Info.Builder>
-
setField
public Openapiv2.Info.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.Info.Builder>
-
clearField
public Openapiv2.Info.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.Info.Builder>
-
clearOneof
public Openapiv2.Info.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.Info.Builder>
-
setRepeatedField
public Openapiv2.Info.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.Info.Builder>
-
addRepeatedField
public Openapiv2.Info.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.Info.Builder>
-
mergeFrom
public Openapiv2.Info.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Openapiv2.Info.Builder>
-
mergeFrom
public Openapiv2.Info.Builder mergeFrom(Openapiv2.Info other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.Info.Builder>
-
mergeFrom
public Openapiv2.Info.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Openapiv2.Info.Builder>- Throws:
java.io.IOException
-
getTitle
public java.lang.String getTitle()
The title of the application.
string title = 1;- Specified by:
getTitlein interfaceOpenapiv2.InfoOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()
The title of the application.
string title = 1;- Specified by:
getTitleBytesin interfaceOpenapiv2.InfoOrBuilder- Returns:
- The bytes for title.
-
setTitle
public Openapiv2.Info.Builder setTitle(java.lang.String value)
The title of the application.
string title = 1;- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
public Openapiv2.Info.Builder clearTitle()
The title of the application.
string title = 1;- Returns:
- This builder for chaining.
-
setTitleBytes
public Openapiv2.Info.Builder setTitleBytes(com.google.protobuf.ByteString value)
The title of the application.
string title = 1;- Parameters:
value- The bytes for title to set.- Returns:
- This builder for chaining.
-
getDescription
public java.lang.String getDescription()
A short description of the application. GFM syntax can be used for rich text representation.
string description = 2;- Specified by:
getDescriptionin interfaceOpenapiv2.InfoOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A short description of the application. GFM syntax can be used for rich text representation.
string description = 2;- Specified by:
getDescriptionBytesin interfaceOpenapiv2.InfoOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Openapiv2.Info.Builder setDescription(java.lang.String value)
A short description of the application. GFM syntax can be used for rich text representation.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Openapiv2.Info.Builder clearDescription()
A short description of the application. GFM syntax can be used for rich text representation.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Openapiv2.Info.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A short description of the application. GFM syntax can be used for rich text representation.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getTermsOfService
public java.lang.String getTermsOfService()
The Terms of Service for the API.
string terms_of_service = 3;- Specified by:
getTermsOfServicein interfaceOpenapiv2.InfoOrBuilder- Returns:
- The termsOfService.
-
getTermsOfServiceBytes
public com.google.protobuf.ByteString getTermsOfServiceBytes()
The Terms of Service for the API.
string terms_of_service = 3;- Specified by:
getTermsOfServiceBytesin interfaceOpenapiv2.InfoOrBuilder- Returns:
- The bytes for termsOfService.
-
setTermsOfService
public Openapiv2.Info.Builder setTermsOfService(java.lang.String value)
The Terms of Service for the API.
string terms_of_service = 3;- Parameters:
value- The termsOfService to set.- Returns:
- This builder for chaining.
-
clearTermsOfService
public Openapiv2.Info.Builder clearTermsOfService()
The Terms of Service for the API.
string terms_of_service = 3;- Returns:
- This builder for chaining.
-
setTermsOfServiceBytes
public Openapiv2.Info.Builder setTermsOfServiceBytes(com.google.protobuf.ByteString value)
The Terms of Service for the API.
string terms_of_service = 3;- Parameters:
value- The bytes for termsOfService to set.- Returns:
- This builder for chaining.
-
hasContact
public boolean hasContact()
The contact information for the exposed API.
.grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4;- Specified by:
hasContactin interfaceOpenapiv2.InfoOrBuilder- Returns:
- Whether the contact field is set.
-
getContact
public Openapiv2.Contact getContact()
The contact information for the exposed API.
.grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4;- Specified by:
getContactin interfaceOpenapiv2.InfoOrBuilder- Returns:
- The contact.
-
setContact
public Openapiv2.Info.Builder setContact(Openapiv2.Contact value)
The contact information for the exposed API.
.grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4;
-
setContact
public Openapiv2.Info.Builder setContact(Openapiv2.Contact.Builder builderForValue)
The contact information for the exposed API.
.grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4;
-
mergeContact
public Openapiv2.Info.Builder mergeContact(Openapiv2.Contact value)
The contact information for the exposed API.
.grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4;
-
clearContact
public Openapiv2.Info.Builder clearContact()
The contact information for the exposed API.
.grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4;
-
getContactBuilder
public Openapiv2.Contact.Builder getContactBuilder()
The contact information for the exposed API.
.grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4;
-
getContactOrBuilder
public Openapiv2.ContactOrBuilder getContactOrBuilder()
The contact information for the exposed API.
.grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4;- Specified by:
getContactOrBuilderin interfaceOpenapiv2.InfoOrBuilder
-
hasLicense
public boolean hasLicense()
The license information for the exposed API.
.grpc.gateway.protoc_gen_openapiv2.options.License license = 5;- Specified by:
hasLicensein interfaceOpenapiv2.InfoOrBuilder- Returns:
- Whether the license field is set.
-
getLicense
public Openapiv2.License getLicense()
The license information for the exposed API.
.grpc.gateway.protoc_gen_openapiv2.options.License license = 5;- Specified by:
getLicensein interfaceOpenapiv2.InfoOrBuilder- Returns:
- The license.
-
setLicense
public Openapiv2.Info.Builder setLicense(Openapiv2.License value)
The license information for the exposed API.
.grpc.gateway.protoc_gen_openapiv2.options.License license = 5;
-
setLicense
public Openapiv2.Info.Builder setLicense(Openapiv2.License.Builder builderForValue)
The license information for the exposed API.
.grpc.gateway.protoc_gen_openapiv2.options.License license = 5;
-
mergeLicense
public Openapiv2.Info.Builder mergeLicense(Openapiv2.License value)
The license information for the exposed API.
.grpc.gateway.protoc_gen_openapiv2.options.License license = 5;
-
clearLicense
public Openapiv2.Info.Builder clearLicense()
The license information for the exposed API.
.grpc.gateway.protoc_gen_openapiv2.options.License license = 5;
-
getLicenseBuilder
public Openapiv2.License.Builder getLicenseBuilder()
The license information for the exposed API.
.grpc.gateway.protoc_gen_openapiv2.options.License license = 5;
-
getLicenseOrBuilder
public Openapiv2.LicenseOrBuilder getLicenseOrBuilder()
The license information for the exposed API.
.grpc.gateway.protoc_gen_openapiv2.options.License license = 5;- Specified by:
getLicenseOrBuilderin interfaceOpenapiv2.InfoOrBuilder
-
getVersion
public java.lang.String getVersion()
Provides the version of the application API (not to be confused with the specification version).
string version = 6;- Specified by:
getVersionin interfaceOpenapiv2.InfoOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
Provides the version of the application API (not to be confused with the specification version).
string version = 6;- Specified by:
getVersionBytesin interfaceOpenapiv2.InfoOrBuilder- Returns:
- The bytes for version.
-
setVersion
public Openapiv2.Info.Builder setVersion(java.lang.String value)
Provides the version of the application API (not to be confused with the specification version).
string version = 6;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public Openapiv2.Info.Builder clearVersion()
Provides the version of the application API (not to be confused with the specification version).
string version = 6;- Returns:
- This builder for chaining.
-
setVersionBytes
public Openapiv2.Info.Builder setVersionBytes(com.google.protobuf.ByteString value)
Provides the version of the application API (not to be confused with the specification version).
string version = 6;- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
getExtensionsCount
public int getExtensionsCount()
Description copied from interface:Openapiv2.InfoOrBuilderCustom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 7;- Specified by:
getExtensionsCountin interfaceOpenapiv2.InfoOrBuilder
-
containsExtensions
public boolean containsExtensions(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 7;- Specified by:
containsExtensionsin interfaceOpenapiv2.InfoOrBuilder
-
getExtensions
@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Value> getExtensions()
Deprecated.UsegetExtensionsMap()instead.- Specified by:
getExtensionsin interfaceOpenapiv2.InfoOrBuilder
-
getExtensionsMap
public java.util.Map<java.lang.String,com.google.protobuf.Value> getExtensionsMap()
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 7;- Specified by:
getExtensionsMapin interfaceOpenapiv2.InfoOrBuilder
-
getExtensionsOrDefault
public com.google.protobuf.Value getExtensionsOrDefault(java.lang.String key, com.google.protobuf.Value defaultValue)Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 7;- Specified by:
getExtensionsOrDefaultin interfaceOpenapiv2.InfoOrBuilder
-
getExtensionsOrThrow
public com.google.protobuf.Value getExtensionsOrThrow(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 7;- Specified by:
getExtensionsOrThrowin interfaceOpenapiv2.InfoOrBuilder
-
clearExtensions
public Openapiv2.Info.Builder clearExtensions()
-
removeExtensions
public Openapiv2.Info.Builder removeExtensions(java.lang.String key)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 7;
-
getMutableExtensions
@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Value> getMutableExtensions()
Deprecated.Use alternate mutation accessors instead.
-
putExtensions
public Openapiv2.Info.Builder putExtensions(java.lang.String key, com.google.protobuf.Value value)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 7;
-
putAllExtensions
public Openapiv2.Info.Builder putAllExtensions(java.util.Map<java.lang.String,com.google.protobuf.Value> values)
Custom properties that start with "x-" such as "x-foo" used to describe extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/
map<string, .google.protobuf.Value> extensions = 7;
-
setUnknownFields
public final Openapiv2.Info.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.Info.Builder>
-
mergeUnknownFields
public final Openapiv2.Info.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Openapiv2.Info.Builder>
-
-