Class ApiConfigSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ApiConfigSource.Builder>
com.google.protobuf.GeneratedMessage.Builder<ApiConfigSource.Builder>
io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ApiConfigSourceOrBuilder
,Cloneable
- Enclosing class:
ApiConfigSource
public static final class ApiConfigSource.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ApiConfigSource.Builder>
implements ApiConfigSourceOrBuilder
API configuration source. This identifies the API type and cluster that Envoy will use to fetch an xDS API. [#next-free-field: 10]Protobuf type
envoy.config.core.v3.ApiConfigSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private int
private com.google.protobuf.LazyStringArrayList
private List
<TypedExtensionConfig> private com.google.protobuf.RepeatedFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> private List
<GrpcService> private com.google.protobuf.RepeatedFieldBuilder
<GrpcService, GrpcService.Builder, GrpcServiceOrBuilder> private RateLimitSettings
private com.google.protobuf.SingleFieldBuilder
<RateLimitSettings, RateLimitSettings.Builder, RateLimitSettingsOrBuilder> private com.google.protobuf.Duration
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> private com.google.protobuf.Duration
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> private boolean
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllClusterNames
(Iterable<String> values) Cluster names should be used only with REST.addAllConfigValidators
(Iterable<? extends TypedExtensionConfig> values) A list of config validators that will be executed when a new update is received from the ApiConfigSource.addAllGrpcServices
(Iterable<? extends GrpcService> values) Multiple gRPC services be provided for GRPC.addClusterNames
(String value) Cluster names should be used only with REST.addClusterNamesBytes
(com.google.protobuf.ByteString value) Cluster names should be used only with REST.addConfigValidators
(int index, TypedExtensionConfig value) A list of config validators that will be executed when a new update is received from the ApiConfigSource.addConfigValidators
(int index, TypedExtensionConfig.Builder builderForValue) A list of config validators that will be executed when a new update is received from the ApiConfigSource.A list of config validators that will be executed when a new update is received from the ApiConfigSource.addConfigValidators
(TypedExtensionConfig.Builder builderForValue) A list of config validators that will be executed when a new update is received from the ApiConfigSource.A list of config validators that will be executed when a new update is received from the ApiConfigSource.addConfigValidatorsBuilder
(int index) A list of config validators that will be executed when a new update is received from the ApiConfigSource.addGrpcServices
(int index, GrpcService value) Multiple gRPC services be provided for GRPC.addGrpcServices
(int index, GrpcService.Builder builderForValue) Multiple gRPC services be provided for GRPC.addGrpcServices
(GrpcService value) Multiple gRPC services be provided for GRPC.addGrpcServices
(GrpcService.Builder builderForValue) Multiple gRPC services be provided for GRPC.Multiple gRPC services be provided for GRPC.addGrpcServicesBuilder
(int index) Multiple gRPC services be provided for GRPC.build()
private void
buildPartial0
(ApiConfigSource result) private void
clear()
API type (gRPC, REST, delta gRPC)Cluster names should be used only with REST.A list of config validators that will be executed when a new update is received from the ApiConfigSource.Multiple gRPC services be provided for GRPC.For GRPC APIs, the rate limit settings.For REST APIs, the delay between successive polls.For REST APIs, the request timeout.Skip the node identifier in subsequent discovery requests for streaming gRPC config types.API version for xDS transport protocol.private void
private void
private void
API type (gRPC, REST, delta gRPC)int
API type (gRPC, REST, delta gRPC)getClusterNames
(int index) Cluster names should be used only with REST.com.google.protobuf.ByteString
getClusterNamesBytes
(int index) Cluster names should be used only with REST.int
Cluster names should be used only with REST.com.google.protobuf.ProtocolStringList
Cluster names should be used only with REST.getConfigValidators
(int index) A list of config validators that will be executed when a new update is received from the ApiConfigSource.getConfigValidatorsBuilder
(int index) A list of config validators that will be executed when a new update is received from the ApiConfigSource.A list of config validators that will be executed when a new update is received from the ApiConfigSource.int
A list of config validators that will be executed when a new update is received from the ApiConfigSource.A list of config validators that will be executed when a new update is received from the ApiConfigSource.getConfigValidatorsOrBuilder
(int index) A list of config validators that will be executed when a new update is received from the ApiConfigSource.List
<? extends TypedExtensionConfigOrBuilder> A list of config validators that will be executed when a new update is received from the ApiConfigSource.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getGrpcServices
(int index) Multiple gRPC services be provided for GRPC.getGrpcServicesBuilder
(int index) Multiple gRPC services be provided for GRPC.Multiple gRPC services be provided for GRPC.int
Multiple gRPC services be provided for GRPC.Multiple gRPC services be provided for GRPC.getGrpcServicesOrBuilder
(int index) Multiple gRPC services be provided for GRPC.List
<? extends GrpcServiceOrBuilder> Multiple gRPC services be provided for GRPC.For GRPC APIs, the rate limit settings.For GRPC APIs, the rate limit settings.For GRPC APIs, the rate limit settings.com.google.protobuf.Duration
For REST APIs, the delay between successive polls.com.google.protobuf.Duration.Builder
For REST APIs, the delay between successive polls.com.google.protobuf.DurationOrBuilder
For REST APIs, the delay between successive polls.com.google.protobuf.Duration
For REST APIs, the request timeout.com.google.protobuf.Duration.Builder
For REST APIs, the request timeout.com.google.protobuf.DurationOrBuilder
For REST APIs, the request timeout.boolean
Skip the node identifier in subsequent discovery requests for streaming gRPC config types.API version for xDS transport protocol.int
API version for xDS transport protocol.boolean
For GRPC APIs, the rate limit settings.boolean
For REST APIs, the delay between successive polls.boolean
For REST APIs, the request timeout.private com.google.protobuf.RepeatedFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
private com.google.protobuf.RepeatedFieldBuilder
<GrpcService, GrpcService.Builder, GrpcServiceOrBuilder> private com.google.protobuf.SingleFieldBuilder
<RateLimitSettings, RateLimitSettings.Builder, RateLimitSettingsOrBuilder> For GRPC APIs, the rate limit settings.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> For REST APIs, the delay between successive polls.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> For REST APIs, the request timeout.final boolean
private void
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(ApiConfigSource other) For GRPC APIs, the rate limit settings.mergeRefreshDelay
(com.google.protobuf.Duration value) For REST APIs, the delay between successive polls.mergeRequestTimeout
(com.google.protobuf.Duration value) For REST APIs, the request timeout.removeConfigValidators
(int index) A list of config validators that will be executed when a new update is received from the ApiConfigSource.removeGrpcServices
(int index) Multiple gRPC services be provided for GRPC.API type (gRPC, REST, delta gRPC)setApiTypeValue
(int value) API type (gRPC, REST, delta gRPC)setClusterNames
(int index, String value) Cluster names should be used only with REST.setConfigValidators
(int index, TypedExtensionConfig value) A list of config validators that will be executed when a new update is received from the ApiConfigSource.setConfigValidators
(int index, TypedExtensionConfig.Builder builderForValue) A list of config validators that will be executed when a new update is received from the ApiConfigSource.setGrpcServices
(int index, GrpcService value) Multiple gRPC services be provided for GRPC.setGrpcServices
(int index, GrpcService.Builder builderForValue) Multiple gRPC services be provided for GRPC.For GRPC APIs, the rate limit settings.setRateLimitSettings
(RateLimitSettings.Builder builderForValue) For GRPC APIs, the rate limit settings.setRefreshDelay
(com.google.protobuf.Duration value) For REST APIs, the delay between successive polls.setRefreshDelay
(com.google.protobuf.Duration.Builder builderForValue) For REST APIs, the delay between successive polls.setRequestTimeout
(com.google.protobuf.Duration value) For REST APIs, the request timeout.setRequestTimeout
(com.google.protobuf.Duration.Builder builderForValue) For REST APIs, the request timeout.setSetNodeOnFirstMessageOnly
(boolean value) Skip the node identifier in subsequent discovery requests for streaming gRPC config types.setTransportApiVersion
(ApiVersion value) API version for xDS transport protocol.setTransportApiVersionValue
(int value) API version for xDS transport protocol.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
apiType_
private int apiType_ -
transportApiVersion_
private int transportApiVersion_ -
clusterNames_
private com.google.protobuf.LazyStringArrayList clusterNames_ -
grpcServices_
-
grpcServicesBuilder_
private com.google.protobuf.RepeatedFieldBuilder<GrpcService,GrpcService.Builder, grpcServicesBuilder_GrpcServiceOrBuilder> -
refreshDelay_
private com.google.protobuf.Duration refreshDelay_ -
refreshDelayBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, refreshDelayBuilder_com.google.protobuf.DurationOrBuilder> -
requestTimeout_
private com.google.protobuf.Duration requestTimeout_ -
requestTimeoutBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, requestTimeoutBuilder_com.google.protobuf.DurationOrBuilder> -
rateLimitSettings_
-
rateLimitSettingsBuilder_
private com.google.protobuf.SingleFieldBuilder<RateLimitSettings,RateLimitSettings.Builder, rateLimitSettingsBuilder_RateLimitSettingsOrBuilder> -
setNodeOnFirstMessageOnly_
private boolean setNodeOnFirstMessageOnly_ -
configValidators_
-
configValidatorsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, configValidatorsBuilder_TypedExtensionConfigOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<ApiConfigSource.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<ApiConfigSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<ApiConfigSource.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ApiConfigSource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ApiConfigSource.Builder>
-
mergeFrom
public ApiConfigSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ApiConfigSource.Builder>
- Throws:
IOException
-
getApiTypeValue
public int getApiTypeValue()API type (gRPC, REST, delta gRPC)
.envoy.config.core.v3.ApiConfigSource.ApiType api_type = 1 [(.validate.rules) = { ... }
- Specified by:
getApiTypeValue
in interfaceApiConfigSourceOrBuilder
- Returns:
- The enum numeric value on the wire for apiType.
-
setApiTypeValue
API type (gRPC, REST, delta gRPC)
.envoy.config.core.v3.ApiConfigSource.ApiType api_type = 1 [(.validate.rules) = { ... }
- Parameters:
value
- The enum numeric value on the wire for apiType to set.- Returns:
- This builder for chaining.
-
getApiType
API type (gRPC, REST, delta gRPC)
.envoy.config.core.v3.ApiConfigSource.ApiType api_type = 1 [(.validate.rules) = { ... }
- Specified by:
getApiType
in interfaceApiConfigSourceOrBuilder
- Returns:
- The apiType.
-
setApiType
API type (gRPC, REST, delta gRPC)
.envoy.config.core.v3.ApiConfigSource.ApiType api_type = 1 [(.validate.rules) = { ... }
- Parameters:
value
- The apiType to set.- Returns:
- This builder for chaining.
-
clearApiType
API type (gRPC, REST, delta gRPC)
.envoy.config.core.v3.ApiConfigSource.ApiType api_type = 1 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
getTransportApiVersionValue
public int getTransportApiVersionValue()API version for xDS transport protocol. This describes the xDS gRPC/REST endpoint and version of [Delta]DiscoveryRequest/Response used on the wire.
.envoy.config.core.v3.ApiVersion transport_api_version = 8 [(.validate.rules) = { ... }
- Specified by:
getTransportApiVersionValue
in interfaceApiConfigSourceOrBuilder
- Returns:
- The enum numeric value on the wire for transportApiVersion.
-
setTransportApiVersionValue
API version for xDS transport protocol. This describes the xDS gRPC/REST endpoint and version of [Delta]DiscoveryRequest/Response used on the wire.
.envoy.config.core.v3.ApiVersion transport_api_version = 8 [(.validate.rules) = { ... }
- Parameters:
value
- The enum numeric value on the wire for transportApiVersion to set.- Returns:
- This builder for chaining.
-
getTransportApiVersion
API version for xDS transport protocol. This describes the xDS gRPC/REST endpoint and version of [Delta]DiscoveryRequest/Response used on the wire.
.envoy.config.core.v3.ApiVersion transport_api_version = 8 [(.validate.rules) = { ... }
- Specified by:
getTransportApiVersion
in interfaceApiConfigSourceOrBuilder
- Returns:
- The transportApiVersion.
-
setTransportApiVersion
API version for xDS transport protocol. This describes the xDS gRPC/REST endpoint and version of [Delta]DiscoveryRequest/Response used on the wire.
.envoy.config.core.v3.ApiVersion transport_api_version = 8 [(.validate.rules) = { ... }
- Parameters:
value
- The transportApiVersion to set.- Returns:
- This builder for chaining.
-
clearTransportApiVersion
API version for xDS transport protocol. This describes the xDS gRPC/REST endpoint and version of [Delta]DiscoveryRequest/Response used on the wire.
.envoy.config.core.v3.ApiVersion transport_api_version = 8 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
ensureClusterNamesIsMutable
private void ensureClusterNamesIsMutable() -
getClusterNamesList
public com.google.protobuf.ProtocolStringList getClusterNamesList()Cluster names should be used only with REST. If > 1 cluster is defined, clusters will be cycled through if any kind of failure occurs. .. note:: The cluster with name ``cluster_name`` must be statically defined and its type must not be ``EDS``.
repeated string cluster_names = 2;
- Specified by:
getClusterNamesList
in interfaceApiConfigSourceOrBuilder
- Returns:
- A list containing the clusterNames.
-
getClusterNamesCount
public int getClusterNamesCount()Cluster names should be used only with REST. If > 1 cluster is defined, clusters will be cycled through if any kind of failure occurs. .. note:: The cluster with name ``cluster_name`` must be statically defined and its type must not be ``EDS``.
repeated string cluster_names = 2;
- Specified by:
getClusterNamesCount
in interfaceApiConfigSourceOrBuilder
- Returns:
- The count of clusterNames.
-
getClusterNames
Cluster names should be used only with REST. If > 1 cluster is defined, clusters will be cycled through if any kind of failure occurs. .. note:: The cluster with name ``cluster_name`` must be statically defined and its type must not be ``EDS``.
repeated string cluster_names = 2;
- Specified by:
getClusterNames
in interfaceApiConfigSourceOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The clusterNames at the given index.
-
getClusterNamesBytes
public com.google.protobuf.ByteString getClusterNamesBytes(int index) Cluster names should be used only with REST. If > 1 cluster is defined, clusters will be cycled through if any kind of failure occurs. .. note:: The cluster with name ``cluster_name`` must be statically defined and its type must not be ``EDS``.
repeated string cluster_names = 2;
- Specified by:
getClusterNamesBytes
in interfaceApiConfigSourceOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the clusterNames at the given index.
-
setClusterNames
Cluster names should be used only with REST. If > 1 cluster is defined, clusters will be cycled through if any kind of failure occurs. .. note:: The cluster with name ``cluster_name`` must be statically defined and its type must not be ``EDS``.
repeated string cluster_names = 2;
- Parameters:
index
- The index to set the value at.value
- The clusterNames to set.- Returns:
- This builder for chaining.
-
addClusterNames
Cluster names should be used only with REST. If > 1 cluster is defined, clusters will be cycled through if any kind of failure occurs. .. note:: The cluster with name ``cluster_name`` must be statically defined and its type must not be ``EDS``.
repeated string cluster_names = 2;
- Parameters:
value
- The clusterNames to add.- Returns:
- This builder for chaining.
-
addAllClusterNames
Cluster names should be used only with REST. If > 1 cluster is defined, clusters will be cycled through if any kind of failure occurs. .. note:: The cluster with name ``cluster_name`` must be statically defined and its type must not be ``EDS``.
repeated string cluster_names = 2;
- Parameters:
values
- The clusterNames to add.- Returns:
- This builder for chaining.
-
clearClusterNames
Cluster names should be used only with REST. If > 1 cluster is defined, clusters will be cycled through if any kind of failure occurs. .. note:: The cluster with name ``cluster_name`` must be statically defined and its type must not be ``EDS``.
repeated string cluster_names = 2;
- Returns:
- This builder for chaining.
-
addClusterNamesBytes
Cluster names should be used only with REST. If > 1 cluster is defined, clusters will be cycled through if any kind of failure occurs. .. note:: The cluster with name ``cluster_name`` must be statically defined and its type must not be ``EDS``.
repeated string cluster_names = 2;
- Parameters:
value
- The bytes of the clusterNames to add.- Returns:
- This builder for chaining.
-
ensureGrpcServicesIsMutable
private void ensureGrpcServicesIsMutable() -
getGrpcServicesList
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
- Specified by:
getGrpcServicesList
in interfaceApiConfigSourceOrBuilder
-
getGrpcServicesCount
public int getGrpcServicesCount()Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
- Specified by:
getGrpcServicesCount
in interfaceApiConfigSourceOrBuilder
-
getGrpcServices
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
- Specified by:
getGrpcServices
in interfaceApiConfigSourceOrBuilder
-
setGrpcServices
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
-
setGrpcServices
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
-
addGrpcServices
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
-
addGrpcServices
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
-
addGrpcServices
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
-
addGrpcServices
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
-
addAllGrpcServices
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
-
clearGrpcServices
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
-
removeGrpcServices
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
-
getGrpcServicesBuilder
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
-
getGrpcServicesOrBuilder
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
- Specified by:
getGrpcServicesOrBuilder
in interfaceApiConfigSourceOrBuilder
-
getGrpcServicesOrBuilderList
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
- Specified by:
getGrpcServicesOrBuilderList
in interfaceApiConfigSourceOrBuilder
-
addGrpcServicesBuilder
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
-
addGrpcServicesBuilder
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
-
getGrpcServicesBuilderList
Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, services will be cycled through if any kind of failure occurs.
repeated .envoy.config.core.v3.GrpcService grpc_services = 4;
-
internalGetGrpcServicesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<GrpcService,GrpcService.Builder, internalGetGrpcServicesFieldBuilder()GrpcServiceOrBuilder> -
hasRefreshDelay
public boolean hasRefreshDelay()For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3;
- Specified by:
hasRefreshDelay
in interfaceApiConfigSourceOrBuilder
- Returns:
- Whether the refreshDelay field is set.
-
getRefreshDelay
public com.google.protobuf.Duration getRefreshDelay()For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3;
- Specified by:
getRefreshDelay
in interfaceApiConfigSourceOrBuilder
- Returns:
- The refreshDelay.
-
setRefreshDelay
For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3;
-
setRefreshDelay
public ApiConfigSource.Builder setRefreshDelay(com.google.protobuf.Duration.Builder builderForValue) For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3;
-
mergeRefreshDelay
For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3;
-
clearRefreshDelay
For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3;
-
getRefreshDelayBuilder
public com.google.protobuf.Duration.Builder getRefreshDelayBuilder()For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3;
-
getRefreshDelayOrBuilder
public com.google.protobuf.DurationOrBuilder getRefreshDelayOrBuilder()For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3;
- Specified by:
getRefreshDelayOrBuilder
in interfaceApiConfigSourceOrBuilder
-
internalGetRefreshDelayFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, internalGetRefreshDelayFieldBuilder()com.google.protobuf.DurationOrBuilder> For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3;
-
hasRequestTimeout
public boolean hasRequestTimeout()For REST APIs, the request timeout. If not set, a default value of 1s will be used.
.google.protobuf.Duration request_timeout = 5 [(.validate.rules) = { ... }
- Specified by:
hasRequestTimeout
in interfaceApiConfigSourceOrBuilder
- Returns:
- Whether the requestTimeout field is set.
-
getRequestTimeout
public com.google.protobuf.Duration getRequestTimeout()For REST APIs, the request timeout. If not set, a default value of 1s will be used.
.google.protobuf.Duration request_timeout = 5 [(.validate.rules) = { ... }
- Specified by:
getRequestTimeout
in interfaceApiConfigSourceOrBuilder
- Returns:
- The requestTimeout.
-
setRequestTimeout
For REST APIs, the request timeout. If not set, a default value of 1s will be used.
.google.protobuf.Duration request_timeout = 5 [(.validate.rules) = { ... }
-
setRequestTimeout
public ApiConfigSource.Builder setRequestTimeout(com.google.protobuf.Duration.Builder builderForValue) For REST APIs, the request timeout. If not set, a default value of 1s will be used.
.google.protobuf.Duration request_timeout = 5 [(.validate.rules) = { ... }
-
mergeRequestTimeout
For REST APIs, the request timeout. If not set, a default value of 1s will be used.
.google.protobuf.Duration request_timeout = 5 [(.validate.rules) = { ... }
-
clearRequestTimeout
For REST APIs, the request timeout. If not set, a default value of 1s will be used.
.google.protobuf.Duration request_timeout = 5 [(.validate.rules) = { ... }
-
getRequestTimeoutBuilder
public com.google.protobuf.Duration.Builder getRequestTimeoutBuilder()For REST APIs, the request timeout. If not set, a default value of 1s will be used.
.google.protobuf.Duration request_timeout = 5 [(.validate.rules) = { ... }
-
getRequestTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getRequestTimeoutOrBuilder()For REST APIs, the request timeout. If not set, a default value of 1s will be used.
.google.protobuf.Duration request_timeout = 5 [(.validate.rules) = { ... }
- Specified by:
getRequestTimeoutOrBuilder
in interfaceApiConfigSourceOrBuilder
-
internalGetRequestTimeoutFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, internalGetRequestTimeoutFieldBuilder()com.google.protobuf.DurationOrBuilder> For REST APIs, the request timeout. If not set, a default value of 1s will be used.
.google.protobuf.Duration request_timeout = 5 [(.validate.rules) = { ... }
-
hasRateLimitSettings
public boolean hasRateLimitSettings()For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.config.core.v3.RateLimitSettings rate_limit_settings = 6;
- Specified by:
hasRateLimitSettings
in interfaceApiConfigSourceOrBuilder
- Returns:
- Whether the rateLimitSettings field is set.
-
getRateLimitSettings
For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.config.core.v3.RateLimitSettings rate_limit_settings = 6;
- Specified by:
getRateLimitSettings
in interfaceApiConfigSourceOrBuilder
- Returns:
- The rateLimitSettings.
-
setRateLimitSettings
For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.config.core.v3.RateLimitSettings rate_limit_settings = 6;
-
setRateLimitSettings
For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.config.core.v3.RateLimitSettings rate_limit_settings = 6;
-
mergeRateLimitSettings
For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.config.core.v3.RateLimitSettings rate_limit_settings = 6;
-
clearRateLimitSettings
For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.config.core.v3.RateLimitSettings rate_limit_settings = 6;
-
getRateLimitSettingsBuilder
For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.config.core.v3.RateLimitSettings rate_limit_settings = 6;
-
getRateLimitSettingsOrBuilder
For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.config.core.v3.RateLimitSettings rate_limit_settings = 6;
- Specified by:
getRateLimitSettingsOrBuilder
in interfaceApiConfigSourceOrBuilder
-
internalGetRateLimitSettingsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RateLimitSettings,RateLimitSettings.Builder, internalGetRateLimitSettingsFieldBuilder()RateLimitSettingsOrBuilder> For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.config.core.v3.RateLimitSettings rate_limit_settings = 6;
-
getSetNodeOnFirstMessageOnly
public boolean getSetNodeOnFirstMessageOnly()Skip the node identifier in subsequent discovery requests for streaming gRPC config types.
bool set_node_on_first_message_only = 7;
- Specified by:
getSetNodeOnFirstMessageOnly
in interfaceApiConfigSourceOrBuilder
- Returns:
- The setNodeOnFirstMessageOnly.
-
setSetNodeOnFirstMessageOnly
Skip the node identifier in subsequent discovery requests for streaming gRPC config types.
bool set_node_on_first_message_only = 7;
- Parameters:
value
- The setNodeOnFirstMessageOnly to set.- Returns:
- This builder for chaining.
-
clearSetNodeOnFirstMessageOnly
Skip the node identifier in subsequent discovery requests for streaming gRPC config types.
bool set_node_on_first_message_only = 7;
- Returns:
- This builder for chaining.
-
ensureConfigValidatorsIsMutable
private void ensureConfigValidatorsIsMutable() -
getConfigValidatorsList
A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
- Specified by:
getConfigValidatorsList
in interfaceApiConfigSourceOrBuilder
-
getConfigValidatorsCount
public int getConfigValidatorsCount()A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
- Specified by:
getConfigValidatorsCount
in interfaceApiConfigSourceOrBuilder
-
getConfigValidators
A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
- Specified by:
getConfigValidators
in interfaceApiConfigSourceOrBuilder
-
setConfigValidators
A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
-
setConfigValidators
public ApiConfigSource.Builder setConfigValidators(int index, TypedExtensionConfig.Builder builderForValue) A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
-
addConfigValidators
A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
-
addConfigValidators
A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
-
addConfigValidators
A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
-
addConfigValidators
public ApiConfigSource.Builder addConfigValidators(int index, TypedExtensionConfig.Builder builderForValue) A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
-
addAllConfigValidators
public ApiConfigSource.Builder addAllConfigValidators(Iterable<? extends TypedExtensionConfig> values) A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
-
clearConfigValidators
A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
-
removeConfigValidators
A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
-
getConfigValidatorsBuilder
A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
-
getConfigValidatorsOrBuilder
A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
- Specified by:
getConfigValidatorsOrBuilder
in interfaceApiConfigSourceOrBuilder
-
getConfigValidatorsOrBuilderList
A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
- Specified by:
getConfigValidatorsOrBuilderList
in interfaceApiConfigSourceOrBuilder
-
addConfigValidatorsBuilder
A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
-
addConfigValidatorsBuilder
A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
-
getConfigValidatorsBuilderList
A list of config validators that will be executed when a new update is received from the ApiConfigSource. Note that each validator handles a specific xDS service type, and only the validators corresponding to the type url (in ``:ref: DiscoveryResponse`` or ``:ref: DeltaDiscoveryResponse``) will be invoked. If the validator returns false or throws an exception, the config will be rejected by the client, and a NACK will be sent. [#extension-category: envoy.config.validators]
repeated .envoy.config.core.v3.TypedExtensionConfig config_validators = 9;
-
internalGetConfigValidatorsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, internalGetConfigValidatorsFieldBuilder()TypedExtensionConfigOrBuilder>
-