Class Target.Builder (0.51.0)

public static final class Target.Builder extends GeneratedMessageV3.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.v1beta1.Target

Implements

TargetOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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()

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

string database = 1;

Returns
Type Description
Target.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Target.Builder clearName()

The action's name, within database and schema.

string name = 3;

Returns
Type Description
Target.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSchema()

public Target.Builder clearSchema()

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

string schema = 2;

Returns
Type Description
Target.Builder

This builder for chaining.

clone()

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

getDatabase()

public String getDatabase()

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

string database = 1;

Returns
Type Description
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

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

string database = 1;

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()

The action's name, within database and schema.

string name = 3;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The action's name, within database and schema.

string name = 3;

Returns
Type Description
ByteString

The bytes for name.

getSchema()

public String getSchema()

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

string schema = 2;

Returns
Type Description
String

The schema.

getSchemaBytes()

public ByteString getSchemaBytes()

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

string schema = 2;

Returns
Type Description
ByteString

The bytes for schema.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDatabase(String value)

public Target.Builder setDatabase(String value)

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

string database = 1;

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)

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

string database = 1;

Parameter
Name Description
value ByteString

The bytes for database to set.

Returns
Type Description
Target.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Target.Builder setName(String value)

The action's name, within database and schema.

string name = 3;

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)

The action's name, within database and schema.

string name = 3;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Target.Builder

This builder for chaining.

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

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

setSchema(String value)

public Target.Builder setSchema(String value)

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

string schema = 2;

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)

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

string schema = 2;

Parameter
Name Description
value ByteString

The bytes for schema to set.

Returns
Type Description
Target.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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