Class Target.Builder (0.84.0)

public static final class Target.Builder extends GeneratedMessage.Builder<Target.Builder> implements TargetOrBuilder

Represents an action identifier. If the action writes output, the output will be written to the referenced database object.

Protobuf type google.cloud.dataform.v1.Target

Implements

TargetOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public Target build()
Returns
Type Description
Target

buildPartial()

public Target buildPartial()
Returns
Type Description
Target

clear()

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

clearDatabase()

public Target.Builder clearDatabase()

Optional. The action's database (Google Cloud project ID) .

string database = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Target.Builder

This builder for chaining.

clearName()

public Target.Builder clearName()

Optional. The action's name, within database and schema.

string name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Target.Builder

This builder for chaining.

clearSchema()

public Target.Builder clearSchema()

Optional. The action's schema (BigQuery dataset ID), within database.

string schema = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Target.Builder

This builder for chaining.

getDatabase()

public String getDatabase()

Optional. The action's database (Google Cloud project ID) .

string database = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

Optional. The action's database (Google Cloud project ID) .

string database = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for database.

getDefaultInstanceForType()

public Target getDefaultInstanceForType()
Returns
Type Description
Target

getDescriptorForType()

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

getName()

public String getName()

Optional. The action's name, within database and schema.

string name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. The action's name, within database and schema.

string name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for name.

getSchema()

public String getSchema()

Optional. The action's schema (BigQuery dataset ID), within database.

string schema = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The schema.

getSchemaBytes()

public ByteString getSchemaBytes()

Optional. The action's schema (BigQuery dataset ID), within database.

string schema = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for schema.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Target other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDatabase(String value)

public Target.Builder setDatabase(String value)

Optional. The action's database (Google Cloud project ID) .

string database = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The database to set.

Returns
Type Description
Target.Builder

This builder for chaining.

setDatabaseBytes(ByteString value)

public Target.Builder setDatabaseBytes(ByteString value)

Optional. The action's database (Google Cloud project ID) .

string database = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for database to set.

Returns
Type Description
Target.Builder

This builder for chaining.

setName(String value)

public Target.Builder setName(String value)

Optional. The action's name, within database and schema.

string name = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Target.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Target.Builder setNameBytes(ByteString value)

Optional. The action's name, within database and schema.

string name = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Target.Builder

This builder for chaining.

setSchema(String value)

public Target.Builder setSchema(String value)

Optional. The action's schema (BigQuery dataset ID), within database.

string schema = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The schema to set.

Returns
Type Description
Target.Builder

This builder for chaining.

setSchemaBytes(ByteString value)

public Target.Builder setSchemaBytes(ByteString value)

Optional. The action's schema (BigQuery dataset ID), within database.

string schema = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for schema to set.

Returns
Type Description
Target.Builder

This builder for chaining.