public final class ChannelPoolConfig extends GeneratedMessage implements ChannelPoolConfigOrBuilderDeprecated. Use GcpManagedChannelOptions.GcpChannelPoolOptions class.
Protobuf type grpc.gcp.ChannelPoolConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ChannelPoolConfigImplements
ChannelPoolConfigOrBuilderStatic Fields
IDLE_TIMEOUT_FIELD_NUMBER (deprecated)
public static final int IDLE_TIMEOUT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MAX_CONCURRENT_STREAMS_LOW_WATERMARK_FIELD_NUMBER (deprecated)
public static final int MAX_CONCURRENT_STREAMS_LOW_WATERMARK_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MAX_SIZE_FIELD_NUMBER (deprecated)
public static final int MAX_SIZE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance() (deprecated)
public static ChannelPoolConfig getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig |
|
getDescriptor() (deprecated)
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder() (deprecated)
public static ChannelPoolConfig.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig.Builder |
|
newBuilder(ChannelPoolConfig prototype) (deprecated)
public static ChannelPoolConfig.Builder newBuilder(ChannelPoolConfig prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ChannelPoolConfig |
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig.Builder |
|
parseDelimitedFrom(InputStream input) (deprecated)
public static ChannelPoolConfig parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)
public static ChannelPoolConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data) (deprecated)
public static ChannelPoolConfig parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) (deprecated)
public static ChannelPoolConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data) (deprecated)
public static ChannelPoolConfig parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) (deprecated)
public static ChannelPoolConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input) (deprecated)
public static ChannelPoolConfig parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)
public static ChannelPoolConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input) (deprecated)
public static ChannelPoolConfig parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)
public static ChannelPoolConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data) (deprecated)
public static ChannelPoolConfig parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) (deprecated)
public static ChannelPoolConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser() (deprecated)
public static Parser<ChannelPoolConfig> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ChannelPoolConfig> |
|
Methods
equals(Object obj) (deprecated)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType() (deprecated)
public ChannelPoolConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig |
|
getIdleTimeout() (deprecated)
public long getIdleTimeout()The idle timeout (seconds) of channels without bound affinity sessions.
uint64 idle_timeout = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The idleTimeout. |
getMaxConcurrentStreamsLowWatermark() (deprecated)
public int getMaxConcurrentStreamsLowWatermark()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;
| Returns | |
|---|---|
| Type | Description |
int |
The maxConcurrentStreamsLowWatermark. |
getMaxSize() (deprecated)
public int getMaxSize()The max number of channels in the pool.
uint32 max_size = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The maxSize. |
getParserForType() (deprecated)
public Parser<ChannelPoolConfig> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ChannelPoolConfig> |
|
getSerializedSize() (deprecated)
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode() (deprecated)
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable() (deprecated)
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized() (deprecated)
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType() (deprecated)
public ChannelPoolConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent) (deprecated)
protected ChannelPoolConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig.Builder |
|
toBuilder() (deprecated)
public ChannelPoolConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig.Builder |
|
writeTo(CodedOutputStream output) (deprecated)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|