Class XGoogSpannerRequestId

java.lang.Object
com.google.cloud.spanner.XGoogSpannerRequestId

@InternalApi public class XGoogSpannerRequestId extends Object
  • Field Details

    • REQUEST_HEADER_KEY

      public static final io.grpc.Metadata.Key<String> REQUEST_HEADER_KEY
  • Method Details

    • of

      public static XGoogSpannerRequestId of(long nthClientId, long nthChannelId, long nthRequest, long attempt)
    • of

      public static XGoogSpannerRequestId of(String s)
    • toString

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

      public String debugToString()
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • incrementAttempt

      public void incrementAttempt()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • setChannelId

      public void setChannelId(long channelId)