Interface ResourceLocator.DirectiveOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ResourceLocator getAlt()
      An alternative resource locator for fallback if the resource is unavailable.
      ResourceLocatorOrBuilder getAltOrBuilder()
      An alternative resource locator for fallback if the resource is unavailable.
      ResourceLocator.Directive.DirectiveCase getDirectiveCase()  
      java.lang.String getEntry()
      List collections support inlining of resources via the entry field in Resource.
      com.google.protobuf.ByteString getEntryBytes()
      List collections support inlining of resources via the entry field in Resource.
      boolean hasAlt()
      An alternative resource locator for fallback if the resource is unavailable.
      boolean hasEntry()
      List collections support inlining of resources via the entry field in Resource.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasAlt

        boolean hasAlt()
         An alternative resource locator for fallback if the resource is
         unavailable. For example, take the resource locator:
        
         xdstp://foo/some-type/some-route-table#alt=xdstp://bar/some-type/another-route-table
        
         If the data-plane load balancer is unable to reach `foo` to fetch the
         resource, it will fallback to `bar`. Alternative resources do not need
         to have equivalent content, but they should be functional substitutes.
         
        .xds.core.v3.ResourceLocator alt = 1;
        Returns:
        Whether the alt field is set.
      • getAlt

        ResourceLocator getAlt()
         An alternative resource locator for fallback if the resource is
         unavailable. For example, take the resource locator:
        
         xdstp://foo/some-type/some-route-table#alt=xdstp://bar/some-type/another-route-table
        
         If the data-plane load balancer is unable to reach `foo` to fetch the
         resource, it will fallback to `bar`. Alternative resources do not need
         to have equivalent content, but they should be functional substitutes.
         
        .xds.core.v3.ResourceLocator alt = 1;
        Returns:
        The alt.
      • getAltOrBuilder

        ResourceLocatorOrBuilder getAltOrBuilder()
         An alternative resource locator for fallback if the resource is
         unavailable. For example, take the resource locator:
        
         xdstp://foo/some-type/some-route-table#alt=xdstp://bar/some-type/another-route-table
        
         If the data-plane load balancer is unable to reach `foo` to fetch the
         resource, it will fallback to `bar`. Alternative resources do not need
         to have equivalent content, but they should be functional substitutes.
         
        .xds.core.v3.ResourceLocator alt = 1;
      • hasEntry

        boolean hasEntry()
         List collections support inlining of resources via the entry field in
         Resource. These inlined Resource objects may have an optional name
         field specified. When specified, the entry directive allows
         ResourceLocator to directly reference these inlined resources, e.g.
         xdstp://.../foo#entry=bar.
         
        string entry = 2 [(.validate.rules) = { ... }
        Returns:
        Whether the entry field is set.
      • getEntry

        java.lang.String getEntry()
         List collections support inlining of resources via the entry field in
         Resource. These inlined Resource objects may have an optional name
         field specified. When specified, the entry directive allows
         ResourceLocator to directly reference these inlined resources, e.g.
         xdstp://.../foo#entry=bar.
         
        string entry = 2 [(.validate.rules) = { ... }
        Returns:
        The entry.
      • getEntryBytes

        com.google.protobuf.ByteString getEntryBytes()
         List collections support inlining of resources via the entry field in
         Resource. These inlined Resource objects may have an optional name
         field specified. When specified, the entry directive allows
         ResourceLocator to directly reference these inlined resources, e.g.
         xdstp://.../foo#entry=bar.
         
        string entry = 2 [(.validate.rules) = { ... }
        Returns:
        The bytes for entry.