Interface SourceSpecOrBuilder (0.52.0)

public interface SourceSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBaseUri()

public abstract String getBaseUri()

The base URI for all files to be read in as sources for translation.

string base_uri = 1;

Returns
Type Description
String

The baseUri.

getBaseUriBytes()

public abstract ByteString getBaseUriBytes()

The base URI for all files to be read in as sources for translation.

string base_uri = 1;

Returns
Type Description
ByteString

The bytes for baseUri.

getEncoding()

public abstract String getEncoding()

Optional. The optional field to specify the encoding of the sql bytes.

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

Returns
Type Description
String

The encoding.

getEncodingBytes()

public abstract ByteString getEncodingBytes()

Optional. The optional field to specify the encoding of the sql bytes.

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

Returns
Type Description
ByteString

The bytes for encoding.

getLiteral()

public abstract Literal getLiteral()

Source literal.

.google.cloud.bigquery.migration.v2.Literal literal = 2;

Returns
Type Description
Literal

The literal.

getLiteralOrBuilder()

public abstract LiteralOrBuilder getLiteralOrBuilder()

Source literal.

.google.cloud.bigquery.migration.v2.Literal literal = 2;

Returns
Type Description
LiteralOrBuilder

getSourceCase()

public abstract SourceSpec.SourceCase getSourceCase()
Returns
Type Description
SourceSpec.SourceCase

hasBaseUri()

public abstract boolean hasBaseUri()

The base URI for all files to be read in as sources for translation.

string base_uri = 1;

Returns
Type Description
boolean

Whether the baseUri field is set.

hasLiteral()

public abstract boolean hasLiteral()

Source literal.

.google.cloud.bigquery.migration.v2.Literal literal = 2;

Returns
Type Description
boolean

Whether the literal field is set.