Interface ResourceLocatorOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ResourceLocator, ResourceLocator.Builder

    public interface ResourceLocatorOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getSchemeValue

        int getSchemeValue()
         URI scheme.
         
        .xds.core.v3.ResourceLocator.Scheme scheme = 1 [(.validate.rules) = { ... }
        Returns:
        The enum numeric value on the wire for scheme.
      • getScheme

        ResourceLocator.Scheme getScheme()
         URI scheme.
         
        .xds.core.v3.ResourceLocator.Scheme scheme = 1 [(.validate.rules) = { ... }
        Returns:
        The scheme.
      • getId

        java.lang.String getId()
         Opaque identifier for the resource. Any '/' will not be escaped during URI
         encoding and will form part of the URI path. This may end
         with ‘*’ for glob collection references.
         
        string id = 2;
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
         Opaque identifier for the resource. Any '/' will not be escaped during URI
         encoding and will form part of the URI path. This may end
         with ‘*’ for glob collection references.
         
        string id = 2;
        Returns:
        The bytes for id.
      • getAuthority

        java.lang.String getAuthority()
         Logical authority for resource (not necessarily transport network address).
         Authorities are opaque in the xDS API, data-plane load balancers will map
         them to concrete network transports such as an xDS management server, e.g.
         via envoy.config.core.v3.ConfigSource.
         
        string authority = 3;
        Returns:
        The authority.
      • getAuthorityBytes

        com.google.protobuf.ByteString getAuthorityBytes()
         Logical authority for resource (not necessarily transport network address).
         Authorities are opaque in the xDS API, data-plane load balancers will map
         them to concrete network transports such as an xDS management server, e.g.
         via envoy.config.core.v3.ConfigSource.
         
        string authority = 3;
        Returns:
        The bytes for authority.
      • getResourceType

        java.lang.String getResourceType()
         Fully qualified resource type (as in type URL without types.googleapis.com/
         prefix).
         
        string resource_type = 4 [(.validate.rules) = { ... }
        Returns:
        The resourceType.
      • getResourceTypeBytes

        com.google.protobuf.ByteString getResourceTypeBytes()
         Fully qualified resource type (as in type URL without types.googleapis.com/
         prefix).
         
        string resource_type = 4 [(.validate.rules) = { ... }
        Returns:
        The bytes for resourceType.
      • hasExactContext

        boolean hasExactContext()
         Additional parameters that can be used to select resource variants.
         Matches must be exact, i.e. all context parameters must match exactly and
         there must be no additional context parameters set on the matched
         resource.
         
        .xds.core.v3.ContextParams exact_context = 5;
        Returns:
        Whether the exactContext field is set.
      • getExactContext

        ContextParams getExactContext()
         Additional parameters that can be used to select resource variants.
         Matches must be exact, i.e. all context parameters must match exactly and
         there must be no additional context parameters set on the matched
         resource.
         
        .xds.core.v3.ContextParams exact_context = 5;
        Returns:
        The exactContext.
      • getExactContextOrBuilder

        ContextParamsOrBuilder getExactContextOrBuilder()
         Additional parameters that can be used to select resource variants.
         Matches must be exact, i.e. all context parameters must match exactly and
         there must be no additional context parameters set on the matched
         resource.
         
        .xds.core.v3.ContextParams exact_context = 5;
      • getDirectivesList

        java.util.List<ResourceLocator.Directive> getDirectivesList()
         A list of directives that appear in the xDS resource locator #fragment.
        
         When encoding to URI form, directives are percent encoded with comma
         separation.
         
        repeated .xds.core.v3.ResourceLocator.Directive directives = 6;
      • getDirectives

        ResourceLocator.Directive getDirectives​(int index)
         A list of directives that appear in the xDS resource locator #fragment.
        
         When encoding to URI form, directives are percent encoded with comma
         separation.
         
        repeated .xds.core.v3.ResourceLocator.Directive directives = 6;
      • getDirectivesCount

        int getDirectivesCount()
         A list of directives that appear in the xDS resource locator #fragment.
        
         When encoding to URI form, directives are percent encoded with comma
         separation.
         
        repeated .xds.core.v3.ResourceLocator.Directive directives = 6;
      • getDirectivesOrBuilderList

        java.util.List<? extends ResourceLocator.DirectiveOrBuilder> getDirectivesOrBuilderList()
         A list of directives that appear in the xDS resource locator #fragment.
        
         When encoding to URI form, directives are percent encoded with comma
         separation.
         
        repeated .xds.core.v3.ResourceLocator.Directive directives = 6;
      • getDirectivesOrBuilder

        ResourceLocator.DirectiveOrBuilder getDirectivesOrBuilder​(int index)
         A list of directives that appear in the xDS resource locator #fragment.
        
         When encoding to URI form, directives are percent encoded with comma
         separation.
         
        repeated .xds.core.v3.ResourceLocator.Directive directives = 6;