Class GaxProperties (2.70.0)

  public 
  
 class 
 GaxProperties 
 

Provides properties of the GAX library.

Inheritance

java.lang.Object > GaxProperties

Static Methods

getGaxVersion()

  public 
  
 static 
  
 String 
  
 getGaxVersion 
 () 
 

Returns the current version of GAX.

Returns
Type
Description

getJavaVersion()

  public 
  
 static 
  
 String 
  
 getJavaVersion 
 () 
 

Returns the version of the running JVM

Returns
Type
Description

getLibraryVersion(Class<?> libraryClass)

  public 
  
 static 
  
 String 
  
 getLibraryVersion 
 ( 
 Class 
< ? 
>  
 libraryClass 
 ) 
 

Returns the version of the library that the libraryClass belongs to

Parameter
Name
Description
libraryClass
Class < ? >
Returns
Type
Description

getLibraryVersion(Class<?> libraryClass, String propertyName)

  public 
  
 static 
  
 String 
  
 getLibraryVersion 
 ( 
 Class 
< ? 
>  
 libraryClass 
 , 
  
 String 
  
 propertyName 
 ) 
 

Returns the version of the library that the libraryClass belongs to, or a property value in dependencies.properties resource file instead, if the version was not found. The method is doing I/O operations and is potentially inefficient, the values returned by this method are expected to be cached.

Parameters
Name
Description
libraryClass
Class < ? >
propertyName
Returns
Type
Description

getProtobufVersion()

  public 
  
 static 
  
 String 
  
 getProtobufVersion 
 () 
 

Returns the current version of protobuf runtime library.

Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: