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 TypeMethodDescriptionAn optional configuration for on-demand cluster discovery service.An optional configuration for 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.booleanAn optional configuration for 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()An optional configuration for on-demand cluster discovery service. If not specified, the on-demand cluster discovery will be disabled. When it's specified, the filter will pause a request to an unknown cluster and will begin a cluster discovery process. When the discovery is finished (successfully or not), the request will be resumed.
.envoy.config.core.v3.ConfigSource odcds_config = 1;- Returns:
- Whether the odcdsConfig field is set.
-
getOdcdsConfig
ConfigSource getOdcdsConfig()An optional configuration for on-demand cluster discovery service. If not specified, the on-demand cluster discovery will be disabled. When it's specified, the filter will pause a request to an unknown cluster and will begin a cluster discovery process. When the discovery is finished (successfully or not), the request will be resumed.
.envoy.config.core.v3.ConfigSource odcds_config = 1;- Returns:
- The odcdsConfig.
-
getOdcdsConfigOrBuilder
ConfigSourceOrBuilder getOdcdsConfigOrBuilder()An optional configuration for on-demand cluster discovery service. If not specified, the on-demand cluster discovery will be disabled. When it's specified, the filter will pause a request to an unknown cluster and will begin a cluster discovery process. When the discovery is finished (successfully or not), the request will be 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;
-