Class BatchTranslateDocumentResponse (2.9.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class BatchTranslateDocumentResponse extends GeneratedMessageV3 implements BatchTranslateDocumentResponseOrBuilder

Stored in the google.longrunning.Operation.response field returned by BatchTranslateDocument if at least one document is translated successfully.

Protobuf type google.cloud.translation.v3.BatchTranslateDocumentResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchTranslateDocumentResponse

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

FAILED_CHARACTERS_FIELD_NUMBER

public static final int FAILED_CHARACTERS_FIELD_NUMBER
Field Value
TypeDescription
int

FAILED_PAGES_FIELD_NUMBER

public static final int FAILED_PAGES_FIELD_NUMBER
Field Value
TypeDescription
int

SUBMIT_TIME_FIELD_NUMBER

public static final int SUBMIT_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_BILLABLE_CHARACTERS_FIELD_NUMBER

public static final int TOTAL_BILLABLE_CHARACTERS_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_BILLABLE_PAGES_FIELD_NUMBER

public static final int TOTAL_BILLABLE_PAGES_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_CHARACTERS_FIELD_NUMBER

public static final int TOTAL_CHARACTERS_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_PAGES_FIELD_NUMBER

public static final int TOTAL_PAGES_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSLATED_CHARACTERS_FIELD_NUMBER

public static final int TRANSLATED_CHARACTERS_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSLATED_PAGES_FIELD_NUMBER

public static final int TRANSLATED_PAGES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchTranslateDocumentResponse getDefaultInstance()
Returns
TypeDescription
BatchTranslateDocumentResponse

getDescriptor()

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

newBuilder()

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

newBuilder(BatchTranslateDocumentResponse prototype)

public static BatchTranslateDocumentResponse.Builder newBuilder(BatchTranslateDocumentResponse prototype)
Parameter
NameDescription
prototypeBatchTranslateDocumentResponse
Returns
TypeDescription
BatchTranslateDocumentResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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