- 2.52.0 (latest)
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.5
- 2.2.0
- 2.1.13
public static final class BatchTranslateResponse.Builder extends GeneratedMessageV3.Builder<BatchTranslateResponse.Builder> implements BatchTranslateResponseOrBuilder
Stored in the google.longrunning.Operation.response field returned by BatchTranslateText if at least one sentence is translated successfully.
Protobuf type google.cloud.translation.v3.BatchTranslateResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchTranslateResponse.BuilderImplements
BatchTranslateResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchTranslateResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchTranslateResponse.Builder |
build()
public BatchTranslateResponse build()
Type | Description |
BatchTranslateResponse |
buildPartial()
public BatchTranslateResponse buildPartial()
Type | Description |
BatchTranslateResponse |
clear()
public BatchTranslateResponse.Builder clear()
Type | Description |
BatchTranslateResponse.Builder |
clearEndTime()
public BatchTranslateResponse.Builder clearEndTime()
The time when the operation is finished and google.longrunning.Operation.done is set to true.
.google.protobuf.Timestamp end_time = 5;
Type | Description |
BatchTranslateResponse.Builder |
clearFailedCharacters()
public BatchTranslateResponse.Builder clearFailedCharacters()
Number of characters that have failed to process (Unicode codepoints).
int64 failed_characters = 3;
Type | Description |
BatchTranslateResponse.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BatchTranslateResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BatchTranslateResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchTranslateResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BatchTranslateResponse.Builder |
clearSubmitTime()
public BatchTranslateResponse.Builder clearSubmitTime()
Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 4;
Type | Description |
BatchTranslateResponse.Builder |
clearTotalCharacters()
public BatchTranslateResponse.Builder clearTotalCharacters()
Total number of characters (Unicode codepoints).
int64 total_characters = 1;
Type | Description |
BatchTranslateResponse.Builder | This builder for chaining. |
clearTranslatedCharacters()
public BatchTranslateResponse.Builder clearTranslatedCharacters()
Number of successfully translated characters (Unicode codepoints).
int64 translated_characters = 2;
Type | Description |
BatchTranslateResponse.Builder | This builder for chaining. |
clone()
public BatchTranslateResponse.Builder clone()
Type | Description |
BatchTranslateResponse.Builder |
getDefaultInstanceForType()
public BatchTranslateResponse getDefaultInstanceForType()
Type | Description |
BatchTranslateResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
The time when the operation is finished and google.longrunning.Operation.done is set to true.
.google.protobuf.Timestamp end_time = 5;
Type | Description |
Timestamp | The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
The time when the operation is finished and google.longrunning.Operation.done is set to true.
.google.protobuf.Timestamp end_time = 5;
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
The time when the operation is finished and google.longrunning.Operation.done is set to true.
.google.protobuf.Timestamp end_time = 5;
Type | Description |
TimestampOrBuilder |
getFailedCharacters()
public long getFailedCharacters()
Number of characters that have failed to process (Unicode codepoints).
int64 failed_characters = 3;
Type | Description |
long | The failedCharacters. |
getSubmitTime()
public Timestamp getSubmitTime()
Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 4;
Type | Description |
Timestamp | The submitTime. |
getSubmitTimeBuilder()
public Timestamp.Builder getSubmitTimeBuilder()
Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 4;
Type | Description |
Builder |
getSubmitTimeOrBuilder()
public TimestampOrBuilder getSubmitTimeOrBuilder()
Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 4;
Type | Description |
TimestampOrBuilder |
getTotalCharacters()
public long getTotalCharacters()
Total number of characters (Unicode codepoints).
int64 total_characters = 1;
Type | Description |
long | The totalCharacters. |
getTranslatedCharacters()
public long getTranslatedCharacters()
Number of successfully translated characters (Unicode codepoints).
int64 translated_characters = 2;
Type | Description |
long | The translatedCharacters. |
hasEndTime()
public boolean hasEndTime()
The time when the operation is finished and google.longrunning.Operation.done is set to true.
.google.protobuf.Timestamp end_time = 5;
Type | Description |
boolean | Whether the endTime field is set. |
hasSubmitTime()
public boolean hasSubmitTime()
Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 4;
Type | Description |
boolean | Whether the submitTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeEndTime(Timestamp value)
public BatchTranslateResponse.Builder mergeEndTime(Timestamp value)
The time when the operation is finished and google.longrunning.Operation.done is set to true.
.google.protobuf.Timestamp end_time = 5;
Name | Description |
value | Timestamp |
Type | Description |
BatchTranslateResponse.Builder |
mergeFrom(BatchTranslateResponse other)
public BatchTranslateResponse.Builder mergeFrom(BatchTranslateResponse other)
Name | Description |
other | BatchTranslateResponse |
Type | Description |
BatchTranslateResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchTranslateResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BatchTranslateResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BatchTranslateResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BatchTranslateResponse.Builder |
mergeSubmitTime(Timestamp value)
public BatchTranslateResponse.Builder mergeSubmitTime(Timestamp value)
Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 4;
Name | Description |
value | Timestamp |
Type | Description |
BatchTranslateResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchTranslateResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BatchTranslateResponse.Builder |
setEndTime(Timestamp value)
public BatchTranslateResponse.Builder setEndTime(Timestamp value)
The time when the operation is finished and google.longrunning.Operation.done is set to true.
.google.protobuf.Timestamp end_time = 5;
Name | Description |
value | Timestamp |
Type | Description |
BatchTranslateResponse.Builder |
setEndTime(Timestamp.Builder builderForValue)
public BatchTranslateResponse.Builder setEndTime(Timestamp.Builder builderForValue)
The time when the operation is finished and google.longrunning.Operation.done is set to true.
.google.protobuf.Timestamp end_time = 5;
Name | Description |
builderForValue | Builder |
Type | Description |
BatchTranslateResponse.Builder |
setFailedCharacters(long value)
public BatchTranslateResponse.Builder setFailedCharacters(long value)
Number of characters that have failed to process (Unicode codepoints).
int64 failed_characters = 3;
Name | Description |
value | long The failedCharacters to set. |
Type | Description |
BatchTranslateResponse.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchTranslateResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchTranslateResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchTranslateResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BatchTranslateResponse.Builder |
setSubmitTime(Timestamp value)
public BatchTranslateResponse.Builder setSubmitTime(Timestamp value)
Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 4;
Name | Description |
value | Timestamp |
Type | Description |
BatchTranslateResponse.Builder |
setSubmitTime(Timestamp.Builder builderForValue)
public BatchTranslateResponse.Builder setSubmitTime(Timestamp.Builder builderForValue)
Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 4;
Name | Description |
builderForValue | Builder |
Type | Description |
BatchTranslateResponse.Builder |
setTotalCharacters(long value)
public BatchTranslateResponse.Builder setTotalCharacters(long value)
Total number of characters (Unicode codepoints).
int64 total_characters = 1;
Name | Description |
value | long The totalCharacters to set. |
Type | Description |
BatchTranslateResponse.Builder | This builder for chaining. |
setTranslatedCharacters(long value)
public BatchTranslateResponse.Builder setTranslatedCharacters(long value)
Number of successfully translated characters (Unicode codepoints).
int64 translated_characters = 2;
Name | Description |
value | long The translatedCharacters to set. |
Type | Description |
BatchTranslateResponse.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchTranslateResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BatchTranslateResponse.Builder |