Class ProjectNumber

java.lang.Object
com.google.cloud.pubsublite.ProjectNumber
All Implemented Interfaces:
Serializable

public abstract class ProjectNumber extends Object implements Serializable
A wrapper class for the project number.
See Also:
  • Constructor Details

    • ProjectNumber

      public ProjectNumber()
  • Method Details

    • value

      public abstract long value()
      The long value of this project number.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • of

      public static ProjectNumber of(long value) throws com.google.api.gax.rpc.ApiException
      Construct a ProjectNumber from its long value.
      Throws:
      com.google.api.gax.rpc.ApiException