Package com.google.cloud.grpc.proto
Class ChannelPoolConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.cloud.grpc.proto.ChannelPoolConfig
- All Implemented Interfaces:
ChannelPoolConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Deprecated
public final class ChannelPoolConfig
extends com.google.protobuf.GeneratedMessageV3
implements ChannelPoolConfigOrBuilder
Deprecated.
Deprecated. Use GcpManagedChannelOptions.GcpChannelPoolOptions class.Protobuf type
grpc.gcp.ChannelPoolConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.Deprecated.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.static final intDeprecated.static final intDeprecated.Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.static ChannelPoolConfigDeprecated.Deprecated.static final com.google.protobuf.Descriptors.DescriptorDeprecated.longDeprecated.The idle timeout (seconds) of channels without bound affinity sessions.intDeprecated.The low watermark of max number of concurrent streams in a channel.intDeprecated.The max number of channels in the pool.com.google.protobuf.Parser<ChannelPoolConfig>Deprecated.intDeprecated.inthashCode()Deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableDeprecated.final booleanDeprecated.static ChannelPoolConfig.BuilderDeprecated.static ChannelPoolConfig.BuildernewBuilder(ChannelPoolConfig prototype) Deprecated.Deprecated.protected ChannelPoolConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) Deprecated.protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) Deprecated.static ChannelPoolConfigparseDelimitedFrom(InputStream input) Deprecated.static ChannelPoolConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.static ChannelPoolConfigparseFrom(byte[] data) Deprecated.static ChannelPoolConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.static ChannelPoolConfigparseFrom(com.google.protobuf.ByteString data) Deprecated.static ChannelPoolConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.static ChannelPoolConfigparseFrom(com.google.protobuf.CodedInputStream input) Deprecated.static ChannelPoolConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.static ChannelPoolConfigparseFrom(InputStream input) Deprecated.static ChannelPoolConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.static ChannelPoolConfigparseFrom(ByteBuffer data) Deprecated.static ChannelPoolConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.static com.google.protobuf.Parser<ChannelPoolConfig>parser()Deprecated.Deprecated.voidwriteTo(com.google.protobuf.CodedOutputStream output) Deprecated.Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MAX_SIZE_FIELD_NUMBER
public static final int MAX_SIZE_FIELD_NUMBERDeprecated.- See Also:
-
IDLE_TIMEOUT_FIELD_NUMBER
public static final int IDLE_TIMEOUT_FIELD_NUMBERDeprecated.- See Also:
-
MAX_CONCURRENT_STREAMS_LOW_WATERMARK_FIELD_NUMBER
public static final int MAX_CONCURRENT_STREAMS_LOW_WATERMARK_FIELD_NUMBERDeprecated.- See Also:
-
-
Method Details
-
newInstance
Deprecated.- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()Deprecated. -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()Deprecated.- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getMaxSize
public int getMaxSize()Deprecated.The max number of channels in the pool.
uint32 max_size = 1;- Specified by:
getMaxSizein interfaceChannelPoolConfigOrBuilder- Returns:
- The maxSize.
-
getIdleTimeout
public long getIdleTimeout()Deprecated.The idle timeout (seconds) of channels without bound affinity sessions.
uint64 idle_timeout = 2;- Specified by:
getIdleTimeoutin interfaceChannelPoolConfigOrBuilder- Returns:
- The idleTimeout.
-
getMaxConcurrentStreamsLowWatermark
public int getMaxConcurrentStreamsLowWatermark()Deprecated.The low watermark of max number of concurrent streams in a channel. New channel will be created once it get hit, until we reach the max size of the channel pool. Values outside of [0..100] will be ignored. 0 = always create a new channel until max size is reached.
uint32 max_concurrent_streams_low_watermark = 3;- Specified by:
getMaxConcurrentStreamsLowWatermarkin interfaceChannelPoolConfigOrBuilder- Returns:
- The maxConcurrentStreamsLowWatermark.
-
isInitialized
public final boolean isInitialized()Deprecated.- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
Deprecated.- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()Deprecated.- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
Deprecated.- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()Deprecated.- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ChannelPoolConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ChannelPoolConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ChannelPoolConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ChannelPoolConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ChannelPoolConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ChannelPoolConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
Deprecated.- Throws:
IOException
-
parseFrom
public static ChannelPoolConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException Deprecated.- Throws:
IOException
-
parseDelimitedFrom
Deprecated.- Throws:
IOException
-
parseDelimitedFrom
public static ChannelPoolConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException Deprecated.- Throws:
IOException
-
parseFrom
public static ChannelPoolConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException Deprecated.- Throws:
IOException
-
parseFrom
public static ChannelPoolConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException Deprecated.- Throws:
IOException
-
newBuilderForType
Deprecated.- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
Deprecated. -
newBuilder
Deprecated. -
toBuilder
Deprecated.- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ChannelPoolConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) Deprecated.- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
Deprecated. -
parser
Deprecated. -
getParserForType
Deprecated.- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
Deprecated.- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-