public final class BteqOptions extends GeneratedMessageV3 implements BteqOptionsOrBuilder
BTEQ translation task related settings.
Protobuf type google.cloud.bigquery.migration.v2alpha.BteqOptions
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
DEFAULT_PATH_URI_FIELD_NUMBER
public static final int DEFAULT_PATH_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FILE_REPLACEMENT_MAP_FIELD_NUMBER
public static final int FILE_REPLACEMENT_MAP_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PROJECT_DATASET_FIELD_NUMBER
public static final int PROJECT_DATASET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static BteqOptions getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BteqOptions.Builder newBuilder()
newBuilder(BteqOptions prototype)
public static BteqOptions.Builder newBuilder(BteqOptions prototype)
public static BteqOptions parseDelimitedFrom(InputStream input)
public static BteqOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BteqOptions parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BteqOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BteqOptions parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BteqOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BteqOptions parseFrom(CodedInputStream input)
public static BteqOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BteqOptions parseFrom(InputStream input)
public static BteqOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BteqOptions parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BteqOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BteqOptions> parser()
Methods
containsFileReplacementMap(String key)
public boolean containsFileReplacementMap(String key)
Maps the local paths that are used in BTEQ scripts (the keys) to the paths
in Cloud Storage that should be used in their stead in the translation (the
value).
map<string, string> file_replacement_map = 3;
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public BteqOptions getDefaultInstanceForType()
getDefaultPathUri()
public String getDefaultPathUri()
The Cloud Storage location to be used as the default path for files that
are not otherwise specified in the file replacement map.
string default_path_uri = 2;
Returns |
---|
Type | Description |
String | The defaultPathUri.
|
getDefaultPathUriBytes()
public ByteString getDefaultPathUriBytes()
The Cloud Storage location to be used as the default path for files that
are not otherwise specified in the file replacement map.
string default_path_uri = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for defaultPathUri.
|
getFileReplacementMap()
public Map<String,String> getFileReplacementMap()
getFileReplacementMapCount()
public int getFileReplacementMapCount()
Maps the local paths that are used in BTEQ scripts (the keys) to the paths
in Cloud Storage that should be used in their stead in the translation (the
value).
map<string, string> file_replacement_map = 3;
Returns |
---|
Type | Description |
int | |
getFileReplacementMapMap()
public Map<String,String> getFileReplacementMapMap()
Maps the local paths that are used in BTEQ scripts (the keys) to the paths
in Cloud Storage that should be used in their stead in the translation (the
value).
map<string, string> file_replacement_map = 3;
getFileReplacementMapOrDefault(String key, String defaultValue)
public String getFileReplacementMapOrDefault(String key, String defaultValue)
Maps the local paths that are used in BTEQ scripts (the keys) to the paths
in Cloud Storage that should be used in their stead in the translation (the
value).
map<string, string> file_replacement_map = 3;
getFileReplacementMapOrThrow(String key)
public String getFileReplacementMapOrThrow(String key)
Maps the local paths that are used in BTEQ scripts (the keys) to the paths
in Cloud Storage that should be used in their stead in the translation (the
value).
map<string, string> file_replacement_map = 3;
Parameter |
---|
Name | Description |
key | String
|
getParserForType()
public Parser<BteqOptions> getParserForType()
Overrides
getProjectDataset()
public DatasetReference getProjectDataset()
Specifies the project and dataset in BigQuery that will be used for
external table creation during the translation.
.google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
getProjectDatasetOrBuilder()
public DatasetReferenceOrBuilder getProjectDatasetOrBuilder()
Specifies the project and dataset in BigQuery that will be used for
external table creation during the translation.
.google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasProjectDataset()
public boolean hasProjectDataset()
Specifies the project and dataset in BigQuery that will be used for
external table creation during the translation.
.google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;
Returns |
---|
Type | Description |
boolean | Whether the projectDataset field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BteqOptions.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BteqOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public BteqOptions.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides