Interface XdsResource

All Known Implementing Classes:
ClusterXdsResource, EndpointXdsResource, ListenerXdsResource, RouteXdsResource

@UnstableApi public interface XdsResource
An object for xDS resources. This is a holder object which is contained by Snapshot to:
  • Provide additional metadata.
  • Unify unpacking child object logic.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the resource name.
    Returns the resource.
    Returns the xDS type of the object.
  • Method Details

    • type

      XdsType type()
      Returns the xDS type of the object.
    • resource

      Object resource()
      Returns the resource.
    • name

      String name()
      Returns the resource name.