public final class AdaptiveMtTranslation extends GeneratedMessageV3 implements AdaptiveMtTranslationOrBuilder
An AdaptiveMt translation.
Protobuf type google.cloud.translation.v3.AdaptiveMtTranslation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
TRANSLATED_TEXT_FIELD_NUMBER
public static final int TRANSLATED_TEXT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AdaptiveMtTranslation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AdaptiveMtTranslation.Builder newBuilder()
newBuilder(AdaptiveMtTranslation prototype)
public static AdaptiveMtTranslation.Builder newBuilder(AdaptiveMtTranslation prototype)
public static AdaptiveMtTranslation parseDelimitedFrom(InputStream input)
public static AdaptiveMtTranslation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AdaptiveMtTranslation parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AdaptiveMtTranslation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AdaptiveMtTranslation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AdaptiveMtTranslation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AdaptiveMtTranslation parseFrom(CodedInputStream input)
public static AdaptiveMtTranslation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AdaptiveMtTranslation parseFrom(InputStream input)
public static AdaptiveMtTranslation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AdaptiveMtTranslation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AdaptiveMtTranslation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AdaptiveMtTranslation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public AdaptiveMtTranslation getDefaultInstanceForType()
getParserForType()
public Parser<AdaptiveMtTranslation> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getTranslatedText()
public String getTranslatedText()
Output only. The translated text.
string translated_text = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The translatedText.
|
getTranslatedTextBytes()
public ByteString getTranslatedTextBytes()
Output only. The translated text.
string translated_text = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for translatedText.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AdaptiveMtTranslation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AdaptiveMtTranslation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AdaptiveMtTranslation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides