public static final class ApiConfig.Builder extends GeneratedMessage.Builder<ApiConfig.Builder> implements ApiConfigOrBuilderProtobuf type grpc.gcp.ApiConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ApiConfig.BuilderImplements
ApiConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllMethod(Iterable<? extends MethodConfig> values)
public ApiConfig.Builder addAllMethod(Iterable<? extends MethodConfig> values)The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.grpc.proto.MethodConfig> |
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
addMethod(MethodConfig value)
public ApiConfig.Builder addMethod(MethodConfig value)The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Parameter | |
|---|---|
| Name | Description |
value |
MethodConfig |
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
addMethod(MethodConfig.Builder builderForValue)
public ApiConfig.Builder addMethod(MethodConfig.Builder builderForValue)The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MethodConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
addMethod(int index, MethodConfig value)
public ApiConfig.Builder addMethod(int index, MethodConfig value)The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MethodConfig |
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
addMethod(int index, MethodConfig.Builder builderForValue)
public ApiConfig.Builder addMethod(int index, MethodConfig.Builder builderForValue)The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MethodConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
addMethodBuilder()
public MethodConfig.Builder addMethodBuilder()The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Returns | |
|---|---|
| Type | Description |
MethodConfig.Builder |
|
addMethodBuilder(int index)
public MethodConfig.Builder addMethodBuilder(int index)The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MethodConfig.Builder |
|
build()
public ApiConfig build()| Returns | |
|---|---|
| Type | Description |
ApiConfig |
|
buildPartial()
public ApiConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
ApiConfig |
|
clear()
public ApiConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
clearChannelPool() (deprecated)
public ApiConfig.Builder clearChannelPool()Deprecated. Use GcpManagedChannelOptions.GcpChannelPoolOptions class. The channel pool configurations.
.grpc.gcp.ChannelPoolConfig channel_pool = 2 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
clearMethod()
public ApiConfig.Builder clearMethod()The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
getChannelPool() (deprecated)
public ChannelPoolConfig getChannelPool()Deprecated. grpc.gcp.ApiConfig.channel_pool is deprecated. See google/grpc/gcp/proto/grpc_gcp.proto;l=25
Deprecated. Use GcpManagedChannelOptions.GcpChannelPoolOptions class. The channel pool configurations.
.grpc.gcp.ChannelPoolConfig channel_pool = 2 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig |
The channelPool. |
getChannelPoolBuilder() (deprecated)
public ChannelPoolConfig.Builder getChannelPoolBuilder()Deprecated. Use GcpManagedChannelOptions.GcpChannelPoolOptions class. The channel pool configurations.
.grpc.gcp.ChannelPoolConfig channel_pool = 2 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfig.Builder |
|
getChannelPoolOrBuilder() (deprecated)
public ChannelPoolConfigOrBuilder getChannelPoolOrBuilder()Deprecated. Use GcpManagedChannelOptions.GcpChannelPoolOptions class. The channel pool configurations.
.grpc.gcp.ChannelPoolConfig channel_pool = 2 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
ChannelPoolConfigOrBuilder |
|
getDefaultInstanceForType()
public ApiConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ApiConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMethod(int index)
public MethodConfig getMethod(int index)The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MethodConfig |
|
getMethodBuilder(int index)
public MethodConfig.Builder getMethodBuilder(int index)The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MethodConfig.Builder |
|
getMethodBuilderList()
public List<MethodConfig.Builder> getMethodBuilderList()The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getMethodCount()
public int getMethodCount()The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Returns | |
|---|---|
| Type | Description |
int |
|
getMethodList()
public List<MethodConfig> getMethodList()The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Returns | |
|---|---|
| Type | Description |
List<MethodConfig> |
|
getMethodOrBuilder(int index)
public MethodConfigOrBuilder getMethodOrBuilder(int index)The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MethodConfigOrBuilder |
|
getMethodOrBuilderList()
public List<? extends MethodConfigOrBuilder> getMethodOrBuilderList()The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.grpc.proto.MethodConfigOrBuilder> |
|
hasChannelPool() (deprecated)
public boolean hasChannelPool()Deprecated. grpc.gcp.ApiConfig.channel_pool is deprecated. See google/grpc/gcp/proto/grpc_gcp.proto;l=25
Deprecated. Use GcpManagedChannelOptions.GcpChannelPoolOptions class. The channel pool configurations.
.grpc.gcp.ChannelPoolConfig channel_pool = 2 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the channelPool field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeChannelPool(ChannelPoolConfig value) (deprecated)
public ApiConfig.Builder mergeChannelPool(ChannelPoolConfig value)Deprecated. Use GcpManagedChannelOptions.GcpChannelPoolOptions class. The channel pool configurations.
.grpc.gcp.ChannelPoolConfig channel_pool = 2 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
ChannelPoolConfig |
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
mergeFrom(ApiConfig other)
public ApiConfig.Builder mergeFrom(ApiConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ApiConfig |
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ApiConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ApiConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
removeMethod(int index)
public ApiConfig.Builder removeMethod(int index)The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
setChannelPool(ChannelPoolConfig value) (deprecated)
public ApiConfig.Builder setChannelPool(ChannelPoolConfig value)Deprecated. Use GcpManagedChannelOptions.GcpChannelPoolOptions class. The channel pool configurations.
.grpc.gcp.ChannelPoolConfig channel_pool = 2 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
ChannelPoolConfig |
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
setChannelPool(ChannelPoolConfig.Builder builderForValue) (deprecated)
public ApiConfig.Builder setChannelPool(ChannelPoolConfig.Builder builderForValue)Deprecated. Use GcpManagedChannelOptions.GcpChannelPoolOptions class. The channel pool configurations.
.grpc.gcp.ChannelPoolConfig channel_pool = 2 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ChannelPoolConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
setMethod(int index, MethodConfig value)
public ApiConfig.Builder setMethod(int index, MethodConfig value)The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MethodConfig |
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
setMethod(int index, MethodConfig.Builder builderForValue)
public ApiConfig.Builder setMethod(int index, MethodConfig.Builder builderForValue)The method configurations.
repeated .grpc.gcp.MethodConfig method = 1001;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MethodConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|