public static final class ApiConfigSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ApiConfigSource.Builder> implements ApiConfigSourceOrBuilder
API configuration source. This identifies the API type and cluster that Envoy will use to fetch an xDS API.Protobuf type
envoy.api.v2.core.ApiConfigSource| Modifier and Type | Method and Description |
|---|---|
ApiConfigSource.Builder |
addAllClusterNames(Iterable<String> values)
Cluster names should be used only with REST.
|
ApiConfigSource.Builder |
addAllGrpcServices(Iterable<? extends GrpcService> values)
Multiple gRPC services be provided for GRPC.
|
ApiConfigSource.Builder |
addClusterNames(String value)
Cluster names should be used only with REST.
|
ApiConfigSource.Builder |
addClusterNamesBytes(com.google.protobuf.ByteString value)
Cluster names should be used only with REST.
|
ApiConfigSource.Builder |
addGrpcServices(GrpcService.Builder builderForValue)
Multiple gRPC services be provided for GRPC.
|
ApiConfigSource.Builder |
addGrpcServices(GrpcService value)
Multiple gRPC services be provided for GRPC.
|
ApiConfigSource.Builder |
addGrpcServices(int index,
GrpcService.Builder builderForValue)
Multiple gRPC services be provided for GRPC.
|
ApiConfigSource.Builder |
addGrpcServices(int index,
GrpcService value)
Multiple gRPC services be provided for GRPC.
|
GrpcService.Builder |
addGrpcServicesBuilder()
Multiple gRPC services be provided for GRPC.
|
GrpcService.Builder |
addGrpcServicesBuilder(int index)
Multiple gRPC services be provided for GRPC.
|
ApiConfigSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ApiConfigSource |
build() |
ApiConfigSource |
buildPartial() |
ApiConfigSource.Builder |
clear() |
ApiConfigSource.Builder |
clearApiType()
.envoy.api.v2.core.ApiConfigSource.ApiType api_type = 1 [(.validate.rules) = { ... } |
ApiConfigSource.Builder |
clearClusterNames()
Cluster names should be used only with REST.
|
ApiConfigSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ApiConfigSource.Builder |
clearGrpcServices()
Multiple gRPC services be provided for GRPC.
|
ApiConfigSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ApiConfigSource.Builder |
clearRateLimitSettings()
For GRPC APIs, the rate limit settings.
|
ApiConfigSource.Builder |
clearRefreshDelay()
For REST APIs, the delay between successive polls.
|
ApiConfigSource.Builder |
clearRequestTimeout()
For REST APIs, the request timeout.
|
ApiConfigSource.Builder |
clone() |
ApiConfigSource.ApiType |
getApiType()
.envoy.api.v2.core.ApiConfigSource.ApiType api_type = 1 [(.validate.rules) = { ... } |
int |
getApiTypeValue()
.envoy.api.v2.core.ApiConfigSource.ApiType api_type = 1 [(.validate.rules) = { ... } |
String |
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 |
getClusterNamesCount()
Cluster names should be used only with REST.
|
com.google.protobuf.ProtocolStringList |
getClusterNamesList()
Cluster names should be used only with REST.
|
ApiConfigSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
GrpcService |
getGrpcServices(int index)
Multiple gRPC services be provided for GRPC.
|
GrpcService.Builder |
getGrpcServicesBuilder(int index)
Multiple gRPC services be provided for GRPC.
|
List<GrpcService.Builder> |
getGrpcServicesBuilderList()
Multiple gRPC services be provided for GRPC.
|
int |
getGrpcServicesCount()
Multiple gRPC services be provided for GRPC.
|
List<GrpcService> |
getGrpcServicesList()
Multiple gRPC services be provided for GRPC.
|
GrpcServiceOrBuilder |
getGrpcServicesOrBuilder(int index)
Multiple gRPC services be provided for GRPC.
|
List<? extends GrpcServiceOrBuilder> |
getGrpcServicesOrBuilderList()
Multiple gRPC services be provided for GRPC.
|
RateLimitSettings |
getRateLimitSettings()
For GRPC APIs, the rate limit settings.
|
RateLimitSettings.Builder |
getRateLimitSettingsBuilder()
For GRPC APIs, the rate limit settings.
|
RateLimitSettingsOrBuilder |
getRateLimitSettingsOrBuilder()
For GRPC APIs, the rate limit settings.
|
com.google.protobuf.Duration |
getRefreshDelay()
For REST APIs, the delay between successive polls.
|
com.google.protobuf.Duration.Builder |
getRefreshDelayBuilder()
For REST APIs, the delay between successive polls.
|
com.google.protobuf.DurationOrBuilder |
getRefreshDelayOrBuilder()
For REST APIs, the delay between successive polls.
|
com.google.protobuf.Duration |
getRequestTimeout()
For REST APIs, the request timeout.
|
com.google.protobuf.Duration.Builder |
getRequestTimeoutBuilder()
For REST APIs, the request timeout.
|
com.google.protobuf.DurationOrBuilder |
getRequestTimeoutOrBuilder()
For REST APIs, the request timeout.
|
boolean |
hasRateLimitSettings()
For GRPC APIs, the rate limit settings.
|
boolean |
hasRefreshDelay()
For REST APIs, the delay between successive polls.
|
boolean |
hasRequestTimeout()
For REST APIs, the request timeout.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ApiConfigSource.Builder |
mergeFrom(ApiConfigSource other) |
ApiConfigSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiConfigSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
ApiConfigSource.Builder |
mergeRateLimitSettings(RateLimitSettings value)
For GRPC APIs, the rate limit settings.
|
ApiConfigSource.Builder |
mergeRefreshDelay(com.google.protobuf.Duration value)
For REST APIs, the delay between successive polls.
|
ApiConfigSource.Builder |
mergeRequestTimeout(com.google.protobuf.Duration value)
For REST APIs, the request timeout.
|
ApiConfigSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ApiConfigSource.Builder |
removeGrpcServices(int index)
Multiple gRPC services be provided for GRPC.
|
ApiConfigSource.Builder |
setApiType(ApiConfigSource.ApiType value)
.envoy.api.v2.core.ApiConfigSource.ApiType api_type = 1 [(.validate.rules) = { ... } |
ApiConfigSource.Builder |
setApiTypeValue(int value)
.envoy.api.v2.core.ApiConfigSource.ApiType api_type = 1 [(.validate.rules) = { ... } |
ApiConfigSource.Builder |
setClusterNames(int index,
String value)
Cluster names should be used only with REST.
|
ApiConfigSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ApiConfigSource.Builder |
setGrpcServices(int index,
GrpcService.Builder builderForValue)
Multiple gRPC services be provided for GRPC.
|
ApiConfigSource.Builder |
setGrpcServices(int index,
GrpcService value)
Multiple gRPC services be provided for GRPC.
|
ApiConfigSource.Builder |
setRateLimitSettings(RateLimitSettings.Builder builderForValue)
For GRPC APIs, the rate limit settings.
|
ApiConfigSource.Builder |
setRateLimitSettings(RateLimitSettings value)
For GRPC APIs, the rate limit settings.
|
ApiConfigSource.Builder |
setRefreshDelay(com.google.protobuf.Duration.Builder builderForValue)
For REST APIs, the delay between successive polls.
|
ApiConfigSource.Builder |
setRefreshDelay(com.google.protobuf.Duration value)
For REST APIs, the delay between successive polls.
|
ApiConfigSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ApiConfigSource.Builder |
setRequestTimeout(com.google.protobuf.Duration.Builder builderForValue)
For REST APIs, the request timeout.
|
ApiConfigSource.Builder |
setRequestTimeout(com.google.protobuf.Duration value)
For REST APIs, the request timeout.
|
ApiConfigSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ApiConfigSource.Builder>public ApiConfigSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ApiConfigSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ApiConfigSource.Builder>public ApiConfigSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ApiConfigSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ApiConfigSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ApiConfigSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ApiConfigSource.Builder>public ApiConfigSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ApiConfigSource.Builder>public ApiConfigSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ApiConfigSource.Builder>public ApiConfigSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ApiConfigSource.Builder>public ApiConfigSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ApiConfigSource.Builder>public ApiConfigSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ApiConfigSource.Builder>public ApiConfigSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ApiConfigSource.Builder>public ApiConfigSource.Builder mergeFrom(ApiConfigSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ApiConfigSource.Builder>public ApiConfigSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ApiConfigSource.Builder>IOExceptionpublic int getApiTypeValue()
.envoy.api.v2.core.ApiConfigSource.ApiType api_type = 1 [(.validate.rules) = { ... }getApiTypeValue in interface ApiConfigSourceOrBuilderpublic ApiConfigSource.Builder setApiTypeValue(int value)
.envoy.api.v2.core.ApiConfigSource.ApiType api_type = 1 [(.validate.rules) = { ... }public ApiConfigSource.ApiType getApiType()
.envoy.api.v2.core.ApiConfigSource.ApiType api_type = 1 [(.validate.rules) = { ... }getApiType in interface ApiConfigSourceOrBuilderpublic ApiConfigSource.Builder setApiType(ApiConfigSource.ApiType value)
.envoy.api.v2.core.ApiConfigSource.ApiType api_type = 1 [(.validate.rules) = { ... }public ApiConfigSource.Builder clearApiType()
.envoy.api.v2.core.ApiConfigSource.ApiType api_type = 1 [(.validate.rules) = { ... }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;getClusterNamesList in interface ApiConfigSourceOrBuilderpublic 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;getClusterNamesCount in interface ApiConfigSourceOrBuilderpublic String getClusterNames(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;getClusterNames in interface ApiConfigSourceOrBuilderpublic 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;getClusterNamesBytes in interface ApiConfigSourceOrBuilderpublic ApiConfigSource.Builder setClusterNames(int index, String value)
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;public ApiConfigSource.Builder addClusterNames(String value)
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;public ApiConfigSource.Builder addAllClusterNames(Iterable<String> values)
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;public ApiConfigSource.Builder 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;public ApiConfigSource.Builder addClusterNamesBytes(com.google.protobuf.ByteString value)
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;public List<GrpcService> 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.api.v2.core.GrpcService grpc_services = 4;getGrpcServicesList in interface ApiConfigSourceOrBuilderpublic 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.api.v2.core.GrpcService grpc_services = 4;getGrpcServicesCount in interface ApiConfigSourceOrBuilderpublic GrpcService getGrpcServices(int index)
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.api.v2.core.GrpcService grpc_services = 4;getGrpcServices in interface ApiConfigSourceOrBuilderpublic ApiConfigSource.Builder setGrpcServices(int index, GrpcService value)
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.api.v2.core.GrpcService grpc_services = 4;public ApiConfigSource.Builder setGrpcServices(int index, GrpcService.Builder builderForValue)
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.api.v2.core.GrpcService grpc_services = 4;public ApiConfigSource.Builder addGrpcServices(GrpcService value)
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.api.v2.core.GrpcService grpc_services = 4;public ApiConfigSource.Builder addGrpcServices(int index, GrpcService value)
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.api.v2.core.GrpcService grpc_services = 4;public ApiConfigSource.Builder addGrpcServices(GrpcService.Builder builderForValue)
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.api.v2.core.GrpcService grpc_services = 4;public ApiConfigSource.Builder addGrpcServices(int index, GrpcService.Builder builderForValue)
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.api.v2.core.GrpcService grpc_services = 4;public ApiConfigSource.Builder addAllGrpcServices(Iterable<? extends GrpcService> values)
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.api.v2.core.GrpcService grpc_services = 4;public ApiConfigSource.Builder 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.api.v2.core.GrpcService grpc_services = 4;public ApiConfigSource.Builder removeGrpcServices(int index)
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.api.v2.core.GrpcService grpc_services = 4;public GrpcService.Builder getGrpcServicesBuilder(int index)
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.api.v2.core.GrpcService grpc_services = 4;public GrpcServiceOrBuilder getGrpcServicesOrBuilder(int index)
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.api.v2.core.GrpcService grpc_services = 4;getGrpcServicesOrBuilder in interface ApiConfigSourceOrBuilderpublic List<? extends GrpcServiceOrBuilder> 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.api.v2.core.GrpcService grpc_services = 4;getGrpcServicesOrBuilderList in interface ApiConfigSourceOrBuilderpublic GrpcService.Builder 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.api.v2.core.GrpcService grpc_services = 4;public GrpcService.Builder addGrpcServicesBuilder(int index)
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.api.v2.core.GrpcService grpc_services = 4;public List<GrpcService.Builder> 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.api.v2.core.GrpcService grpc_services = 4;public boolean hasRefreshDelay()
For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3 [(.gogoproto.stdduration) = true];hasRefreshDelay in interface ApiConfigSourceOrBuilderpublic com.google.protobuf.Duration getRefreshDelay()
For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3 [(.gogoproto.stdduration) = true];getRefreshDelay in interface ApiConfigSourceOrBuilderpublic ApiConfigSource.Builder setRefreshDelay(com.google.protobuf.Duration value)
For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3 [(.gogoproto.stdduration) = true];public ApiConfigSource.Builder setRefreshDelay(com.google.protobuf.Duration.Builder builderForValue)
For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3 [(.gogoproto.stdduration) = true];public ApiConfigSource.Builder mergeRefreshDelay(com.google.protobuf.Duration value)
For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3 [(.gogoproto.stdduration) = true];public ApiConfigSource.Builder clearRefreshDelay()
For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3 [(.gogoproto.stdduration) = true];public com.google.protobuf.Duration.Builder getRefreshDelayBuilder()
For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3 [(.gogoproto.stdduration) = true];public com.google.protobuf.DurationOrBuilder getRefreshDelayOrBuilder()
For REST APIs, the delay between successive polls.
.google.protobuf.Duration refresh_delay = 3 [(.gogoproto.stdduration) = true];getRefreshDelayOrBuilder in interface ApiConfigSourceOrBuilderpublic 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 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }hasRequestTimeout in interface ApiConfigSourceOrBuilderpublic 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 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }getRequestTimeout in interface ApiConfigSourceOrBuilderpublic ApiConfigSource.Builder setRequestTimeout(com.google.protobuf.Duration value)
For REST APIs, the request timeout. If not set, a default value of 1s will be used.
.google.protobuf.Duration request_timeout = 5 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }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 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }public ApiConfigSource.Builder mergeRequestTimeout(com.google.protobuf.Duration value)
For REST APIs, the request timeout. If not set, a default value of 1s will be used.
.google.protobuf.Duration request_timeout = 5 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }public ApiConfigSource.Builder clearRequestTimeout()
For REST APIs, the request timeout. If not set, a default value of 1s will be used.
.google.protobuf.Duration request_timeout = 5 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }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 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }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 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }getRequestTimeoutOrBuilder in interface ApiConfigSourceOrBuilderpublic boolean hasRateLimitSettings()
For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.api.v2.core.RateLimitSettings rate_limit_settings = 6;hasRateLimitSettings in interface ApiConfigSourceOrBuilderpublic RateLimitSettings getRateLimitSettings()
For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.api.v2.core.RateLimitSettings rate_limit_settings = 6;getRateLimitSettings in interface ApiConfigSourceOrBuilderpublic ApiConfigSource.Builder setRateLimitSettings(RateLimitSettings value)
For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.api.v2.core.RateLimitSettings rate_limit_settings = 6;public ApiConfigSource.Builder setRateLimitSettings(RateLimitSettings.Builder builderForValue)
For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.api.v2.core.RateLimitSettings rate_limit_settings = 6;public ApiConfigSource.Builder mergeRateLimitSettings(RateLimitSettings value)
For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.api.v2.core.RateLimitSettings rate_limit_settings = 6;public ApiConfigSource.Builder clearRateLimitSettings()
For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.api.v2.core.RateLimitSettings rate_limit_settings = 6;public RateLimitSettings.Builder getRateLimitSettingsBuilder()
For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.api.v2.core.RateLimitSettings rate_limit_settings = 6;public RateLimitSettingsOrBuilder getRateLimitSettingsOrBuilder()
For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be rate limited.
.envoy.api.v2.core.RateLimitSettings rate_limit_settings = 6;getRateLimitSettingsOrBuilder in interface ApiConfigSourceOrBuilderpublic final ApiConfigSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ApiConfigSource.Builder>public final ApiConfigSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ApiConfigSource.Builder>Copyright © 2018–2019 The Envoy Project. All rights reserved.