Package com.google.gapic.metadata
Interface GapicMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GapicMetadata,GapicMetadata.Builder
public interface GapicMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsServices(String key) A map from each proto-defined service to ServiceForTransports, which allows listing information about transport-specific implementations of the service.Any human-readable comments to be included in this file.com.google.protobuf.ByteStringAny human-readable comments to be included in this file.Computer language of this generated language.com.google.protobuf.ByteStringComputer language of this generated language.The language-specific library package for this GAPIC library.com.google.protobuf.ByteStringThe language-specific library package for this GAPIC library.The proto package containing the API definition for which this GAPIC library was generated.com.google.protobuf.ByteStringThe proto package containing the API definition for which this GAPIC library was generated.Schema version of this proto.com.google.protobuf.ByteStringSchema version of this proto.Deprecated.intA map from each proto-defined service to ServiceForTransports, which allows listing information about transport-specific implementations of the service.A map from each proto-defined service to ServiceForTransports, which allows listing information about transport-specific implementations of the service.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.getServicesOrThrow(String key) A map from each proto-defined service to ServiceForTransports, which allows listing information about transport-specific implementations of the service.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSchema
String getSchema()Schema version of this proto. Current value: 1.0
string schema = 1;- Returns:
- The schema.
-
getSchemaBytes
com.google.protobuf.ByteString getSchemaBytes()Schema version of this proto. Current value: 1.0
string schema = 1;- Returns:
- The bytes for schema.
-
getComment
String getComment()Any human-readable comments to be included in this file.
string comment = 2;- Returns:
- The comment.
-
getCommentBytes
com.google.protobuf.ByteString getCommentBytes()Any human-readable comments to be included in this file.
string comment = 2;- Returns:
- The bytes for comment.
-
getLanguage
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;- Returns:
- The language.
-
getLanguageBytes
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;- Returns:
- The bytes for language.
-
getProtoPackage
String getProtoPackage()The proto package containing the API definition for which this GAPIC library was generated.
string proto_package = 4;- Returns:
- The protoPackage.
-
getProtoPackageBytes
com.google.protobuf.ByteString getProtoPackageBytes()The proto package containing the API definition for which this GAPIC library was generated.
string proto_package = 4;- Returns:
- The bytes for protoPackage.
-
getLibraryPackage
String getLibraryPackage()The language-specific library package for this GAPIC library.
string library_package = 5;- Returns:
- The libraryPackage.
-
getLibraryPackageBytes
com.google.protobuf.ByteString getLibraryPackageBytes()The language-specific library package for this GAPIC library.
string library_package = 5;- Returns:
- The bytes for libraryPackage.
-
getServicesCount
int getServicesCount()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
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; -
getServices
Deprecated.UsegetServicesMap()instead. -
getServicesMap
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; -
getServicesOrDefault
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; -
getServicesOrThrow
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;
-