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| Modifier and Type | Class and Description |
|---|---|
static class |
GapicMetadata.Builder
Metadata about a GAPIC library for a specific combination of API, version, and
computer language.
|
static class |
GapicMetadata.MethodList
List of GAPIC client methods implementing the proto-defined RPC
for the transport and service specified in the containing
structures.
|
static interface |
GapicMetadata.MethodListOrBuilder |
static class |
GapicMetadata.ServiceAsClient
Information about a specific client implementing a proto-defined service.
|
static interface |
GapicMetadata.ServiceAsClientOrBuilder |
static class |
GapicMetadata.ServiceForTransport
A 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 interface |
GapicMetadata.ServiceForTransportOrBuilder |
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| Modifier and Type | Field and Description |
|---|---|
static int |
COMMENT_FIELD_NUMBER |
static int |
LANGUAGE_FIELD_NUMBER |
static int |
LIBRARY_PACKAGE_FIELD_NUMBER |
static int |
PROTO_PACKAGE_FIELD_NUMBER |
static int |
SCHEMA_FIELD_NUMBER |
static int |
SERVICES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsServices(String key)
A map from each proto-defined service to ServiceForTransports,
which allows listing information about transport-specific
implementations of the service.
|
boolean |
equals(Object obj) |
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.
|
static GapicMetadata |
getDefaultInstance() |
GapicMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<GapicMetadata> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static GapicMetadata.Builder |
newBuilder() |
static GapicMetadata.Builder |
newBuilder(GapicMetadata prototype) |
GapicMetadata.Builder |
newBuilderForType() |
protected GapicMetadata.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GapicMetadata |
parseDelimitedFrom(InputStream input) |
static GapicMetadata |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GapicMetadata |
parseFrom(byte[] data) |
static GapicMetadata |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GapicMetadata |
parseFrom(ByteBuffer data) |
static GapicMetadata |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GapicMetadata |
parseFrom(com.google.protobuf.ByteString data) |
static GapicMetadata |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GapicMetadata |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GapicMetadata |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GapicMetadata |
parseFrom(InputStream input) |
static GapicMetadata |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GapicMetadata> |
parser() |
GapicMetadata.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SCHEMA_FIELD_NUMBER
public static final int COMMENT_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
public static final int PROTO_PACKAGE_FIELD_NUMBER
public static final int LIBRARY_PACKAGE_FIELD_NUMBER
public static final int SERVICES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static GapicMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GapicMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GapicMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GapicMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GapicMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GapicMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GapicMetadata parseFrom(InputStream input) throws IOException
IOExceptionpublic static GapicMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GapicMetadata parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GapicMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GapicMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GapicMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GapicMetadata.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GapicMetadata.Builder newBuilder()
public static GapicMetadata.Builder newBuilder(GapicMetadata prototype)
public GapicMetadata.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GapicMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GapicMetadata getDefaultInstance()
public static com.google.protobuf.Parser<GapicMetadata> parser()
public com.google.protobuf.Parser<GapicMetadata> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GapicMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.