3.11.0 (latest) 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.4.0 2.3.0 2.2.0

    public sealed class AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig : IMessage<AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig>, IEquatable<AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig>, IDeepCloneable<AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Translation v3 API class AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig.

Message of caller-provided reference configuration.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[AdaptiveMtTranslateRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.md.txt)[ReferenceSentenceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AdaptiveMtTranslateRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.md.txt)[ReferenceSentenceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[AdaptiveMtTranslateRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.md.txt)[ReferenceSentenceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Translate.V3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.md.txt)

## Assembly

Google.Cloud.Translate.V3.dll

## Constructors

### ReferenceSentenceConfig()

    public ReferenceSentenceConfig()

### ReferenceSentenceConfig(ReferenceSentenceConfig)

    public ReferenceSentenceConfig(AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `AdaptiveMtTranslateRequestTypesReferenceSentenceConfig` |

## Properties

### ReferenceSentencePairLists

    public RepeatedField<AdaptiveMtTranslateRequest.Types.ReferenceSentencePairList> ReferenceSentencePairLists { get; }

Reference sentences pair lists. Each list will be used as the references
to translate the sentence under "content" field at the corresponding
index. Length of the list is required to be equal to the length of
"content" field.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldAdaptiveMtTranslateRequestTypesReferenceSentencePairList` |   |

### SourceLanguageCode

    public string SourceLanguageCode { get; set; }

Source language code.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### TargetLanguageCode

    public string TargetLanguageCode { get; set; }

Target language code.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |