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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    Metadata about a GAPIC library for a specific combination of API, version, and computer language.
    static final class 
    List of GAPIC client methods implementing the proto-defined RPC for the transport and service specified in the containing structures.
    static interface 
     
    static final class 
    Information about a specific client implementing a proto-defined service.
    static interface 
     
    static final class 
    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 
     

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    A map from each proto-defined service to ServiceForTransports, which allows listing information about transport-specific implementations of the service.
    boolean
     
    Any human-readable comments to be included in this file.
    com.google.protobuf.ByteString
    Any human-readable comments to be included in this file.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Computer language of this generated language.
    com.google.protobuf.ByteString
    Computer language of this generated language.
    The language-specific library package for this GAPIC library.
    com.google.protobuf.ByteString
    The 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.ByteString
    The proto package containing the API definition for which this GAPIC library was generated.
    Schema version of this proto.
    com.google.protobuf.ByteString
    Schema version of this proto.
    int
     
    Deprecated.
    int
    A 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.
    A 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.
    int
     
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<GapicMetadata>
     
     
    void
    writeTo(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, 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

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getSchema

      public String getSchema()
       Schema version of this proto. Current value: 1.0
       
      string schema = 1;
      Specified by:
      getSchema in interface GapicMetadataOrBuilder
      Returns:
      The schema.
    • getSchemaBytes

      public com.google.protobuf.ByteString getSchemaBytes()
       Schema version of this proto. Current value: 1.0
       
      string schema = 1;
      Specified by:
      getSchemaBytes in interface GapicMetadataOrBuilder
      Returns:
      The bytes for schema.
    • getComment

      public String getComment()
       Any human-readable comments to be included in this file.
       
      string comment = 2;
      Specified by:
      getComment in interface GapicMetadataOrBuilder
      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:
      getCommentBytes in interface GapicMetadataOrBuilder
      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:
      getLanguage in interface GapicMetadataOrBuilder
      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:
      getLanguageBytes in interface GapicMetadataOrBuilder
      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:
      getProtoPackage in interface GapicMetadataOrBuilder
      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:
      getProtoPackageBytes in interface GapicMetadataOrBuilder
      Returns:
      The bytes for protoPackage.
    • getLibraryPackage

      public String getLibraryPackage()
       The language-specific library package for this GAPIC library.
       
      string library_package = 5;
      Specified by:
      getLibraryPackage in interface GapicMetadataOrBuilder
      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:
      getLibraryPackageBytes in interface GapicMetadataOrBuilder
      Returns:
      The bytes for libraryPackage.
    • getServicesCount

      public int getServicesCount()
      Description copied from interface: GapicMetadataOrBuilder
       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:
      getServicesCount in interface GapicMetadataOrBuilder
    • 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:
      containsServices in interface GapicMetadataOrBuilder
    • getServices

      Deprecated.
      Use getServicesMap() instead.
      Specified by:
      getServices in interface GapicMetadataOrBuilder
    • 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:
      getServicesMap in interface GapicMetadataOrBuilder
    • 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:
      getServicesOrDefault in interface GapicMetadataOrBuilder
    • 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:
      getServicesOrThrow in interface GapicMetadataOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GapicMetadata.Builder newBuilder()
    • newBuilder

      public static GapicMetadata.Builder newBuilder(GapicMetadata prototype)
    • toBuilder

      public GapicMetadata.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GapicMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.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:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public GapicMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder