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 type
istio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettings| 限定符和类型 | 类和说明 |
|---|---|
static class |
DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder
Settings applicable to HTTP1.1/HTTP2/GRPC connections.
|
static class |
DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.H2UpgradePolicy
Policy for upgrading http1.1 connections to http2.
|
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| 限定符和类型 | 字段和说明 |
|---|---|
static int |
H2_UPGRADE_POLICY_FIELD_NUMBER |
static int |
HTTP1_MAX_PENDING_REQUESTS_FIELD_NUMBER |
static int |
HTTP2_MAX_REQUESTS_FIELD_NUMBER |
static int |
IDLE_TIMEOUT_FIELD_NUMBER |
static int |
MAX_REQUESTS_PER_CONNECTION_FIELD_NUMBER |
static int |
MAX_RETRIES_FIELD_NUMBER |
static int |
USE_CLIENT_PROTOCOL_FIELD_NUMBER |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int HTTP1_MAX_PENDING_REQUESTS_FIELD_NUMBER
public static final int HTTP2_MAX_REQUESTS_FIELD_NUMBER
public static final int MAX_REQUESTS_PER_CONNECTION_FIELD_NUMBER
public static final int MAX_RETRIES_FIELD_NUMBER
public static final int IDLE_TIMEOUT_FIELD_NUMBER
public static final int H2_UPGRADE_POLICY_FIELD_NUMBER
public static final int USE_CLIENT_PROTOCOL_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public 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 int getHttp2MaxRequests()
Maximum number of requests to a backend. Default 2^32-1.
int32 http2_max_requests = 2;getHttp2MaxRequests 在接口中 DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsOrBuilderpublic 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 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 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 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.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 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 final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(InputStream input) throws IOException
IOExceptionpublic static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder newBuilder()
public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder newBuilder(DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings prototype)
public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings getDefaultInstance()
public static com.google.protobuf.Parser<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings> parser()
public com.google.protobuf.Parser<DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018–2023 Alibaba Group. All rights reserved.