Class SourceEnv (0.30.0)

public final class SourceEnv extends GeneratedMessageV3 implements SourceEnvOrBuilder

Represents the default source environment values for the translation.

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

Implements

SourceEnvOrBuilder

Static Fields

DEFAULT_DATABASE_FIELD_NUMBER

public static final int DEFAULT_DATABASE_FIELD_NUMBER
Field Value
TypeDescription
int

SCHEMA_SEARCH_PATH_FIELD_NUMBER

public static final int SCHEMA_SEARCH_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SourceEnv getDefaultInstance()
Returns
TypeDescription
SourceEnv

getDescriptor()

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

newBuilder()

public static SourceEnv.Builder newBuilder()
Returns
TypeDescription
SourceEnv.Builder

newBuilder(SourceEnv prototype)

public static SourceEnv.Builder newBuilder(SourceEnv prototype)
Parameter
NameDescription
prototypeSourceEnv
Returns
TypeDescription
SourceEnv.Builder

parseDelimitedFrom(InputStream input)

public static SourceEnv parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SourceEnv
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceEnv parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceEnv
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SourceEnv parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SourceEnv
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SourceEnv parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceEnv
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SourceEnv parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SourceEnv
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SourceEnv parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceEnv
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SourceEnv parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SourceEnv
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceEnv parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceEnv
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SourceEnv parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SourceEnv
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceEnv parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceEnv
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SourceEnv parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SourceEnv
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SourceEnv parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceEnv
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SourceEnv> parser()
Returns
TypeDescription
Parser<SourceEnv>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultDatabase()

public String getDefaultDatabase()

The default database name to fully qualify SQL objects when their database name is missing.

string default_database = 1;

Returns
TypeDescription
String

The defaultDatabase.

getDefaultDatabaseBytes()

public ByteString getDefaultDatabaseBytes()

The default database name to fully qualify SQL objects when their database name is missing.

string default_database = 1;

Returns
TypeDescription
ByteString

The bytes for defaultDatabase.

getDefaultInstanceForType()

public SourceEnv getDefaultInstanceForType()
Returns
TypeDescription
SourceEnv

getParserForType()

public Parser<SourceEnv> getParserForType()
Returns
TypeDescription
Parser<SourceEnv>
Overrides

getSchemaSearchPath(int index)

public String getSchemaSearchPath(int index)

The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.

repeated string schema_search_path = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The schemaSearchPath at the given index.

getSchemaSearchPathBytes(int index)

public ByteString getSchemaSearchPathBytes(int index)

The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.

repeated string schema_search_path = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the schemaSearchPath at the given index.

getSchemaSearchPathCount()

public int getSchemaSearchPathCount()

The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.

repeated string schema_search_path = 2;

Returns
TypeDescription
int

The count of schemaSearchPath.

getSchemaSearchPathList()

public ProtocolStringList getSchemaSearchPathList()

The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.

repeated string schema_search_path = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the schemaSearchPath.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SourceEnv.Builder newBuilderForType()
Returns
TypeDescription
SourceEnv.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SourceEnv.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SourceEnv.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SourceEnv.Builder toBuilder()
Returns
TypeDescription
SourceEnv.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException