public static final class SessionPoolOptions.Builder extends GeneratedMessageV3.Builder<SessionPoolOptions.Builder> implements SessionPoolOptionsOrBuilder
Options for the session pool used by the DatabaseClient.
Protobuf type google.spanner.executor.v1.SessionPoolOptions
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SessionPoolOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SessionPoolOptions build()
buildPartial()
public SessionPoolOptions buildPartial()
clear()
public SessionPoolOptions.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SessionPoolOptions.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SessionPoolOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUseMultiplexed()
public SessionPoolOptions.Builder clearUseMultiplexed()
passing this as true, will make applicable RPCs use multiplexed sessions
instead of regular sessions
bool use_multiplexed = 1;
clone()
public SessionPoolOptions.Builder clone()
Overrides
getDefaultInstanceForType()
public SessionPoolOptions getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUseMultiplexed()
public boolean getUseMultiplexed()
passing this as true, will make applicable RPCs use multiplexed sessions
instead of regular sessions
bool use_multiplexed = 1;
Returns |
Type |
Description |
boolean |
The useMultiplexed.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public SessionPoolOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SessionPoolOptions.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(SessionPoolOptions other)
public SessionPoolOptions.Builder mergeFrom(SessionPoolOptions other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SessionPoolOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SessionPoolOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SessionPoolOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SessionPoolOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUseMultiplexed(boolean value)
public SessionPoolOptions.Builder setUseMultiplexed(boolean value)
passing this as true, will make applicable RPCs use multiplexed sessions
instead of regular sessions
bool use_multiplexed = 1;
Parameter |
Name |
Description |
value |
boolean
The useMultiplexed to set.
|