Class SpannerOptions.Builder (6.82.0)

public static final class SpannerOptions.Builder extends GeneratedMessageV3.Builder<SpannerOptions.Builder> implements SpannerOptionsOrBuilder

Options for Cloud Spanner Service.

Protobuf type google.spanner.executor.v1.SpannerOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SpannerOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SpannerOptions.Builder
Overrides

build()

public SpannerOptions build()
Returns
Type Description
SpannerOptions

buildPartial()

public SpannerOptions buildPartial()
Returns
Type Description
SpannerOptions

clear()

public SpannerOptions.Builder clear()
Returns
Type Description
SpannerOptions.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SpannerOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SpannerOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SpannerOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SpannerOptions.Builder
Overrides

clearSessionPoolOptions()

public SpannerOptions.Builder clearSessionPoolOptions()

Options for configuring the session pool

.google.spanner.executor.v1.SessionPoolOptions session_pool_options = 1;

Returns
Type Description
SpannerOptions.Builder

clone()

public SpannerOptions.Builder clone()
Returns
Type Description
SpannerOptions.Builder
Overrides

getDefaultInstanceForType()

public SpannerOptions getDefaultInstanceForType()
Returns
Type Description
SpannerOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSessionPoolOptions()

public SessionPoolOptions getSessionPoolOptions()

Options for configuring the session pool

.google.spanner.executor.v1.SessionPoolOptions session_pool_options = 1;

Returns
Type Description
SessionPoolOptions

The sessionPoolOptions.

getSessionPoolOptionsBuilder()

public SessionPoolOptions.Builder getSessionPoolOptionsBuilder()

Options for configuring the session pool

.google.spanner.executor.v1.SessionPoolOptions session_pool_options = 1;

Returns
Type Description
SessionPoolOptions.Builder

getSessionPoolOptionsOrBuilder()

public SessionPoolOptionsOrBuilder getSessionPoolOptionsOrBuilder()

Options for configuring the session pool

.google.spanner.executor.v1.SessionPoolOptions session_pool_options = 1;

Returns
Type Description
SessionPoolOptionsOrBuilder

hasSessionPoolOptions()

public boolean hasSessionPoolOptions()

Options for configuring the session pool

.google.spanner.executor.v1.SessionPoolOptions session_pool_options = 1;

Returns
Type Description
boolean

Whether the sessionPoolOptions field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SpannerOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SpannerOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SpannerOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SpannerOptions.Builder
Overrides

mergeFrom(SpannerOptions other)

public SpannerOptions.Builder mergeFrom(SpannerOptions other)
Parameter
Name Description
other SpannerOptions
Returns
Type Description
SpannerOptions.Builder

mergeSessionPoolOptions(SessionPoolOptions value)

public SpannerOptions.Builder mergeSessionPoolOptions(SessionPoolOptions value)

Options for configuring the session pool

.google.spanner.executor.v1.SessionPoolOptions session_pool_options = 1;

Parameter
Name Description
value SessionPoolOptions
Returns
Type Description
SpannerOptions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SpannerOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SpannerOptions.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SpannerOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SpannerOptions.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SpannerOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SpannerOptions.Builder
Overrides

setSessionPoolOptions(SessionPoolOptions value)

public SpannerOptions.Builder setSessionPoolOptions(SessionPoolOptions value)

Options for configuring the session pool

.google.spanner.executor.v1.SessionPoolOptions session_pool_options = 1;

Parameter
Name Description
value SessionPoolOptions
Returns
Type Description
SpannerOptions.Builder

setSessionPoolOptions(SessionPoolOptions.Builder builderForValue)

public SpannerOptions.Builder setSessionPoolOptions(SessionPoolOptions.Builder builderForValue)

Options for configuring the session pool

.google.spanner.executor.v1.SessionPoolOptions session_pool_options = 1;

Parameter
Name Description
builderForValue SessionPoolOptions.Builder
Returns
Type Description
SpannerOptions.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SpannerOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SpannerOptions.Builder
Overrides