Class LibraryMetadata (2.76.0)

public abstract class LibraryMetadata

A context object that contains information about the GAPIC library.

For internal use only.

Inheritance

java.lang.Object > LibraryMetadata

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 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
String

the artifact name, or null if not set

isEmpty()

public boolean isEmpty()
Returns
Type Description
boolean

repository()

public abstract 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
String

the repository, or null if not set

version()

public abstract String version()
Returns
Type Description
String