Class SpannerIODetails.Builder (0.47.0)

public static final class SpannerIODetails.Builder extends GeneratedMessageV3.Builder<SpannerIODetails.Builder> implements SpannerIODetailsOrBuilder

Metadata for a Spanner connector used by the job.

Protobuf type google.dataflow.v1beta3.SpannerIODetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SpannerIODetails build()
Returns
Type Description
SpannerIODetails

buildPartial()

public SpannerIODetails buildPartial()
Returns
Type Description
SpannerIODetails

clear()

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

clearDatabaseId()

public SpannerIODetails.Builder clearDatabaseId()

DatabaseId accessed in the connection.

string database_id = 3;

Returns
Type Description
SpannerIODetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceId()

public SpannerIODetails.Builder clearInstanceId()

InstanceId accessed in the connection.

string instance_id = 2;

Returns
Type Description
SpannerIODetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectId()

public SpannerIODetails.Builder clearProjectId()

ProjectId accessed in the connection.

string project_id = 1;

Returns
Type Description
SpannerIODetails.Builder

This builder for chaining.

clone()

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

getDatabaseId()

public String getDatabaseId()

DatabaseId accessed in the connection.

string database_id = 3;

Returns
Type Description
String

The databaseId.

getDatabaseIdBytes()

public ByteString getDatabaseIdBytes()

DatabaseId accessed in the connection.

string database_id = 3;

Returns
Type Description
ByteString

The bytes for databaseId.

getDefaultInstanceForType()

public SpannerIODetails getDefaultInstanceForType()
Returns
Type Description
SpannerIODetails

getDescriptorForType()

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

getInstanceId()

public String getInstanceId()

InstanceId accessed in the connection.

string instance_id = 2;

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

InstanceId accessed in the connection.

string instance_id = 2;

Returns
Type Description
ByteString

The bytes for instanceId.

getProjectId()

public String getProjectId()

ProjectId accessed in the connection.

string project_id = 1;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

ProjectId accessed in the connection.

string project_id = 1;

Returns
Type Description
ByteString

The bytes for projectId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SpannerIODetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDatabaseId(String value)

public SpannerIODetails.Builder setDatabaseId(String value)

DatabaseId accessed in the connection.

string database_id = 3;

Parameter
Name Description
value String

The databaseId to set.

Returns
Type Description
SpannerIODetails.Builder

This builder for chaining.

setDatabaseIdBytes(ByteString value)

public SpannerIODetails.Builder setDatabaseIdBytes(ByteString value)

DatabaseId accessed in the connection.

string database_id = 3;

Parameter
Name Description
value ByteString

The bytes for databaseId to set.

Returns
Type Description
SpannerIODetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceId(String value)

public SpannerIODetails.Builder setInstanceId(String value)

InstanceId accessed in the connection.

string instance_id = 2;

Parameter
Name Description
value String

The instanceId to set.

Returns
Type Description
SpannerIODetails.Builder

This builder for chaining.

setInstanceIdBytes(ByteString value)

public SpannerIODetails.Builder setInstanceIdBytes(ByteString value)

InstanceId accessed in the connection.

string instance_id = 2;

Parameter
Name Description
value ByteString

The bytes for instanceId to set.

Returns
Type Description
SpannerIODetails.Builder

This builder for chaining.

setProjectId(String value)

public SpannerIODetails.Builder setProjectId(String value)

ProjectId accessed in the connection.

string project_id = 1;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
SpannerIODetails.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public SpannerIODetails.Builder setProjectIdBytes(ByteString value)

ProjectId accessed in the connection.

string project_id = 1;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
SpannerIODetails.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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