- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.5
- 2.2.0
- 2.1.13
public static final class GlossaryInputConfig.Builder extends GeneratedMessageV3.Builder<GlossaryInputConfig.Builder> implements GlossaryInputConfigOrBuilder
Input configuration for glossaries.
Protobuf type google.cloud.translation.v3.GlossaryInputConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GlossaryInputConfig.BuilderImplements
GlossaryInputConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GlossaryInputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |
build()
public GlossaryInputConfig build()
Returns | |
---|---|
Type | Description |
GlossaryInputConfig |
buildPartial()
public GlossaryInputConfig buildPartial()
Returns | |
---|---|
Type | Description |
GlossaryInputConfig |
clear()
public GlossaryInputConfig.Builder clear()
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public GlossaryInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |
clearGcsSource()
public GlossaryInputConfig.Builder clearGcsSource()
Required. Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats:
For unidirectional glossaries:
TSV/CSV (
.tsv
/.csv
): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names.TMX (
.tmx
): TMX file with parallel data defining source/target term pairs.For equivalent term sets glossaries:
CSV (
.csv
): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - glossaries.
.google.cloud.translation.v3.GcsSource gcs_source = 1;
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GlossaryInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |
clearSource()
public GlossaryInputConfig.Builder clearSource()
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |
clone()
public GlossaryInputConfig.Builder clone()
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |
getDefaultInstanceForType()
public GlossaryInputConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GlossaryInputConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGcsSource()
public GcsSource getGcsSource()
Required. Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats:
For unidirectional glossaries:
TSV/CSV (
.tsv
/.csv
): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names.TMX (
.tmx
): TMX file with parallel data defining source/target term pairs.For equivalent term sets glossaries:
CSV (
.csv
): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - glossaries.
.google.cloud.translation.v3.GcsSource gcs_source = 1;
Returns | |
---|---|
Type | Description |
GcsSource | The gcsSource. |
getGcsSourceBuilder()
public GcsSource.Builder getGcsSourceBuilder()
Required. Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats:
For unidirectional glossaries:
TSV/CSV (
.tsv
/.csv
): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names.TMX (
.tmx
): TMX file with parallel data defining source/target term pairs.For equivalent term sets glossaries:
CSV (
.csv
): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - glossaries.
.google.cloud.translation.v3.GcsSource gcs_source = 1;
Returns | |
---|---|
Type | Description |
GcsSource.Builder |
getGcsSourceOrBuilder()
public GcsSourceOrBuilder getGcsSourceOrBuilder()
Required. Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats:
For unidirectional glossaries:
TSV/CSV (
.tsv
/.csv
): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names.TMX (
.tmx
): TMX file with parallel data defining source/target term pairs.For equivalent term sets glossaries:
CSV (
.csv
): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - glossaries.
.google.cloud.translation.v3.GcsSource gcs_source = 1;
Returns | |
---|---|
Type | Description |
GcsSourceOrBuilder |
getSourceCase()
public GlossaryInputConfig.SourceCase getSourceCase()
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.SourceCase |
hasGcsSource()
public boolean hasGcsSource()
Required. Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats:
For unidirectional glossaries:
TSV/CSV (
.tsv
/.csv
): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names.TMX (
.tmx
): TMX file with parallel data defining source/target term pairs.For equivalent term sets glossaries:
CSV (
.csv
): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - glossaries.
.google.cloud.translation.v3.GcsSource gcs_source = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the gcsSource field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GlossaryInputConfig other)
public GlossaryInputConfig.Builder mergeFrom(GlossaryInputConfig other)
Parameter | |
---|---|
Name | Description |
other | GlossaryInputConfig |
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GlossaryInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GlossaryInputConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |
mergeGcsSource(GcsSource value)
public GlossaryInputConfig.Builder mergeGcsSource(GcsSource value)
Required. Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats:
For unidirectional glossaries:
TSV/CSV (
.tsv
/.csv
): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names.TMX (
.tmx
): TMX file with parallel data defining source/target term pairs.For equivalent term sets glossaries:
CSV (
.csv
): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - glossaries.
.google.cloud.translation.v3.GcsSource gcs_source = 1;
Parameter | |
---|---|
Name | Description |
value | GcsSource |
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GlossaryInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GlossaryInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |
setGcsSource(GcsSource value)
public GlossaryInputConfig.Builder setGcsSource(GcsSource value)
Required. Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats:
For unidirectional glossaries:
TSV/CSV (
.tsv
/.csv
): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names.TMX (
.tmx
): TMX file with parallel data defining source/target term pairs.For equivalent term sets glossaries:
CSV (
.csv
): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - glossaries.
.google.cloud.translation.v3.GcsSource gcs_source = 1;
Parameter | |
---|---|
Name | Description |
value | GcsSource |
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |
setGcsSource(GcsSource.Builder builderForValue)
public GlossaryInputConfig.Builder setGcsSource(GcsSource.Builder builderForValue)
Required. Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats:
For unidirectional glossaries:
TSV/CSV (
.tsv
/.csv
): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names.TMX (
.tmx
): TMX file with parallel data defining source/target term pairs.For equivalent term sets glossaries:
CSV (
.csv
): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - glossaries.
.google.cloud.translation.v3.GcsSource gcs_source = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | GcsSource.Builder |
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GlossaryInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GlossaryInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GlossaryInputConfig.Builder |