类 DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- istio.networking.v1alpha3.DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings
-
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsOrBuilder,java.io.Serializable
public static final class DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings extends com.google.protobuf.GeneratedMessageV3 implements DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsOrBuilder
Settings applicable to HTTP1.1/HTTP2/GRPC connections.
Protobuf typeistio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettings- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classDestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.BuilderSettings applicable to HTTP1.1/HTTP2/GRPC connections.static classDestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.H2UpgradePolicyPolicy for upgrading http1.1 connections to http2.-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
字段概要
字段 修饰符和类型 字段 说明 private static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsDEFAULT_INSTANCEstatic intH2_UPGRADE_POLICY_FIELD_NUMBERprivate inth2UpgradePolicy_static intHTTP1_MAX_PENDING_REQUESTS_FIELD_NUMBERprivate inthttp1MaxPendingRequests_static intHTTP2_MAX_REQUESTS_FIELD_NUMBERprivate inthttp2MaxRequests_static intIDLE_TIMEOUT_FIELD_NUMBERprivate com.google.protobuf.DurationidleTimeout_static intMAX_REQUESTS_PER_CONNECTION_FIELD_NUMBERstatic intMAX_RETRIES_FIELD_NUMBERprivate intmaxRequestsPerConnection_private intmaxRetries_private bytememoizedIsInitializedprivate static com.google.protobuf.Parser<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings>PARSERprivate static longserialVersionUIDstatic intUSE_CLIENT_PROTOCOL_FIELD_NUMBERprivate booleanuseClientProtocol_
-
构造器概要
构造器 限定符 构造器 说明 privateHTTPSettings()privateHTTPSettings(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(java.lang.Object obj)static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsgetDefaultInstance()DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.H2UpgradePolicygetH2UpgradePolicy()Specify if http1.1 connection should be upgraded to http2 for the associated destination.intgetH2UpgradePolicyValue()Specify if http1.1 connection should be upgraded to http2 for the associated destination.intgetHttp1MaxPendingRequests()Maximum number of pending HTTP requests to a destination.intgetHttp2MaxRequests()Maximum number of requests to a backend.com.google.protobuf.DurationgetIdleTimeout()The idle timeout for upstream connection pool connections.com.google.protobuf.DurationOrBuildergetIdleTimeoutOrBuilder()The idle timeout for upstream connection pool connections.intgetMaxRequestsPerConnection()Maximum number of requests per connection to a backend.intgetMaxRetries()Maximum number of retries that can be outstanding to all hosts in a cluster at a given time.com.google.protobuf.Parser<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleangetUseClientProtocol()If set to true, client protocol will be preserved while initiating connection to backend.inthashCode()booleanhasIdleTimeout()The idle timeout for upstream connection pool connections.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.BuildernewBuilder()static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.BuildernewBuilder(DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings prototype)DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.BuildernewBuilderForType()protected DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsparseDelimitedFrom(java.io.InputStream input)static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsparseFrom(byte[] data)static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsparseFrom(com.google.protobuf.ByteString data)static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsparseFrom(com.google.protobuf.CodedInputStream input)static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsparseFrom(java.io.InputStream input)static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsparseFrom(java.nio.ByteBuffer data)static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings>parser()DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
-
-
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID
- 另请参阅:
- 常量字段值
-
HTTP1_MAX_PENDING_REQUESTS_FIELD_NUMBER
public static final int HTTP1_MAX_PENDING_REQUESTS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
http1MaxPendingRequests_
private int http1MaxPendingRequests_
-
HTTP2_MAX_REQUESTS_FIELD_NUMBER
public static final int HTTP2_MAX_REQUESTS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
http2MaxRequests_
private int http2MaxRequests_
-
MAX_REQUESTS_PER_CONNECTION_FIELD_NUMBER
public static final int MAX_REQUESTS_PER_CONNECTION_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
maxRequestsPerConnection_
private int maxRequestsPerConnection_
-
MAX_RETRIES_FIELD_NUMBER
public static final int MAX_RETRIES_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
maxRetries_
private int maxRetries_
-
IDLE_TIMEOUT_FIELD_NUMBER
public static final int IDLE_TIMEOUT_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
idleTimeout_
private com.google.protobuf.Duration idleTimeout_
-
H2_UPGRADE_POLICY_FIELD_NUMBER
public static final int H2_UPGRADE_POLICY_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
h2UpgradePolicy_
private int h2UpgradePolicy_
-
USE_CLIENT_PROTOCOL_FIELD_NUMBER
public static final int USE_CLIENT_PROTOCOL_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
useClientProtocol_
private boolean useClientProtocol_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings> PARSER
-
-
方法详细资料
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
getHttp1MaxPendingRequests
public int getHttp1MaxPendingRequests()
Maximum number of pending HTTP requests to a destination. Default 2^32-1.
int32 http1_max_pending_requests = 1;- 指定者:
getHttp1MaxPendingRequests在接口中DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsOrBuilder- 返回:
- The http1MaxPendingRequests.
-
getHttp2MaxRequests
public int getHttp2MaxRequests()
Maximum number of requests to a backend. Default 2^32-1.
int32 http2_max_requests = 2;- 指定者:
getHttp2MaxRequests在接口中DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsOrBuilder- 返回:
- The http2MaxRequests.
-
getMaxRequestsPerConnection
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.HTTPSettingsOrBuilder- 返回:
- The maxRequestsPerConnection.
-
getMaxRetries
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.HTTPSettingsOrBuilder- 返回:
- The maxRetries.
-
hasIdleTimeout
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.HTTPSettingsOrBuilder- 返回:
- Whether the idleTimeout field is set.
-
getIdleTimeout
public 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.HTTPSettingsOrBuilder- 返回:
- The idleTimeout.
-
getIdleTimeoutOrBuilder
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;
-
getH2UpgradePolicyValue
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.HTTPSettingsOrBuilder- 返回:
- The enum numeric value on the wire for h2UpgradePolicy.
-
getH2UpgradePolicy
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.HTTPSettingsOrBuilder- 返回:
- The h2UpgradePolicy.
-
getUseClientProtocol
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.HTTPSettingsOrBuilder- 返回:
- The useClientProtocol.
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
newBuilderForType
public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder newBuilder()
-
newBuilder
public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder newBuilder(DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings prototype)
-
toBuilder
public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings> parser()
-
getParserForType
public com.google.protobuf.Parser<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-