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 typegoogle.gapic.metadata.GapicMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGapicMetadata.BuilderMetadata about a GAPIC library for a specific combination of API, version, and computer language.static classGapicMetadata.MethodListList of GAPIC client methods implementing the proto-defined RPC for the transport and service specified in the containing structures.static interfaceGapicMetadata.MethodListOrBuilderstatic classGapicMetadata.ServiceAsClientInformation about a specific client implementing a proto-defined service.static interfaceGapicMetadata.ServiceAsClientOrBuilderstatic classGapicMetadata.ServiceForTransportA 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 interfaceGapicMetadata.ServiceForTransportOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCOMMENT_FIELD_NUMBERstatic intLANGUAGE_FIELD_NUMBERstatic intLIBRARY_PACKAGE_FIELD_NUMBERstatic intPROTO_PACKAGE_FIELD_NUMBERstatic intSCHEMA_FIELD_NUMBERstatic intSERVICES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete 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.booleanequals(Object obj)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.static GapicMetadatagetDefaultInstance()GapicMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.Parser<GapicMetadata>getParserForType()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.intgetSerializedSize()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.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static GapicMetadata.BuildernewBuilder()static GapicMetadata.BuildernewBuilder(GapicMetadata prototype)GapicMetadata.BuildernewBuilderForType()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()GapicMetadata.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SCHEMA_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMENT_FIELD_NUMBER
public static final int COMMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LANGUAGE_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROTO_PACKAGE_FIELD_NUMBER
public static final int PROTO_PACKAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIBRARY_PACKAGE_FIELD_NUMBER
public static final int LIBRARY_PACKAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICES_FIELD_NUMBER
public static final int SERVICES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getSchema
public String 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
public String 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
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;- 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
public String 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
public String 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
public 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;- Specified by:
containsServicesin interfaceGapicMetadataOrBuilder
-
getServices
@Deprecated public Map<String,GapicMetadata.ServiceForTransport> getServices()
Deprecated.UsegetServicesMap()instead.- Specified by:
getServicesin interfaceGapicMetadataOrBuilder
-
getServicesMap
public 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;- 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
public 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;- Specified by:
getServicesOrThrowin interfaceGapicMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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
public static GapicMetadata parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GapicMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GapicMetadata parseDelimitedFrom(InputStream input) throws IOException
- 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
public GapicMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GapicMetadata.Builder newBuilder()
-
newBuilder
public static GapicMetadata.Builder newBuilder(GapicMetadata prototype)
-
toBuilder
public GapicMetadata.Builder 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
public static GapicMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GapicMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<GapicMetadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GapicMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-