Package com.google.gapic.metadata
Class GapicMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.gapic.metadata.GapicMetadata
- All Implemented Interfaces:
GapicMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class GapicMetadata
extends com.google.protobuf.GeneratedMessageV3
implements GapicMetadataOrBuilder
Metadata about a GAPIC library for a specific combination of API, version, and computer language.Protobuf type
google.gapic.metadata.GapicMetadata- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMetadata about a GAPIC library for a specific combination of API, version, and computer language.static final classList of GAPIC client methods implementing the proto-defined RPC for the transport and service specified in the containing structures.static interfacestatic final classInformation about a specific client implementing a proto-defined service.static interfacestatic final classA map from a transport name to ServiceAsClient, which allows listing information about the client objects that implement the parent RPC service for the specified transport.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
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.booleanAny human-readable comments to be included in this file.com.google.protobuf.ByteStringAny human-readable comments to be included in this file.static GapicMetadatastatic final com.google.protobuf.Descriptors.DescriptorComputer 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.com.google.protobuf.Parser<GapicMetadata>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.intDeprecated.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.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic GapicMetadata.Builderstatic GapicMetadata.BuildernewBuilder(GapicMetadata prototype) protected GapicMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static GapicMetadataparseDelimitedFrom(InputStream input) static GapicMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GapicMetadataparseFrom(byte[] data) static GapicMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GapicMetadataparseFrom(com.google.protobuf.ByteString data) static GapicMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GapicMetadataparseFrom(com.google.protobuf.CodedInputStream input) static GapicMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GapicMetadataparseFrom(InputStream input) static GapicMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GapicMetadataparseFrom(ByteBuffer data) static GapicMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GapicMetadata>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SCHEMA_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER- See Also:
-
COMMENT_FIELD_NUMBER
public static final int COMMENT_FIELD_NUMBER- See Also:
-
LANGUAGE_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER- See Also:
-
PROTO_PACKAGE_FIELD_NUMBER
public static final int PROTO_PACKAGE_FIELD_NUMBER- See Also:
-
LIBRARY_PACKAGE_FIELD_NUMBER
public static final int LIBRARY_PACKAGE_FIELD_NUMBER- See Also:
-
SERVICES_FIELD_NUMBER
public static final int SERVICES_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getSchema
Schema version of this proto. Current value: 1.0
string schema = 1;- Specified by:
getSchemain interfaceGapicMetadataOrBuilder- Returns:
- The schema.
-
getSchemaBytes
public com.google.protobuf.ByteString getSchemaBytes()Schema version of this proto. Current value: 1.0
string schema = 1;- Specified by:
getSchemaBytesin interfaceGapicMetadataOrBuilder- Returns:
- The bytes for schema.
-
getComment
Any human-readable comments to be included in this file.
string comment = 2;- Specified by:
getCommentin interfaceGapicMetadataOrBuilder- Returns:
- The comment.
-
getCommentBytes
public com.google.protobuf.ByteString getCommentBytes()Any human-readable comments to be included in this file.
string comment = 2;- Specified by:
getCommentBytesin interfaceGapicMetadataOrBuilder- Returns:
- The bytes for comment.
-
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;- Specified by:
getLanguagein interfaceGapicMetadataOrBuilder- Returns:
- The language.
-
getLanguageBytes
public 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;- Specified by:
getLanguageBytesin interfaceGapicMetadataOrBuilder- Returns:
- The bytes for language.
-
getProtoPackage
The proto package containing the API definition for which this GAPIC library was generated.
string proto_package = 4;- Specified by:
getProtoPackagein interfaceGapicMetadataOrBuilder- Returns:
- The protoPackage.
-
getProtoPackageBytes
public com.google.protobuf.ByteString getProtoPackageBytes()The proto package containing the API definition for which this GAPIC library was generated.
string proto_package = 4;- Specified by:
getProtoPackageBytesin interfaceGapicMetadataOrBuilder- Returns:
- The bytes for protoPackage.
-
getLibraryPackage
The language-specific library package for this GAPIC library.
string library_package = 5;- Specified by:
getLibraryPackagein interfaceGapicMetadataOrBuilder- Returns:
- The libraryPackage.
-
getLibraryPackageBytes
public com.google.protobuf.ByteString getLibraryPackageBytes()The language-specific library package for this GAPIC library.
string library_package = 5;- Specified by:
getLibraryPackageBytesin interfaceGapicMetadataOrBuilder- Returns:
- The bytes for libraryPackage.
-
getServicesCount
public int getServicesCount()Description copied from interface: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;- Specified by:
getServicesCountin interfaceGapicMetadataOrBuilder
-
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;- Specified by:
containsServicesin interfaceGapicMetadataOrBuilder
-
getServices
Deprecated.UsegetServicesMap()instead.- Specified by:
getServicesin interfaceGapicMetadataOrBuilder
-
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;- Specified by:
getServicesMapin interfaceGapicMetadataOrBuilder
-
getServicesOrDefault
public 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;- Specified by:
getServicesOrDefaultin interfaceGapicMetadataOrBuilder
-
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;- Specified by:
getServicesOrThrowin interfaceGapicMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GapicMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GapicMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GapicMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GapicMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GapicMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GapicMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GapicMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GapicMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GapicMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GapicMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GapicMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-