public final class TranslationDetails extends GeneratedMessageV3 implements TranslationDetailsOrBuilder
The translation details to capture the necessary settings for a translation
job.
Protobuf type google.cloud.bigquery.migration.v2.TranslationDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
SOURCE_ENVIRONMENT_FIELD_NUMBER
public static final int SOURCE_ENVIRONMENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SOURCE_TARGET_MAPPING_FIELD_NUMBER
public static final int SOURCE_TARGET_MAPPING_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TARGET_BASE_URI_FIELD_NUMBER
public static final int TARGET_BASE_URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TARGET_RETURN_LITERALS_FIELD_NUMBER
public static final int TARGET_RETURN_LITERALS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TARGET_TYPES_FIELD_NUMBER
public static final int TARGET_TYPES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static TranslationDetails getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TranslationDetails.Builder newBuilder()
newBuilder(TranslationDetails prototype)
public static TranslationDetails.Builder newBuilder(TranslationDetails prototype)
public static TranslationDetails parseDelimitedFrom(InputStream input)
public static TranslationDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TranslationDetails parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TranslationDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TranslationDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TranslationDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TranslationDetails parseFrom(CodedInputStream input)
public static TranslationDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TranslationDetails parseFrom(InputStream input)
public static TranslationDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TranslationDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TranslationDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TranslationDetails> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public TranslationDetails getDefaultInstanceForType()
getParserForType()
public Parser<TranslationDetails> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSourceEnvironment()
public SourceEnvironment getSourceEnvironment()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnvironment source_environment = 3;
getSourceEnvironmentOrBuilder()
public SourceEnvironmentOrBuilder getSourceEnvironmentOrBuilder()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnvironment source_environment = 3;
getSourceTargetMapping(int index)
public SourceTargetMapping getSourceTargetMapping(int index)
The mapping from source to target SQL.
repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;
Parameter |
Name |
Description |
index |
int
|
getSourceTargetMappingCount()
public int getSourceTargetMappingCount()
The mapping from source to target SQL.
repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;
Returns |
Type |
Description |
int |
|
getSourceTargetMappingList()
public List<SourceTargetMapping> getSourceTargetMappingList()
The mapping from source to target SQL.
repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;
getSourceTargetMappingOrBuilder(int index)
public SourceTargetMappingOrBuilder getSourceTargetMappingOrBuilder(int index)
The mapping from source to target SQL.
repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;
Parameter |
Name |
Description |
index |
int
|
getSourceTargetMappingOrBuilderList()
public List<? extends SourceTargetMappingOrBuilder> getSourceTargetMappingOrBuilderList()
The mapping from source to target SQL.
repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.bigquery.migration.v2.SourceTargetMappingOrBuilder> |
|
getTargetBaseUri()
public String getTargetBaseUri()
The base URI for all writes to persistent storage.
string target_base_uri = 2;
Returns |
Type |
Description |
String |
The targetBaseUri.
|
getTargetBaseUriBytes()
public ByteString getTargetBaseUriBytes()
The base URI for all writes to persistent storage.
string target_base_uri = 2;
Returns |
Type |
Description |
ByteString |
The bytes for targetBaseUri.
|
getTargetReturnLiterals(int index)
public String getTargetReturnLiterals(int index)
The list of literal targets that will be directly returned to the response.
Each entry consists of the constructed path, EXCLUDING the base path. Not
providing a target_base_uri will prevent writing to persistent storage.
repeated string target_return_literals = 4;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The targetReturnLiterals at the given index.
|
getTargetReturnLiteralsBytes(int index)
public ByteString getTargetReturnLiteralsBytes(int index)
The list of literal targets that will be directly returned to the response.
Each entry consists of the constructed path, EXCLUDING the base path. Not
providing a target_base_uri will prevent writing to persistent storage.
repeated string target_return_literals = 4;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the targetReturnLiterals at the given index.
|
getTargetReturnLiteralsCount()
public int getTargetReturnLiteralsCount()
The list of literal targets that will be directly returned to the response.
Each entry consists of the constructed path, EXCLUDING the base path. Not
providing a target_base_uri will prevent writing to persistent storage.
repeated string target_return_literals = 4;
Returns |
Type |
Description |
int |
The count of targetReturnLiterals.
|
getTargetReturnLiteralsList()
public ProtocolStringList getTargetReturnLiteralsList()
The list of literal targets that will be directly returned to the response.
Each entry consists of the constructed path, EXCLUDING the base path. Not
providing a target_base_uri will prevent writing to persistent storage.
repeated string target_return_literals = 4;
getTargetTypes(int index)
public String getTargetTypes(int index)
The types of output to generate, e.g. sql, metadata,
lineage_from_sql_scripts, etc. If not specified, a default set of
targets will be generated. Some additional target types may be slower to
generate. See the documentation for the set of available target types.
repeated string target_types = 5;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The targetTypes at the given index.
|
getTargetTypesBytes(int index)
public ByteString getTargetTypesBytes(int index)
The types of output to generate, e.g. sql, metadata,
lineage_from_sql_scripts, etc. If not specified, a default set of
targets will be generated. Some additional target types may be slower to
generate. See the documentation for the set of available target types.
repeated string target_types = 5;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the targetTypes at the given index.
|
getTargetTypesCount()
public int getTargetTypesCount()
The types of output to generate, e.g. sql, metadata,
lineage_from_sql_scripts, etc. If not specified, a default set of
targets will be generated. Some additional target types may be slower to
generate. See the documentation for the set of available target types.
repeated string target_types = 5;
Returns |
Type |
Description |
int |
The count of targetTypes.
|
getTargetTypesList()
public ProtocolStringList getTargetTypesList()
The types of output to generate, e.g. sql, metadata,
lineage_from_sql_scripts, etc. If not specified, a default set of
targets will be generated. Some additional target types may be slower to
generate. See the documentation for the set of available target types.
repeated string target_types = 5;
hasSourceEnvironment()
public boolean hasSourceEnvironment()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnvironment source_environment = 3;
Returns |
Type |
Description |
boolean |
Whether the sourceEnvironment field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TranslationDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TranslationDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public TranslationDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides