Class SpannerIODetails.Builder (0.14.1)

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.events.cloud.dataflow.v1beta3.SpannerIODetails

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SpannerIODetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SpannerIODetails.Builder
Overrides

build()

public SpannerIODetails build()
Returns
TypeDescription
SpannerIODetails

buildPartial()

public SpannerIODetails buildPartial()
Returns
TypeDescription
SpannerIODetails

clear()

public SpannerIODetails.Builder clear()
Returns
TypeDescription
SpannerIODetails.Builder
Overrides

clearDatabaseId()

public SpannerIODetails.Builder clearDatabaseId()

DatabaseId accessed in the connection.

string database_id = 3;

Returns
TypeDescription
SpannerIODetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SpannerIODetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SpannerIODetails.Builder
Overrides

clearInstanceId()

public SpannerIODetails.Builder clearInstanceId()

InstanceId accessed in the connection.

string instance_id = 2;

Returns
TypeDescription
SpannerIODetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SpannerIODetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SpannerIODetails.Builder
Overrides

clearProjectId()

public SpannerIODetails.Builder clearProjectId()

ProjectId accessed in the connection.

string project_id = 1;

Returns
TypeDescription
SpannerIODetails.Builder

This builder for chaining.

clone()

public SpannerIODetails.Builder clone()
Returns
TypeDescription
SpannerIODetails.Builder
Overrides

getDatabaseId()

public String getDatabaseId()

DatabaseId accessed in the connection.

string database_id = 3;

Returns
TypeDescription
String

The databaseId.

getDatabaseIdBytes()

public ByteString getDatabaseIdBytes()

DatabaseId accessed in the connection.

string database_id = 3;

Returns
TypeDescription
ByteString

The bytes for databaseId.

getDefaultInstanceForType()

public SpannerIODetails getDefaultInstanceForType()
Returns
TypeDescription
SpannerIODetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstanceId()

public String getInstanceId()

InstanceId accessed in the connection.

string instance_id = 2;

Returns
TypeDescription
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

InstanceId accessed in the connection.

string instance_id = 2;

Returns
TypeDescription
ByteString

The bytes for instanceId.

getProjectId()

public String getProjectId()

ProjectId accessed in the connection.

string project_id = 1;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

ProjectId accessed in the connection.

string project_id = 1;

Returns
TypeDescription
ByteString

The bytes for projectId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SpannerIODetails other)

public SpannerIODetails.Builder mergeFrom(SpannerIODetails other)
Parameter
NameDescription
otherSpannerIODetails
Returns
TypeDescription
SpannerIODetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SpannerIODetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SpannerIODetails.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SpannerIODetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SpannerIODetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SpannerIODetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SpannerIODetails.Builder
Overrides

setDatabaseId(String value)

public SpannerIODetails.Builder setDatabaseId(String value)

DatabaseId accessed in the connection.

string database_id = 3;

Parameter
NameDescription
valueString

The databaseId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for databaseId to set.

Returns
TypeDescription
SpannerIODetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SpannerIODetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SpannerIODetails.Builder
Overrides

setInstanceId(String value)

public SpannerIODetails.Builder setInstanceId(String value)

InstanceId accessed in the connection.

string instance_id = 2;

Parameter
NameDescription
valueString

The instanceId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for instanceId to set.

Returns
TypeDescription
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
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SpannerIODetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SpannerIODetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SpannerIODetails.Builder
Overrides