public static final class GapicMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.Builder> implements GapicMetadataOrBuilder
Metadata about a GAPIC library for a specific combination of API, version, and computer language.Protobuf type
google.gapic.metadata.GapicMetadata| Modifier and Type | Method and Description |
|---|---|
GapicMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GapicMetadata |
build() |
GapicMetadata |
buildPartial() |
GapicMetadata.Builder |
clear() |
GapicMetadata.Builder |
clearComment()
Any human-readable comments to be included in this file.
|
GapicMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GapicMetadata.Builder |
clearLanguage()
Computer language of this generated language.
|
GapicMetadata.Builder |
clearLibraryPackage()
The language-specific library package for this GAPIC library.
|
GapicMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GapicMetadata.Builder |
clearProtoPackage()
The proto package containing the API definition for which this
GAPIC library was generated.
|
GapicMetadata.Builder |
clearSchema()
Schema version of this proto.
|
GapicMetadata.Builder |
clearServices() |
GapicMetadata.Builder |
clone() |
boolean |
containsServices(String key)
A map from each proto-defined service to ServiceForTransports,
which allows listing information about transport-specific
implementations of the service.
|
String |
getComment()
Any human-readable comments to be included in this file.
|
com.google.protobuf.ByteString |
getCommentBytes()
Any human-readable comments to be included in this file.
|
GapicMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getLanguage()
Computer language of this generated language.
|
com.google.protobuf.ByteString |
getLanguageBytes()
Computer language of this generated language.
|
String |
getLibraryPackage()
The language-specific library package for this GAPIC library.
|
com.google.protobuf.ByteString |
getLibraryPackageBytes()
The language-specific library package for this GAPIC library.
|
Map<String,GapicMetadata.ServiceForTransport> |
getMutableServices()
Deprecated.
|
String |
getProtoPackage()
The proto package containing the API definition for which this
GAPIC library was generated.
|
com.google.protobuf.ByteString |
getProtoPackageBytes()
The proto package containing the API definition for which this
GAPIC library was generated.
|
String |
getSchema()
Schema version of this proto.
|
com.google.protobuf.ByteString |
getSchemaBytes()
Schema version of this proto.
|
Map<String,GapicMetadata.ServiceForTransport> |
getServices()
Deprecated.
|
int |
getServicesCount()
A map from each proto-defined service to ServiceForTransports,
which allows listing information about transport-specific
implementations of the service.
|
Map<String,GapicMetadata.ServiceForTransport> |
getServicesMap()
A map from each proto-defined service to ServiceForTransports,
which allows listing information about transport-specific
implementations of the service.
|
GapicMetadata.ServiceForTransport |
getServicesOrDefault(String key,
GapicMetadata.ServiceForTransport defaultValue)
A map from each proto-defined service to ServiceForTransports,
which allows listing information about transport-specific
implementations of the service.
|
GapicMetadata.ServiceForTransport |
getServicesOrThrow(String key)
A map from each proto-defined service to ServiceForTransports,
which allows listing information about transport-specific
implementations of the service.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
GapicMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GapicMetadata.Builder |
mergeFrom(GapicMetadata other) |
GapicMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
GapicMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GapicMetadata.Builder |
putAllServices(Map<String,GapicMetadata.ServiceForTransport> values)
A map from each proto-defined service to ServiceForTransports,
which allows listing information about transport-specific
implementations of the service.
|
GapicMetadata.Builder |
putServices(String key,
GapicMetadata.ServiceForTransport value)
A map from each proto-defined service to ServiceForTransports,
which allows listing information about transport-specific
implementations of the service.
|
GapicMetadata.Builder |
removeServices(String key)
A map from each proto-defined service to ServiceForTransports,
which allows listing information about transport-specific
implementations of the service.
|
GapicMetadata.Builder |
setComment(String value)
Any human-readable comments to be included in this file.
|
GapicMetadata.Builder |
setCommentBytes(com.google.protobuf.ByteString value)
Any human-readable comments to be included in this file.
|
GapicMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GapicMetadata.Builder |
setLanguage(String value)
Computer language of this generated language.
|
GapicMetadata.Builder |
setLanguageBytes(com.google.protobuf.ByteString value)
Computer language of this generated language.
|
GapicMetadata.Builder |
setLibraryPackage(String value)
The language-specific library package for this GAPIC library.
|
GapicMetadata.Builder |
setLibraryPackageBytes(com.google.protobuf.ByteString value)
The language-specific library package for this GAPIC library.
|
GapicMetadata.Builder |
setProtoPackage(String value)
The proto package containing the API definition for which this
GAPIC library was generated.
|
GapicMetadata.Builder |
setProtoPackageBytes(com.google.protobuf.ByteString value)
The proto package containing the API definition for which this
GAPIC library was generated.
|
GapicMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GapicMetadata.Builder |
setSchema(String value)
Schema version of this proto.
|
GapicMetadata.Builder |
setSchemaBytes(com.google.protobuf.ByteString value)
Schema version of this proto.
|
GapicMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.Builder>public GapicMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.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.GeneratedMessageV3.Builder<GapicMetadata.Builder>public GapicMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GapicMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GapicMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GapicMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.Builder>public GapicMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.Builder>public GapicMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.Builder>public GapicMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.Builder>public GapicMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.Builder>public GapicMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.Builder>public GapicMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GapicMetadata.Builder>public GapicMetadata.Builder mergeFrom(GapicMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.Builder>public GapicMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GapicMetadata.Builder>IOExceptionpublic String getSchema()
Schema version of this proto. Current value: 1.0
string schema = 1;getSchema in interface GapicMetadataOrBuilderpublic com.google.protobuf.ByteString getSchemaBytes()
Schema version of this proto. Current value: 1.0
string schema = 1;getSchemaBytes in interface GapicMetadataOrBuilderpublic GapicMetadata.Builder setSchema(String value)
Schema version of this proto. Current value: 1.0
string schema = 1;value - The schema to set.public GapicMetadata.Builder clearSchema()
Schema version of this proto. Current value: 1.0
string schema = 1;public GapicMetadata.Builder setSchemaBytes(com.google.protobuf.ByteString value)
Schema version of this proto. Current value: 1.0
string schema = 1;value - The bytes for schema to set.public String getComment()
Any human-readable comments to be included in this file.
string comment = 2;getComment in interface GapicMetadataOrBuilderpublic com.google.protobuf.ByteString getCommentBytes()
Any human-readable comments to be included in this file.
string comment = 2;getCommentBytes in interface GapicMetadataOrBuilderpublic GapicMetadata.Builder setComment(String value)
Any human-readable comments to be included in this file.
string comment = 2;value - The comment to set.public GapicMetadata.Builder clearComment()
Any human-readable comments to be included in this file.
string comment = 2;public GapicMetadata.Builder setCommentBytes(com.google.protobuf.ByteString value)
Any human-readable comments to be included in this file.
string comment = 2;value - The bytes for comment to set.public String getLanguage()
Computer language of this generated language. This must be spelled out as it spoken in English, with no capitalization or separators (e.g. "csharp", "nodejs").
string language = 3;getLanguage in interface GapicMetadataOrBuilderpublic com.google.protobuf.ByteString getLanguageBytes()
Computer language of this generated language. This must be spelled out as it spoken in English, with no capitalization or separators (e.g. "csharp", "nodejs").
string language = 3;getLanguageBytes in interface GapicMetadataOrBuilderpublic GapicMetadata.Builder setLanguage(String value)
Computer language of this generated language. This must be spelled out as it spoken in English, with no capitalization or separators (e.g. "csharp", "nodejs").
string language = 3;value - The language to set.public GapicMetadata.Builder clearLanguage()
Computer language of this generated language. This must be spelled out as it spoken in English, with no capitalization or separators (e.g. "csharp", "nodejs").
string language = 3;public GapicMetadata.Builder setLanguageBytes(com.google.protobuf.ByteString value)
Computer language of this generated language. This must be spelled out as it spoken in English, with no capitalization or separators (e.g. "csharp", "nodejs").
string language = 3;value - The bytes for language to set.public String getProtoPackage()
The proto package containing the API definition for which this GAPIC library was generated.
string proto_package = 4;getProtoPackage in interface GapicMetadataOrBuilderpublic com.google.protobuf.ByteString getProtoPackageBytes()
The proto package containing the API definition for which this GAPIC library was generated.
string proto_package = 4;getProtoPackageBytes in interface GapicMetadataOrBuilderpublic GapicMetadata.Builder setProtoPackage(String value)
The proto package containing the API definition for which this GAPIC library was generated.
string proto_package = 4;value - The protoPackage to set.public GapicMetadata.Builder clearProtoPackage()
The proto package containing the API definition for which this GAPIC library was generated.
string proto_package = 4;public GapicMetadata.Builder setProtoPackageBytes(com.google.protobuf.ByteString value)
The proto package containing the API definition for which this GAPIC library was generated.
string proto_package = 4;value - The bytes for protoPackage to set.public String getLibraryPackage()
The language-specific library package for this GAPIC library.
string library_package = 5;getLibraryPackage in interface GapicMetadataOrBuilderpublic com.google.protobuf.ByteString getLibraryPackageBytes()
The language-specific library package for this GAPIC library.
string library_package = 5;getLibraryPackageBytes in interface GapicMetadataOrBuilderpublic GapicMetadata.Builder setLibraryPackage(String value)
The language-specific library package for this GAPIC library.
string library_package = 5;value - The libraryPackage to set.public GapicMetadata.Builder clearLibraryPackage()
The language-specific library package for this GAPIC library.
string library_package = 5;public GapicMetadata.Builder setLibraryPackageBytes(com.google.protobuf.ByteString value)
The language-specific library package for this GAPIC library.
string library_package = 5;value - The bytes for libraryPackage to set.public int getServicesCount()
GapicMetadataOrBuilderA map from each proto-defined service to ServiceForTransports, which allows listing information about transport-specific implementations of the service. The key is the name of the service as it appears in the .proto file.
map<string, .google.gapic.metadata.GapicMetadata.ServiceForTransport> services = 6;getServicesCount in interface GapicMetadataOrBuilderpublic boolean containsServices(String key)
A map from each proto-defined service to ServiceForTransports, which allows listing information about transport-specific implementations of the service. The key is the name of the service as it appears in the .proto file.
map<string, .google.gapic.metadata.GapicMetadata.ServiceForTransport> services = 6;containsServices in interface GapicMetadataOrBuilder@Deprecated public Map<String,GapicMetadata.ServiceForTransport> getServices()
getServicesMap() instead.getServices in interface GapicMetadataOrBuilderpublic Map<String,GapicMetadata.ServiceForTransport> getServicesMap()
A map from each proto-defined service to ServiceForTransports, which allows listing information about transport-specific implementations of the service. The key is the name of the service as it appears in the .proto file.
map<string, .google.gapic.metadata.GapicMetadata.ServiceForTransport> services = 6;getServicesMap in interface GapicMetadataOrBuilderpublic GapicMetadata.ServiceForTransport getServicesOrDefault(String key, GapicMetadata.ServiceForTransport defaultValue)
A map from each proto-defined service to ServiceForTransports, which allows listing information about transport-specific implementations of the service. The key is the name of the service as it appears in the .proto file.
map<string, .google.gapic.metadata.GapicMetadata.ServiceForTransport> services = 6;getServicesOrDefault in interface GapicMetadataOrBuilderpublic GapicMetadata.ServiceForTransport getServicesOrThrow(String key)
A map from each proto-defined service to ServiceForTransports, which allows listing information about transport-specific implementations of the service. The key is the name of the service as it appears in the .proto file.
map<string, .google.gapic.metadata.GapicMetadata.ServiceForTransport> services = 6;getServicesOrThrow in interface GapicMetadataOrBuilderpublic GapicMetadata.Builder clearServices()
public GapicMetadata.Builder removeServices(String key)
A map from each proto-defined service to ServiceForTransports, which allows listing information about transport-specific implementations of the service. The key is the name of the service as it appears in the .proto file.
map<string, .google.gapic.metadata.GapicMetadata.ServiceForTransport> services = 6;@Deprecated public Map<String,GapicMetadata.ServiceForTransport> getMutableServices()
public GapicMetadata.Builder putServices(String key, GapicMetadata.ServiceForTransport value)
A map from each proto-defined service to ServiceForTransports, which allows listing information about transport-specific implementations of the service. The key is the name of the service as it appears in the .proto file.
map<string, .google.gapic.metadata.GapicMetadata.ServiceForTransport> services = 6;public GapicMetadata.Builder putAllServices(Map<String,GapicMetadata.ServiceForTransport> values)
A map from each proto-defined service to ServiceForTransports, which allows listing information about transport-specific implementations of the service. The key is the name of the service as it appears in the .proto file.
map<string, .google.gapic.metadata.GapicMetadata.ServiceForTransport> services = 6;public final GapicMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.Builder>public final GapicMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.Builder>Copyright © 2022 Google LLC. All rights reserved.