Class TargetSpec (0.58.0)

public final class TargetSpec extends GeneratedMessageV3 implements TargetSpecOrBuilder

Represents one path to the location that holds target data.

Protobuf type google.cloud.bigquery.migration.v2.TargetSpec

Implements

TargetSpecOrBuilder

Static Fields

RELATIVE_PATH_FIELD_NUMBER

public static final int RELATIVE_PATH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TargetSpec getDefaultInstance()
Returns
Type Description
TargetSpec

getDescriptor()

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

newBuilder()

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

newBuilder(TargetSpec prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TargetSpec getDefaultInstanceForType()
Returns
Type Description
TargetSpec

getParserForType()

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

getRelativePath()

public String getRelativePath()

The relative path for the target data. Given source file base_uri/input/sql, the output would be target_base_uri/sql/relative_path/input.sql.

string relative_path = 1;

Returns
Type Description
String

The relativePath.

getRelativePathBytes()

public ByteString getRelativePathBytes()

The relative path for the target data. Given source file base_uri/input/sql, the output would be target_base_uri/sql/relative_path/input.sql.

string relative_path = 1;

Returns
Type Description
ByteString

The bytes for relativePath.

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 TargetSpec.Builder newBuilderForType()
Returns
Type Description
TargetSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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