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

  public 
  
 static 
  
 LibraryMetadata 
  
 empty 
 () 
 
Returns
Type
Description
  public 
  
 static 
  
 LibraryMetadata 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type
Description

Constructors

  public 
  
 LibraryMetadata 
 () 
 

Methods

  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

the artifact name, or null if not set

  public 
  
 boolean 
  
 isEmpty 
 () 
 
Returns
Type
Description
  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

the repository, or null if not set

  public 
  
 abstract 
  
 String 
  
 version 
 () 
 
Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: