Class Target (0.39.0)

public final class Target extends GeneratedMessageV3 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 Fields

DATABASE_FIELD_NUMBER

public static final int DATABASE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SCHEMA_FIELD_NUMBER

public static final int SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Target getDefaultInstance()
Returns
Type Description
Target

getDescriptor()

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

newBuilder()

public static Target.Builder newBuilder()
Returns
Type Description
Target.Builder

newBuilder(Target prototype)

public static Target.Builder newBuilder(Target prototype)
Parameter
Name Description
prototype Target
Returns
Type Description
Target.Builder

parseDelimitedFrom(InputStream input)

public static Target parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Target
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Target parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Target
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Target parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Target
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Target parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Target
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Target parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Target
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Target parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Target
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Target parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Target
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Target parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Target
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Target parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Target
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Target parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Target
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Target parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Target
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Target parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Target
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Target> parser()
Returns
Type Description
Parser<Target>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<Target> getParserForType()
Returns
Type Description
Parser<Target>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Target.Builder newBuilderForType()
Returns
Type Description
Target.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Target.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Target.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Target.Builder toBuilder()
Returns
Type Description
Target.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException