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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SpannerOptions.BuilderImplements
SpannerOptionsOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public SpannerOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SpannerOptions.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SpannerOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SpannerOptions.Builder |
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 |
getDefaultInstanceForType()
public SpannerOptions getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SpannerOptions |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SpannerOptions.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SpannerOptions.Builder |
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 |
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 |
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 |
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 |