Class ImportAdaptiveMtFileResponse.Builder (2.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportAdaptiveMtFileResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportAdaptiveMtFileResponse.Builder
Overrides

build()

public ImportAdaptiveMtFileResponse build()
Returns
TypeDescription
ImportAdaptiveMtFileResponse

buildPartial()

public ImportAdaptiveMtFileResponse buildPartial()
Returns
TypeDescription
ImportAdaptiveMtFileResponse

clear()

public ImportAdaptiveMtFileResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ImportAdaptiveMtFileResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportAdaptiveMtFileResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportAdaptiveMtFileResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportAdaptiveMtFileResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImportAdaptiveMtFileResponse.Builder
Overrides

clone()

public ImportAdaptiveMtFileResponse.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AdaptiveMtFileOrBuilder

getDefaultInstanceForType()

public ImportAdaptiveMtFileResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportAdaptiveMtFileResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the adaptiveMtFile field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAdaptiveMtFile
Returns
TypeDescription
ImportAdaptiveMtFileResponse.Builder

mergeFrom(ImportAdaptiveMtFileResponse other)

public ImportAdaptiveMtFileResponse.Builder mergeFrom(ImportAdaptiveMtFileResponse other)
Parameter
NameDescription
otherImportAdaptiveMtFileResponse
Returns
TypeDescription
ImportAdaptiveMtFileResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportAdaptiveMtFileResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportAdaptiveMtFileResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportAdaptiveMtFileResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportAdaptiveMtFileResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportAdaptiveMtFileResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAdaptiveMtFile
Returns
TypeDescription
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
NameDescription
builderForValueAdaptiveMtFile.Builder
Returns
TypeDescription
ImportAdaptiveMtFileResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportAdaptiveMtFileResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportAdaptiveMtFileResponse.Builder
Overrides

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

public ImportAdaptiveMtFileResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportAdaptiveMtFileResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportAdaptiveMtFileResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportAdaptiveMtFileResponse.Builder
Overrides