All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shade.polaris.io.grpc.lookup.v1.RouteLookupConfigOrBuilder Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: grpc/lookup/v1/rls_config.proto

package io.grpc.lookup.v1;

public interface RouteLookupConfigOrBuilder extends
    // @@protoc_insertion_point(interface_extends:grpc.lookup.v1.RouteLookupConfig)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Ordered specifications for constructing keys for HTTP requests.  Last
   * match wins.  If no HttpKeyBuilder matches, an empty key_map will be sent to
   * the lookup service; it should likely reply with a global default route
   * and raise an alert.
   * 
* * repeated .grpc.lookup.v1.HttpKeyBuilder http_keybuilders = 1; */ java.util.List getHttpKeybuildersList(); /** *
   * Ordered specifications for constructing keys for HTTP requests.  Last
   * match wins.  If no HttpKeyBuilder matches, an empty key_map will be sent to
   * the lookup service; it should likely reply with a global default route
   * and raise an alert.
   * 
* * repeated .grpc.lookup.v1.HttpKeyBuilder http_keybuilders = 1; */ io.grpc.lookup.v1.HttpKeyBuilder getHttpKeybuilders(int index); /** *
   * Ordered specifications for constructing keys for HTTP requests.  Last
   * match wins.  If no HttpKeyBuilder matches, an empty key_map will be sent to
   * the lookup service; it should likely reply with a global default route
   * and raise an alert.
   * 
* * repeated .grpc.lookup.v1.HttpKeyBuilder http_keybuilders = 1; */ int getHttpKeybuildersCount(); /** *
   * Ordered specifications for constructing keys for HTTP requests.  Last
   * match wins.  If no HttpKeyBuilder matches, an empty key_map will be sent to
   * the lookup service; it should likely reply with a global default route
   * and raise an alert.
   * 
* * repeated .grpc.lookup.v1.HttpKeyBuilder http_keybuilders = 1; */ java.util.List getHttpKeybuildersOrBuilderList(); /** *
   * Ordered specifications for constructing keys for HTTP requests.  Last
   * match wins.  If no HttpKeyBuilder matches, an empty key_map will be sent to
   * the lookup service; it should likely reply with a global default route
   * and raise an alert.
   * 
* * repeated .grpc.lookup.v1.HttpKeyBuilder http_keybuilders = 1; */ io.grpc.lookup.v1.HttpKeyBuilderOrBuilder getHttpKeybuildersOrBuilder( int index); /** *
   * Unordered specifications for constructing keys for gRPC requests.  All
   * GrpcKeyBuilders on this list must have unique "name" fields so that the
   * client is free to prebuild a hash map keyed by name.  If no GrpcKeyBuilder
   * matches, an empty key_map will be sent to the lookup service; it should
   * likely reply with a global default route and raise an alert.
   * 
* * repeated .grpc.lookup.v1.GrpcKeyBuilder grpc_keybuilders = 2; */ java.util.List getGrpcKeybuildersList(); /** *
   * Unordered specifications for constructing keys for gRPC requests.  All
   * GrpcKeyBuilders on this list must have unique "name" fields so that the
   * client is free to prebuild a hash map keyed by name.  If no GrpcKeyBuilder
   * matches, an empty key_map will be sent to the lookup service; it should
   * likely reply with a global default route and raise an alert.
   * 
* * repeated .grpc.lookup.v1.GrpcKeyBuilder grpc_keybuilders = 2; */ io.grpc.lookup.v1.GrpcKeyBuilder getGrpcKeybuilders(int index); /** *
   * Unordered specifications for constructing keys for gRPC requests.  All
   * GrpcKeyBuilders on this list must have unique "name" fields so that the
   * client is free to prebuild a hash map keyed by name.  If no GrpcKeyBuilder
   * matches, an empty key_map will be sent to the lookup service; it should
   * likely reply with a global default route and raise an alert.
   * 
* * repeated .grpc.lookup.v1.GrpcKeyBuilder grpc_keybuilders = 2; */ int getGrpcKeybuildersCount(); /** *
   * Unordered specifications for constructing keys for gRPC requests.  All
   * GrpcKeyBuilders on this list must have unique "name" fields so that the
   * client is free to prebuild a hash map keyed by name.  If no GrpcKeyBuilder
   * matches, an empty key_map will be sent to the lookup service; it should
   * likely reply with a global default route and raise an alert.
   * 
* * repeated .grpc.lookup.v1.GrpcKeyBuilder grpc_keybuilders = 2; */ java.util.List getGrpcKeybuildersOrBuilderList(); /** *
   * Unordered specifications for constructing keys for gRPC requests.  All
   * GrpcKeyBuilders on this list must have unique "name" fields so that the
   * client is free to prebuild a hash map keyed by name.  If no GrpcKeyBuilder
   * matches, an empty key_map will be sent to the lookup service; it should
   * likely reply with a global default route and raise an alert.
   * 
* * repeated .grpc.lookup.v1.GrpcKeyBuilder grpc_keybuilders = 2; */ io.grpc.lookup.v1.GrpcKeyBuilderOrBuilder getGrpcKeybuildersOrBuilder( int index); /** *
   * The name of the lookup service as a gRPC URI.  Typically, this will be
   * a subdomain of the target, such as "lookup.datastore.googleapis.com".
   * 
* * string lookup_service = 3; * @return The lookupService. */ java.lang.String getLookupService(); /** *
   * The name of the lookup service as a gRPC URI.  Typically, this will be
   * a subdomain of the target, such as "lookup.datastore.googleapis.com".
   * 
* * string lookup_service = 3; * @return The bytes for lookupService. */ com.google.protobuf.ByteString getLookupServiceBytes(); /** *
   * Configure a timeout value for lookup service requests.
   * Defaults to 10 seconds if not specified.
   * 
* * .google.protobuf.Duration lookup_service_timeout = 4; * @return Whether the lookupServiceTimeout field is set. */ boolean hasLookupServiceTimeout(); /** *
   * Configure a timeout value for lookup service requests.
   * Defaults to 10 seconds if not specified.
   * 
* * .google.protobuf.Duration lookup_service_timeout = 4; * @return The lookupServiceTimeout. */ com.google.protobuf.Duration getLookupServiceTimeout(); /** *
   * Configure a timeout value for lookup service requests.
   * Defaults to 10 seconds if not specified.
   * 
* * .google.protobuf.Duration lookup_service_timeout = 4; */ com.google.protobuf.DurationOrBuilder getLookupServiceTimeoutOrBuilder(); /** *
   * How long are responses valid for (like HTTP Cache-Control).
   * If omitted or zero, the longest valid cache time is used.
   * This value is clamped to 5 minutes to avoid unflushable bad responses.
   * 
* * .google.protobuf.Duration max_age = 5; * @return Whether the maxAge field is set. */ boolean hasMaxAge(); /** *
   * How long are responses valid for (like HTTP Cache-Control).
   * If omitted or zero, the longest valid cache time is used.
   * This value is clamped to 5 minutes to avoid unflushable bad responses.
   * 
* * .google.protobuf.Duration max_age = 5; * @return The maxAge. */ com.google.protobuf.Duration getMaxAge(); /** *
   * How long are responses valid for (like HTTP Cache-Control).
   * If omitted or zero, the longest valid cache time is used.
   * This value is clamped to 5 minutes to avoid unflushable bad responses.
   * 
* * .google.protobuf.Duration max_age = 5; */ com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder(); /** *
   * After a response has been in the client cache for this amount of time
   * and is re-requested, start an asynchronous RPC to re-validate it.
   * This value should be less than max_age by at least the length of a
   * typical RTT to the Route Lookup Service to fully mask the RTT latency.
   * If omitted, keys are only re-requested after they have expired.
   * 
* * .google.protobuf.Duration stale_age = 6; * @return Whether the staleAge field is set. */ boolean hasStaleAge(); /** *
   * After a response has been in the client cache for this amount of time
   * and is re-requested, start an asynchronous RPC to re-validate it.
   * This value should be less than max_age by at least the length of a
   * typical RTT to the Route Lookup Service to fully mask the RTT latency.
   * If omitted, keys are only re-requested after they have expired.
   * 
* * .google.protobuf.Duration stale_age = 6; * @return The staleAge. */ com.google.protobuf.Duration getStaleAge(); /** *
   * After a response has been in the client cache for this amount of time
   * and is re-requested, start an asynchronous RPC to re-validate it.
   * This value should be less than max_age by at least the length of a
   * typical RTT to the Route Lookup Service to fully mask the RTT latency.
   * If omitted, keys are only re-requested after they have expired.
   * 
* * .google.protobuf.Duration stale_age = 6; */ com.google.protobuf.DurationOrBuilder getStaleAgeOrBuilder(); /** *
   * Rough indicator of amount of memory to use for the client cache.  Some of
   * the data structure overhead is not accounted for, so actual memory consumed
   * will be somewhat greater than this value.  If this field is omitted or set
   * to zero, a client default will be used.  The value may be capped to a lower
   * amount based on client configuration.
   * 
* * int64 cache_size_bytes = 7; * @return The cacheSizeBytes. */ long getCacheSizeBytes(); /** *
   * This is a list of all the possible targets that can be returned by the
   * lookup service.  If a target not on this list is returned, it will be
   * treated the same as an unhealthy target.
   * 
* * repeated string valid_targets = 8; * @return A list containing the validTargets. */ java.util.List getValidTargetsList(); /** *
   * This is a list of all the possible targets that can be returned by the
   * lookup service.  If a target not on this list is returned, it will be
   * treated the same as an unhealthy target.
   * 
* * repeated string valid_targets = 8; * @return The count of validTargets. */ int getValidTargetsCount(); /** *
   * This is a list of all the possible targets that can be returned by the
   * lookup service.  If a target not on this list is returned, it will be
   * treated the same as an unhealthy target.
   * 
* * repeated string valid_targets = 8; * @param index The index of the element to return. * @return The validTargets at the given index. */ java.lang.String getValidTargets(int index); /** *
   * This is a list of all the possible targets that can be returned by the
   * lookup service.  If a target not on this list is returned, it will be
   * treated the same as an unhealthy target.
   * 
* * repeated string valid_targets = 8; * @param index The index of the value to return. * @return The bytes of the validTargets at the given index. */ com.google.protobuf.ByteString getValidTargetsBytes(int index); /** *
   * This value provides a default target to use if needed.  If set, it will be
   * used if RLS returns an error, times out, or returns an invalid response.
   * Note that requests can be routed only to a subdomain of the original
   * target, e.g. "us_east_1.cloudbigtable.googleapis.com".
   * 
* * string default_target = 9; * @return The defaultTarget. */ java.lang.String getDefaultTarget(); /** *
   * This value provides a default target to use if needed.  If set, it will be
   * used if RLS returns an error, times out, or returns an invalid response.
   * Note that requests can be routed only to a subdomain of the original
   * target, e.g. "us_east_1.cloudbigtable.googleapis.com".
   * 
* * string default_target = 9; * @return The bytes for defaultTarget. */ com.google.protobuf.ByteString getDefaultTargetBytes(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy