- 2.78.0 (latest)
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 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 AdaptiveMtSentence.Builder extends GeneratedMessageV3.Builder<AdaptiveMtSentence.Builder> implements AdaptiveMtSentenceOrBuilderAn AdaptiveMt sentence entry.
 Protobuf type google.cloud.translation.v3.AdaptiveMtSentence
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AdaptiveMtSentence.BuilderImplements
AdaptiveMtSentenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AdaptiveMtSentence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
build()
public AdaptiveMtSentence build()| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence | |
buildPartial()
public AdaptiveMtSentence buildPartial()| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence | |
clear()
public AdaptiveMtSentence.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
clearCreateTime()
public AdaptiveMtSentence.Builder clearCreateTime()Output only. Timestamp when this sentence was created.
 
 .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
clearField(Descriptors.FieldDescriptor field)
public AdaptiveMtSentence.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
clearName()
public AdaptiveMtSentence.Builder clearName() Required. The resource name of the file, in form of
 projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}/adaptiveMtSentences/{sentence}
 
 string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public AdaptiveMtSentence.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
clearSourceSentence()
public AdaptiveMtSentence.Builder clearSourceSentence()Required. The source sentence.
 string source_sentence = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | This builder for chaining. | 
clearTargetSentence()
public AdaptiveMtSentence.Builder clearTargetSentence()Required. The target sentence.
 string target_sentence = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | This builder for chaining. | 
clearUpdateTime()
public AdaptiveMtSentence.Builder clearUpdateTime()Output only. Timestamp when this sentence was last updated.
 
 .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
clone()
public AdaptiveMtSentence.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
getCreateTime()
public Timestamp getCreateTime()Output only. Timestamp when this sentence was created.
 
 .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The createTime. | 
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Timestamp when this sentence was created.
 
 .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp when this sentence was created.
 
 .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getDefaultInstanceForType()
public AdaptiveMtSentence getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getName()
public String getName() Required. The resource name of the file, in form of
 projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}/adaptiveMtSentences/{sentence}
 
 string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public ByteString getNameBytes() Required. The resource name of the file, in form of
 projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}/adaptiveMtSentences/{sentence}
 
 string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
getSourceSentence()
public String getSourceSentence()Required. The source sentence.
 string source_sentence = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| String | The sourceSentence. | 
getSourceSentenceBytes()
public ByteString getSourceSentenceBytes()Required. The source sentence.
 string source_sentence = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for sourceSentence. | 
getTargetSentence()
public String getTargetSentence()Required. The target sentence.
 string target_sentence = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| String | The targetSentence. | 
getTargetSentenceBytes()
public ByteString getTargetSentenceBytes()Required. The target sentence.
 string target_sentence = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for targetSentence. | 
getUpdateTime()
public Timestamp getUpdateTime()Output only. Timestamp when this sentence was last updated.
 
 .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The updateTime. | 
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Timestamp when this sentence was last updated.
 
 .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Timestamp when this sentence was last updated.
 
 .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
hasCreateTime()
public boolean hasCreateTime()Output only. Timestamp when this sentence was created.
 
 .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the createTime field is set. | 
hasUpdateTime()
public boolean hasUpdateTime()Output only. Timestamp when this sentence was last updated.
 
 .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the updateTime field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeCreateTime(Timestamp value)
public AdaptiveMtSentence.Builder mergeCreateTime(Timestamp value)Output only. Timestamp when this sentence was created.
 
 .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
mergeFrom(AdaptiveMtSentence other)
public AdaptiveMtSentence.Builder mergeFrom(AdaptiveMtSentence other)| Parameter | |
|---|---|
| Name | Description | 
| other | AdaptiveMtSentence | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AdaptiveMtSentence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public AdaptiveMtSentence.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AdaptiveMtSentence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
mergeUpdateTime(Timestamp value)
public AdaptiveMtSentence.Builder mergeUpdateTime(Timestamp value)Output only. Timestamp when this sentence was last updated.
 
 .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
setCreateTime(Timestamp value)
public AdaptiveMtSentence.Builder setCreateTime(Timestamp value)Output only. Timestamp when this sentence was created.
 
 .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
setCreateTime(Timestamp.Builder builderForValue)
public AdaptiveMtSentence.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Timestamp when this sentence was created.
 
 .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public AdaptiveMtSentence.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
setName(String value)
public AdaptiveMtSentence.Builder setName(String value) Required. The resource name of the file, in form of
 projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}/adaptiveMtSentences/{sentence}
 
 string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public AdaptiveMtSentence.Builder setNameBytes(ByteString value) Required. The resource name of the file, in form of
 projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}/adaptiveMtSentences/{sentence}
 
 string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AdaptiveMtSentence.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
setSourceSentence(String value)
public AdaptiveMtSentence.Builder setSourceSentence(String value)Required. The source sentence.
 string source_sentence = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe sourceSentence to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | This builder for chaining. | 
setSourceSentenceBytes(ByteString value)
public AdaptiveMtSentence.Builder setSourceSentenceBytes(ByteString value)Required. The source sentence.
 string source_sentence = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for sourceSentence to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | This builder for chaining. | 
setTargetSentence(String value)
public AdaptiveMtSentence.Builder setTargetSentence(String value)Required. The target sentence.
 string target_sentence = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe targetSentence to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | This builder for chaining. | 
setTargetSentenceBytes(ByteString value)
public AdaptiveMtSentence.Builder setTargetSentenceBytes(ByteString value)Required. The target sentence.
 string target_sentence = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for targetSentence to set. | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final AdaptiveMtSentence.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
setUpdateTime(Timestamp value)
public AdaptiveMtSentence.Builder setUpdateTime(Timestamp value)Output only. Timestamp when this sentence was last updated.
 
 .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |
setUpdateTime(Timestamp.Builder builderForValue)
public AdaptiveMtSentence.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Timestamp when this sentence was last updated.
 
 .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| AdaptiveMtSentence.Builder | |