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
Static Fields
DEFAULT_DATABASE_FIELD_NUMBER
public static final int DEFAULT_DATABASE_FIELD_NUMBER
Field Value
SCHEMA_SEARCH_PATH_FIELD_NUMBER
public static final int SCHEMA_SEARCH_PATH_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SourceEnv getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SourceEnv.Builder newBuilder()
Returns
newBuilder(SourceEnv prototype)
public static SourceEnv.Builder newBuilder(SourceEnv prototype)
Parameter
Returns
public static SourceEnv parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SourceEnv parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SourceEnv parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SourceEnv parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SourceEnv parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SourceEnv parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SourceEnv parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SourceEnv parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SourceEnv parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SourceEnv parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SourceEnv parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SourceEnv parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SourceEnv> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Type | Description |
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
Type | Description |
ByteString | The bytes for defaultDatabase.
|
getDefaultInstanceForType()
public SourceEnv getDefaultInstanceForType()
Returns
getParserForType()
public Parser<SourceEnv> getParserForType()
Returns
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
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
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
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
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
Type | Description |
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SourceEnv.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SourceEnv.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SourceEnv.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions