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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsServices(String key)A map from each proto-defined service to ServiceForTransports, which allows listing information about transport-specific implementations of the service.StringgetComment()Any human-readable comments to be included in this file.com.google.protobuf.ByteStringgetCommentBytes()Any human-readable comments to be included in this file.StringgetLanguage()Computer language of this generated language.com.google.protobuf.ByteStringgetLanguageBytes()Computer language of this generated language.StringgetLibraryPackage()The language-specific library package for this GAPIC library.com.google.protobuf.ByteStringgetLibraryPackageBytes()The language-specific library package for this GAPIC library.StringgetProtoPackage()The proto package containing the API definition for which this GAPIC library was generated.com.google.protobuf.ByteStringgetProtoPackageBytes()The proto package containing the API definition for which this GAPIC library was generated.StringgetSchema()Schema version of this proto.com.google.protobuf.ByteStringgetSchemaBytes()Schema version of this proto.Map<String,GapicMetadata.ServiceForTransport>getServices()Deprecated.intgetServicesCount()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.ServiceForTransportgetServicesOrDefault(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.ServiceForTransportgetServicesOrThrow(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.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
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;
-
getServices
@Deprecated Map<String,GapicMetadata.ServiceForTransport> 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
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;
-
-