public abstract class LibraryMetadataA context object that contains information about the GAPIC library.
For internal use only.
Static Methods
empty()
public static LibraryMetadata empty()| Returns | |
|---|---|
| Type | Description |
LibraryMetadata |
|
newBuilder()
public static LibraryMetadata.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
LibraryMetadata.Builder |
|
Constructors
LibraryMetadata()
public LibraryMetadata()Methods
artifactName()
public abstract @Nullable String artifactName()Returns the artifact name of the client library.
Example: "google-cloud-vision". This maps to the gcp.client.artifact attribute.
| Returns | |
|---|---|
| Type | Description |
@org.jspecify.annotations.Nullable java.lang.String |
the artifact name, or |
isEmpty()
public boolean isEmpty()| Returns | |
|---|---|
| Type | Description |
boolean |
|
repository()
public abstract @Nullable String repository()Returns the repository of the client library.
Example: "googleapis/google-cloud-java". This maps to the gcp.client.repo attribute.
| Returns | |
|---|---|
| Type | Description |
@org.jspecify.annotations.Nullable java.lang.String |
the repository, or |
version()
public abstract @Nullable String version()Returns the version of the client library.
Example: "2.74.1". This maps to the gcp.client.version attribute.
| Returns | |
|---|---|
| Type | Description |
@org.jspecify.annotations.Nullable java.lang.String |
the version, or |