Class Target.Builder (0.2.1)

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.v1alpha2.Target

Implements

TargetOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Target build()
Returns
TypeDescription
Target

buildPartial()

public Target buildPartial()
Returns
TypeDescription
Target

clear()

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

clearDatabase()

public Target.Builder clearDatabase()

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

string database = 1;

Returns
TypeDescription
Target.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Target.Builder clearName()

The action's name, within database and schema.

string name = 3;

Returns
TypeDescription
Target.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSchema()

public Target.Builder clearSchema()

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

string schema = 2;

Returns
TypeDescription
Target.Builder

This builder for chaining.

clone()

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

getDatabase()

public String getDatabase()

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

string database = 1;

Returns
TypeDescription
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

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

string database = 1;

Returns
TypeDescription
ByteString

The bytes for database.

getDefaultInstanceForType()

public Target getDefaultInstanceForType()
Returns
TypeDescription
Target

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The action's name, within database and schema.

string name = 3;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The action's name, within database and schema.

string name = 3;

Returns
TypeDescription
ByteString

The bytes for name.

getSchema()

public String getSchema()

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

string schema = 2;

Returns
TypeDescription
String

The schema.

getSchemaBytes()

public ByteString getSchemaBytes()

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

string schema = 2;

Returns
TypeDescription
ByteString

The bytes for schema.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Target other)

public Target.Builder mergeFrom(Target other)
Parameter
NameDescription
otherTarget
Returns
TypeDescription
Target.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDatabase(String value)

public Target.Builder setDatabase(String value)

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

string database = 1;

Parameter
NameDescription
valueString

The database to set.

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

The bytes for database to set.

Returns
TypeDescription
Target.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Target.Builder setName(String value)

The action's name, within database and schema.

string name = 3;

Parameter
NameDescription
valueString

The name to set.

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

The bytes for name to set.

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

The schema to set.

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

The bytes for schema to set.

Returns
TypeDescription
Target.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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