shade.polaris.io.grpc.lookup.v1.RouteLookupResponseOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polaris-all Show documentation
Show all versions of polaris-all Show documentation
All in one project for polaris-java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/lookup/v1/rls.proto
package io.grpc.lookup.v1;
public interface RouteLookupResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:grpc.lookup.v1.RouteLookupResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* 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;
* @return A list containing the targets.
*/
java.util.List
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;
* @return The count of targets.
*/
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;
* @param index The index of the element to return.
* @return The targets at the given index.
*/
java.lang.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;
* @param index The index of the value to return.
* @return The bytes of the targets at the given index.
*/
com.google.protobuf.ByteString
getTargetsBytes(int index);
/**
*
* 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;
* @return The headerData.
*/
java.lang.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;
* @return The bytes for headerData.
*/
com.google.protobuf.ByteString
getHeaderDataBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy