Interface RouteLookupResponseOrBuilder

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

@Generated public interface RouteLookupResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional header value to pass along to AFE in the X-Google-RLS-Data header.
    com.google.protobuf.ByteString
    Optional header value to pass along to AFE in the X-Google-RLS-Data header.
    getTargets(int index)
    Prioritized list (best one first) of addressable entities to use for routing, using syntax requested by the request target_type.
    com.google.protobuf.ByteString
    getTargetsBytes(int index)
    Prioritized list (best one first) of addressable entities to use for routing, using syntax requested by the request target_type.
    int
    Prioritized list (best one first) of addressable entities to use for routing, using syntax requested by the request target_type.
    Prioritized list (best one first) of addressable entities to use for routing, using syntax requested by the request target_type.

    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 Details

    • getTargetsList

      List<String> getTargetsList()
      Prioritized list (best one first) of addressable entities to use
      for routing, using syntax requested by the request target_type.
      The targets will be tried in order until a healthy one is found.
      
      repeated string targets = 3;
      Returns:
      A list containing the targets.
    • getTargetsCount

      int getTargetsCount()
      Prioritized list (best one first) of addressable entities to use
      for routing, using syntax requested by the request target_type.
      The targets will be tried in order until a healthy one is found.
      
      repeated string targets = 3;
      Returns:
      The count of targets.
    • getTargets

      String getTargets(int index)
      Prioritized list (best one first) of addressable entities to use
      for routing, using syntax requested by the request target_type.
      The targets will be tried in order until a healthy one is found.
      
      repeated string targets = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The targets at the given index.
    • getTargetsBytes

      com.google.protobuf.ByteString getTargetsBytes(int index)
      Prioritized list (best one first) of addressable entities to use
      for routing, using syntax requested by the request target_type.
      The targets will be tried in order until a healthy one is found.
      
      repeated string targets = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the targets at the given index.
    • getHeaderData

      String getHeaderData()
      Optional header value to pass along to AFE in the X-Google-RLS-Data header.
      Cached with "target" and sent with all requests that match the request key.
      Allows the RLS to pass its work product to the eventual target.
      
      string header_data = 2;
      Returns:
      The headerData.
    • getHeaderDataBytes

      com.google.protobuf.ByteString getHeaderDataBytes()
      Optional header value to pass along to AFE in the X-Google-RLS-Data header.
      Cached with "target" and sent with all requests that match the request key.
      Allows the RLS to pass its work product to the eventual target.
      
      string header_data = 2;
      Returns:
      The bytes for headerData.