Class XdsClient.ResourceMetadata

java.lang.Object
io.grpc.xds.client.XdsClient.ResourceMetadata
Enclosing class:
XdsClient

public static final class XdsClient.ResourceMetadata extends Object
The metadata of the xDS resource; used by the xDS config dump.
  • Method Details

    • newResourceMetadataAcked

      public static XdsClient.ResourceMetadata newResourceMetadataAcked(com.google.protobuf.Any rawResource, String version, long updateTimeNanos)
    • getVersion

      public String getVersion()
      The last successfully updated version of the resource.
    • getStatus

      The client status of this resource.
    • getUpdateTimeNanos

      public long getUpdateTimeNanos()
      The timestamp when the resource was last successfully updated.
    • getRawResource

      @Nullable public com.google.protobuf.Any getRawResource()
      The last successfully updated xDS resource as it was returned by the server.
    • getErrorState

      The metadata capturing the error details of the last rejected update of the resource.