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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    Deprecated.
    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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Deprecated.
     
    static final int
    Deprecated.
     
    static final int
    Deprecated.
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
     
    Deprecated.
     
    Deprecated.
     
    static final com.google.protobuf.Descriptors.Descriptor
    Deprecated.
     
    long
    Deprecated.
    The idle timeout (seconds) of channels without bound affinity sessions.
    int
    Deprecated.
    The low watermark of max number of concurrent streams in a channel.
    int
    Deprecated.
    The max number of channels in the pool.
    com.google.protobuf.Parser<ChannelPoolConfig>
    Deprecated.
     
    int
    Deprecated.
     
    int
    Deprecated.
     
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    Deprecated.
     
    final boolean
    Deprecated.
     
    Deprecated.
     
    Deprecated.
     
    Deprecated.
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
    Deprecated.
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
    Deprecated.
     
    Deprecated.
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    Deprecated.
     
    parseFrom(byte[] data)
    Deprecated.
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    Deprecated.
     
    parseFrom(com.google.protobuf.ByteString data)
    Deprecated.
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    Deprecated.
     
    parseFrom(com.google.protobuf.CodedInputStream input)
    Deprecated.
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    Deprecated.
     
    Deprecated.
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    Deprecated.
     
    Deprecated.
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    Deprecated.
     
    static com.google.protobuf.Parser<ChannelPoolConfig>
    Deprecated.
     
    Deprecated.
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods 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_NUMBER
      Deprecated.
      See Also:
    • IDLE_TIMEOUT_FIELD_NUMBER

      public static final int IDLE_TIMEOUT_FIELD_NUMBER
      Deprecated.
      See Also:
    • MAX_CONCURRENT_STREAMS_LOW_WATERMARK_FIELD_NUMBER

      public static final int MAX_CONCURRENT_STREAMS_LOW_WATERMARK_FIELD_NUMBER
      Deprecated.
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Deprecated.
      Overrides:
      newInstance in class com.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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getMaxSize

      public int getMaxSize()
      Deprecated.
       The max number of channels in the pool.
       
      uint32 max_size = 1;
      Specified by:
      getMaxSize in interface ChannelPoolConfigOrBuilder
      Returns:
      The maxSize.
    • getIdleTimeout

      public long getIdleTimeout()
      Deprecated.
       The idle timeout (seconds) of channels without bound affinity sessions.
       
      uint64 idle_timeout = 2;
      Specified by:
      getIdleTimeout in interface ChannelPoolConfigOrBuilder
      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:
      getMaxConcurrentStreamsLowWatermark in interface ChannelPoolConfigOrBuilder
      Returns:
      The maxConcurrentStreamsLowWatermark.
    • isInitialized

      public final boolean isInitialized()
      Deprecated.
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Deprecated.
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Deprecated.
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Deprecated.
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static ChannelPoolConfig parseFrom(InputStream input) throws IOException
      Deprecated.
      Throws:
      IOException
    • parseFrom

      public static ChannelPoolConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Deprecated.
      Throws:
      IOException
    • parseDelimitedFrom

      public static ChannelPoolConfig parseDelimitedFrom(InputStream input) throws IOException
      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

      public ChannelPoolConfig.Builder newBuilderForType()
      Deprecated.
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ChannelPoolConfig.Builder newBuilder()
      Deprecated.
    • newBuilder

      public static ChannelPoolConfig.Builder newBuilder(ChannelPoolConfig prototype)
      Deprecated.
    • toBuilder

      public ChannelPoolConfig.Builder toBuilder()
      Deprecated.
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ChannelPoolConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Deprecated.
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ChannelPoolConfig getDefaultInstance()
      Deprecated.
    • parser

      public static com.google.protobuf.Parser<ChannelPoolConfig> parser()
      Deprecated.
    • getParserForType

      public com.google.protobuf.Parser<ChannelPoolConfig> getParserForType()
      Deprecated.
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ChannelPoolConfig getDefaultInstanceForType()
      Deprecated.
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder