Package com.google.api.gax.core
Class GaxProperties
java.lang.Object
com.google.api.gax.core.GaxProperties
Provides properties of the GAX library.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the current version of GAX.static StringReturns the version of the running JVMstatic StringgetLibraryVersion(Class<?> libraryClass) Returns the version of the library that thelibraryClassbelongs tostatic StringgetLibraryVersion(Class<?> libraryClass, String propertyName) Returns the version of the library that thelibraryClassbelongs to, or a property value in dependencies.properties resource file instead, if the version was not found.static StringReturns the current version of protobuf runtime library.
-
Method Details
-
getLibraryVersion
Returns the version of the library that thelibraryClassbelongs to -
getLibraryVersion
Returns the version of the library that thelibraryClassbelongs 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. -
getJavaVersion
Returns the version of the running JVM -
getGaxVersion
Returns the current version of GAX. -
getProtobufVersion
Returns the current version of protobuf runtime library.
-