Class ImportAdaptiveMtFileResponse (2.39.0)

public final class ImportAdaptiveMtFileResponse extends GeneratedMessageV3 implements ImportAdaptiveMtFileResponseOrBuilder

The response for importing an AdaptiveMtFile

Protobuf type google.cloud.translation.v3.ImportAdaptiveMtFileResponse

Static Fields

ADAPTIVE_MT_FILE_FIELD_NUMBER

public static final int ADAPTIVE_MT_FILE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportAdaptiveMtFileResponse getDefaultInstance()
Returns
TypeDescription
ImportAdaptiveMtFileResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ImportAdaptiveMtFileResponse.Builder newBuilder()
Returns
TypeDescription
ImportAdaptiveMtFileResponse.Builder

newBuilder(ImportAdaptiveMtFileResponse prototype)

public static ImportAdaptiveMtFileResponse.Builder newBuilder(ImportAdaptiveMtFileResponse prototype)
Parameter
NameDescription
prototypeImportAdaptiveMtFileResponse
Returns
TypeDescription
ImportAdaptiveMtFileResponse.Builder

parseDelimitedFrom(InputStream input)

public static ImportAdaptiveMtFileResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportAdaptiveMtFileResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportAdaptiveMtFileResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportAdaptiveMtFileResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImportAdaptiveMtFileResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImportAdaptiveMtFileResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportAdaptiveMtFileResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportAdaptiveMtFileResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportAdaptiveMtFileResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportAdaptiveMtFileResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportAdaptiveMtFileResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportAdaptiveMtFileResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportAdaptiveMtFileResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportAdaptiveMtFileResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportAdaptiveMtFileResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportAdaptiveMtFileResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImportAdaptiveMtFileResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportAdaptiveMtFileResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportAdaptiveMtFileResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportAdaptiveMtFileResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImportAdaptiveMtFileResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportAdaptiveMtFileResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportAdaptiveMtFileResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportAdaptiveMtFileResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImportAdaptiveMtFileResponse> parser()
Returns
TypeDescription
Parser<ImportAdaptiveMtFileResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

getParserForType()

public Parser<ImportAdaptiveMtFileResponse> getParserForType()
Returns
TypeDescription
Parser<ImportAdaptiveMtFileResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImportAdaptiveMtFileResponse.Builder newBuilderForType()
Returns
TypeDescription
ImportAdaptiveMtFileResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportAdaptiveMtFileResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportAdaptiveMtFileResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ImportAdaptiveMtFileResponse.Builder toBuilder()
Returns
TypeDescription
ImportAdaptiveMtFileResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException