Class ImportAdaptiveMtFileResponse.Builder (2.46.0)

public static final class ImportAdaptiveMtFileResponse.Builder extends GeneratedMessageV3.Builder<ImportAdaptiveMtFileResponse.Builder> implements ImportAdaptiveMtFileResponseOrBuilder

The response for importing an AdaptiveMtFile

Protobuf type google.cloud.translation.v3.ImportAdaptiveMtFileResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportAdaptiveMtFileResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportAdaptiveMtFileResponse.Builder
Overrides

build()

public ImportAdaptiveMtFileResponse build()
Returns
Type Description
ImportAdaptiveMtFileResponse

buildPartial()

public ImportAdaptiveMtFileResponse buildPartial()
Returns
Type Description
ImportAdaptiveMtFileResponse

clear()

public ImportAdaptiveMtFileResponse.Builder clear()
Returns
Type Description
ImportAdaptiveMtFileResponse.Builder
Overrides

clearAdaptiveMtFile()

public ImportAdaptiveMtFileResponse.Builder clearAdaptiveMtFile()

Output only. The Adaptive MT file that was imported.

.google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_file = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ImportAdaptiveMtFileResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportAdaptiveMtFileResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportAdaptiveMtFileResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportAdaptiveMtFileResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportAdaptiveMtFileResponse.Builder
Overrides

clone()

public ImportAdaptiveMtFileResponse.Builder clone()
Returns
Type Description
ImportAdaptiveMtFileResponse.Builder
Overrides

getAdaptiveMtFile()

public AdaptiveMtFile getAdaptiveMtFile()

Output only. The Adaptive MT file that was imported.

.google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_file = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdaptiveMtFile

The adaptiveMtFile.

getAdaptiveMtFileBuilder()

public AdaptiveMtFile.Builder getAdaptiveMtFileBuilder()

Output only. The Adaptive MT file that was imported.

.google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_file = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdaptiveMtFile.Builder

getAdaptiveMtFileOrBuilder()

public AdaptiveMtFileOrBuilder getAdaptiveMtFileOrBuilder()

Output only. The Adaptive MT file that was imported.

.google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_file = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdaptiveMtFileOrBuilder

getDefaultInstanceForType()

public ImportAdaptiveMtFileResponse getDefaultInstanceForType()
Returns
Type Description
ImportAdaptiveMtFileResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasAdaptiveMtFile()

public boolean hasAdaptiveMtFile()

Output only. The Adaptive MT file that was imported.

.google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_file = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the adaptiveMtFile field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAdaptiveMtFile(AdaptiveMtFile value)

public ImportAdaptiveMtFileResponse.Builder mergeAdaptiveMtFile(AdaptiveMtFile value)

Output only. The Adaptive MT file that was imported.

.google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_file = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AdaptiveMtFile
Returns
Type Description
ImportAdaptiveMtFileResponse.Builder

mergeFrom(ImportAdaptiveMtFileResponse other)

public ImportAdaptiveMtFileResponse.Builder mergeFrom(ImportAdaptiveMtFileResponse other)
Parameter
Name Description
other ImportAdaptiveMtFileResponse
Returns
Type Description
ImportAdaptiveMtFileResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportAdaptiveMtFileResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportAdaptiveMtFileResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportAdaptiveMtFileResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportAdaptiveMtFileResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportAdaptiveMtFileResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportAdaptiveMtFileResponse.Builder
Overrides

setAdaptiveMtFile(AdaptiveMtFile value)

public ImportAdaptiveMtFileResponse.Builder setAdaptiveMtFile(AdaptiveMtFile value)

Output only. The Adaptive MT file that was imported.

.google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_file = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AdaptiveMtFile
Returns
Type Description
ImportAdaptiveMtFileResponse.Builder

setAdaptiveMtFile(AdaptiveMtFile.Builder builderForValue)

public ImportAdaptiveMtFileResponse.Builder setAdaptiveMtFile(AdaptiveMtFile.Builder builderForValue)

Output only. The Adaptive MT file that was imported.

.google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_file = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue AdaptiveMtFile.Builder
Returns
Type Description
ImportAdaptiveMtFileResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportAdaptiveMtFileResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportAdaptiveMtFileResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportAdaptiveMtFileResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportAdaptiveMtFileResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportAdaptiveMtFileResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportAdaptiveMtFileResponse.Builder
Overrides