Interface OnDemandCdsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OnDemandCds,OnDemandCds.Builder
public interface OnDemandCdsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetResourcesLocator()xdstp:// resource locator for on-demand cluster collection.com.google.protobuf.ByteStringgetResourcesLocatorBytes()xdstp:// resource locator for on-demand cluster collection.ConfigSourcegetSource()A configuration source for the service that will be used for on-demand cluster discovery.ConfigSourceOrBuildergetSourceOrBuilder()A configuration source for the service that will be used for on-demand cluster discovery.com.google.protobuf.DurationgetTimeout()The timeout for on demand cluster lookup.com.google.protobuf.DurationOrBuildergetTimeoutOrBuilder()The timeout for on demand cluster lookup.booleanhasSource()A configuration source for the service that will be used for on-demand cluster discovery.booleanhasTimeout()The timeout for on demand cluster lookup.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSource
boolean hasSource()
A configuration source for the service that will be used for on-demand cluster discovery.
.envoy.config.core.v3.ConfigSource source = 1 [(.validate.rules) = { ... }- Returns:
- Whether the source field is set.
-
getSource
ConfigSource getSource()
A configuration source for the service that will be used for on-demand cluster discovery.
.envoy.config.core.v3.ConfigSource source = 1 [(.validate.rules) = { ... }- Returns:
- The source.
-
getSourceOrBuilder
ConfigSourceOrBuilder getSourceOrBuilder()
A configuration source for the service that will be used for on-demand cluster discovery.
.envoy.config.core.v3.ConfigSource source = 1 [(.validate.rules) = { ... }
-
getResourcesLocator
String getResourcesLocator()
xdstp:// resource locator for on-demand cluster collection.
string resources_locator = 2;- Returns:
- The resourcesLocator.
-
getResourcesLocatorBytes
com.google.protobuf.ByteString getResourcesLocatorBytes()
xdstp:// resource locator for on-demand cluster collection.
string resources_locator = 2;- Returns:
- The bytes for resourcesLocator.
-
hasTimeout
boolean hasTimeout()
The timeout for on demand cluster lookup. If not set, defaults to 5 seconds.
.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 not set, defaults to 5 seconds.
.google.protobuf.Duration timeout = 3;- Returns:
- The timeout.
-
getTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
The timeout for on demand cluster lookup. If not set, defaults to 5 seconds.
.google.protobuf.Duration timeout = 3;
-
-