public static final class DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder> implements DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsOrBuilder
Settings applicable to HTTP1.1/HTTP2/GRPC connections.Protobuf type
istio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettingsgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder>public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder>public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder>public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder>public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder>public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder>public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder>public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder>public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder>public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder mergeFrom(DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder>public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder>IOExceptionpublic int getHttp1MaxPendingRequests()
Maximum number of pending HTTP requests to a destination. Default 2^32-1.
int32 http1_max_pending_requests = 1;getHttp1MaxPendingRequests 在接口中 DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsOrBuilderpublic DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder setHttp1MaxPendingRequests(int value)
Maximum number of pending HTTP requests to a destination. Default 2^32-1.
int32 http1_max_pending_requests = 1;value - The http1MaxPendingRequests to set.public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder clearHttp1MaxPendingRequests()
Maximum number of pending HTTP requests to a destination. Default 2^32-1.
int32 http1_max_pending_requests = 1;public int getHttp2MaxRequests()
Maximum number of requests to a backend. Default 2^32-1.
int32 http2_max_requests = 2;getHttp2MaxRequests 在接口中 DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsOrBuilderpublic DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder setHttp2MaxRequests(int value)
Maximum number of requests to a backend. Default 2^32-1.
int32 http2_max_requests = 2;value - The http2MaxRequests to set.public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder clearHttp2MaxRequests()
Maximum number of requests to a backend. Default 2^32-1.
int32 http2_max_requests = 2;public int getMaxRequestsPerConnection()
Maximum number of requests per connection to a backend. Setting this parameter to 1 disables keep alive. Default 0, meaning "unlimited", up to 2^29.
int32 max_requests_per_connection = 3;getMaxRequestsPerConnection 在接口中 DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsOrBuilderpublic DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder setMaxRequestsPerConnection(int value)
Maximum number of requests per connection to a backend. Setting this parameter to 1 disables keep alive. Default 0, meaning "unlimited", up to 2^29.
int32 max_requests_per_connection = 3;value - The maxRequestsPerConnection to set.public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder clearMaxRequestsPerConnection()
Maximum number of requests per connection to a backend. Setting this parameter to 1 disables keep alive. Default 0, meaning "unlimited", up to 2^29.
int32 max_requests_per_connection = 3;public int getMaxRetries()
Maximum number of retries that can be outstanding to all hosts in a cluster at a given time. Defaults to 2^32-1.
int32 max_retries = 4;getMaxRetries 在接口中 DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsOrBuilderpublic DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder setMaxRetries(int value)
Maximum number of retries that can be outstanding to all hosts in a cluster at a given time. Defaults to 2^32-1.
int32 max_retries = 4;value - The maxRetries to set.public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder clearMaxRetries()
Maximum number of retries that can be outstanding to all hosts in a cluster at a given time. Defaults to 2^32-1.
int32 max_retries = 4;public boolean hasIdleTimeout()
The idle timeout for upstream connection pool connections. The idle timeout is defined as the period in which there are no active requests. If not set, the default is 1 hour. When the idle timeout is reached, the connection will be closed. If the connection is an HTTP/2 connection a drain sequence will occur prior to closing the connection. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. Applies to both HTTP1.1 and HTTP2 connections.
.google.protobuf.Duration idle_timeout = 5;hasIdleTimeout 在接口中 DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsOrBuilderpublic com.google.protobuf.Duration getIdleTimeout()
The idle timeout for upstream connection pool connections. The idle timeout is defined as the period in which there are no active requests. If not set, the default is 1 hour. When the idle timeout is reached, the connection will be closed. If the connection is an HTTP/2 connection a drain sequence will occur prior to closing the connection. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. Applies to both HTTP1.1 and HTTP2 connections.
.google.protobuf.Duration idle_timeout = 5;getIdleTimeout 在接口中 DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsOrBuilderpublic DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder setIdleTimeout(com.google.protobuf.Duration value)
The idle timeout for upstream connection pool connections. The idle timeout is defined as the period in which there are no active requests. If not set, the default is 1 hour. When the idle timeout is reached, the connection will be closed. If the connection is an HTTP/2 connection a drain sequence will occur prior to closing the connection. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. Applies to both HTTP1.1 and HTTP2 connections.
.google.protobuf.Duration idle_timeout = 5;public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder setIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
The idle timeout for upstream connection pool connections. The idle timeout is defined as the period in which there are no active requests. If not set, the default is 1 hour. When the idle timeout is reached, the connection will be closed. If the connection is an HTTP/2 connection a drain sequence will occur prior to closing the connection. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. Applies to both HTTP1.1 and HTTP2 connections.
.google.protobuf.Duration idle_timeout = 5;public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder mergeIdleTimeout(com.google.protobuf.Duration value)
The idle timeout for upstream connection pool connections. The idle timeout is defined as the period in which there are no active requests. If not set, the default is 1 hour. When the idle timeout is reached, the connection will be closed. If the connection is an HTTP/2 connection a drain sequence will occur prior to closing the connection. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. Applies to both HTTP1.1 and HTTP2 connections.
.google.protobuf.Duration idle_timeout = 5;public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder clearIdleTimeout()
The idle timeout for upstream connection pool connections. The idle timeout is defined as the period in which there are no active requests. If not set, the default is 1 hour. When the idle timeout is reached, the connection will be closed. If the connection is an HTTP/2 connection a drain sequence will occur prior to closing the connection. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. Applies to both HTTP1.1 and HTTP2 connections.
.google.protobuf.Duration idle_timeout = 5;public com.google.protobuf.Duration.Builder getIdleTimeoutBuilder()
The idle timeout for upstream connection pool connections. The idle timeout is defined as the period in which there are no active requests. If not set, the default is 1 hour. When the idle timeout is reached, the connection will be closed. If the connection is an HTTP/2 connection a drain sequence will occur prior to closing the connection. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. Applies to both HTTP1.1 and HTTP2 connections.
.google.protobuf.Duration idle_timeout = 5;public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
The idle timeout for upstream connection pool connections. The idle timeout is defined as the period in which there are no active requests. If not set, the default is 1 hour. When the idle timeout is reached, the connection will be closed. If the connection is an HTTP/2 connection a drain sequence will occur prior to closing the connection. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. Applies to both HTTP1.1 and HTTP2 connections.
.google.protobuf.Duration idle_timeout = 5;public int getH2UpgradePolicyValue()
Specify if http1.1 connection should be upgraded to http2 for the associated destination.
.istio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettings.H2UpgradePolicy h2_upgrade_policy = 6;getH2UpgradePolicyValue 在接口中 DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsOrBuilderpublic DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder setH2UpgradePolicyValue(int value)
Specify if http1.1 connection should be upgraded to http2 for the associated destination.
.istio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettings.H2UpgradePolicy h2_upgrade_policy = 6;value - The enum numeric value on the wire for h2UpgradePolicy to set.public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.H2UpgradePolicy getH2UpgradePolicy()
Specify if http1.1 connection should be upgraded to http2 for the associated destination.
.istio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettings.H2UpgradePolicy h2_upgrade_policy = 6;getH2UpgradePolicy 在接口中 DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsOrBuilderpublic DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder setH2UpgradePolicy(DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.H2UpgradePolicy value)
Specify if http1.1 connection should be upgraded to http2 for the associated destination.
.istio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettings.H2UpgradePolicy h2_upgrade_policy = 6;value - The h2UpgradePolicy to set.public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder clearH2UpgradePolicy()
Specify if http1.1 connection should be upgraded to http2 for the associated destination.
.istio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettings.H2UpgradePolicy h2_upgrade_policy = 6;public boolean getUseClientProtocol()
If set to true, client protocol will be preserved while initiating connection to backend. Note that when this is set to true, h2_upgrade_policy will be ineffective i.e. the client connections will not be upgraded to http2.
bool use_client_protocol = 7;getUseClientProtocol 在接口中 DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsOrBuilderpublic DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder setUseClientProtocol(boolean value)
If set to true, client protocol will be preserved while initiating connection to backend. Note that when this is set to true, h2_upgrade_policy will be ineffective i.e. the client connections will not be upgraded to http2.
bool use_client_protocol = 7;value - The useClientProtocol to set.public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder clearUseClientProtocol()
If set to true, client protocol will be preserved while initiating connection to backend. Note that when this is set to true, h2_upgrade_policy will be ineffective i.e. the client connections will not be upgraded to http2.
bool use_client_protocol = 7;public final DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder>public final DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder>Copyright © 2018–2023 Alibaba Group. All rights reserved.