Interface TcpProxy.OnDemandOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TcpProxy.OnDemand,TcpProxy.OnDemand.Builder
- Enclosing class:
- TcpProxy
public static interface TcpProxy.OnDemandOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional configuration for the on-demand cluster discovery service.Optional configuration for the on-demand cluster discovery service.xdstp:// resource locator for on-demand cluster collection.com.google.protobuf.ByteStringxdstp:// resource locator for on-demand cluster collection.com.google.protobuf.DurationThe timeout for on-demand cluster lookup.com.google.protobuf.DurationOrBuilderThe timeout for on-demand cluster lookup.booleanOptional configuration for the on-demand cluster discovery service.booleanThe timeout for on-demand cluster lookup.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasOdcdsConfig
boolean hasOdcdsConfig()Optional configuration for the on-demand cluster discovery service. If not specified, on-demand cluster discovery is disabled. When specified, the filter pauses a request to an unknown cluster and begins a cluster discovery process. When discovery completes (successfully or not), the request is resumed.
.envoy.config.core.v3.ConfigSource odcds_config = 1;- Returns:
- Whether the odcdsConfig field is set.
-
getOdcdsConfig
ConfigSource getOdcdsConfig()Optional configuration for the on-demand cluster discovery service. If not specified, on-demand cluster discovery is disabled. When specified, the filter pauses a request to an unknown cluster and begins a cluster discovery process. When discovery completes (successfully or not), the request is resumed.
.envoy.config.core.v3.ConfigSource odcds_config = 1;- Returns:
- The odcdsConfig.
-
getOdcdsConfigOrBuilder
ConfigSourceOrBuilder getOdcdsConfigOrBuilder()Optional configuration for the on-demand cluster discovery service. If not specified, on-demand cluster discovery is disabled. When specified, the filter pauses a request to an unknown cluster and begins a cluster discovery process. When discovery completes (successfully or not), the request is resumed.
.envoy.config.core.v3.ConfigSource odcds_config = 1; -
getResourcesLocator
String getResourcesLocator()xdstp:// resource locator for on-demand cluster collection. [#not-implemented-hide:]
string resources_locator = 2;- Returns:
- The resourcesLocator.
-
getResourcesLocatorBytes
com.google.protobuf.ByteString getResourcesLocatorBytes()xdstp:// resource locator for on-demand cluster collection. [#not-implemented-hide:]
string resources_locator = 2;- Returns:
- The bytes for resourcesLocator.
-
hasTimeout
boolean hasTimeout()The timeout for on-demand cluster lookup. If the CDS cannot return the required cluster, the downstream request will be closed with the error code detail NO_CLUSTER_FOUND. [#not-implemented-hide:]
.google.protobuf.Duration timeout = 3;- Returns:
- Whether the timeout field is set.
-
getTimeout
com.google.protobuf.Duration getTimeout()The timeout for on-demand cluster lookup. If the CDS cannot return the required cluster, the downstream request will be closed with the error code detail NO_CLUSTER_FOUND. [#not-implemented-hide:]
.google.protobuf.Duration timeout = 3;- Returns:
- The timeout.
-
getTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()The timeout for on-demand cluster lookup. If the CDS cannot return the required cluster, the downstream request will be closed with the error code detail NO_CLUSTER_FOUND. [#not-implemented-hide:]
.google.protobuf.Duration timeout = 3;
-