Package com.google.api.gax.rpc
Class LibraryMetadata
java.lang.Object
com.google.api.gax.rpc.LibraryMetadata
A context object that contains information about the GAPIC library.
For internal use only.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringReturns the artifact name of the client library.static LibraryMetadataempty()booleanisEmpty()static LibraryMetadata.Builderabstract StringReturns the repository of the client library.abstract Stringversion()
-
Constructor Details
-
LibraryMetadata
public LibraryMetadata()
-
-
Method Details
-
repository
Returns the repository of the client library.Example: "googleapis/google-cloud-java". This maps to the
gcp.client.repoattribute.- Returns:
- the repository, or
nullif not set
-
artifactName
Returns the artifact name of the client library.Example: "google-cloud-vision". This maps to the
gcp.client.artifactattribute.- Returns:
- the artifact name, or
nullif not set
-
version
-
empty
-
isEmpty
public boolean isEmpty() -
newBuilder
-