public static final class CompanionAgent.TranslationSkillConfig.Builder extends GeneratedMessage.Builder<CompanionAgent.TranslationSkillConfig.Builder> implements CompanionAgent.TranslationSkillConfigOrBuilderTranslation skill configuration for the companion agent.
Protobuf type google.cloud.dialogflow.v2.CompanionAgent.TranslationSkillConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CompanionAgent.TranslationSkillConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CompanionAgent.TranslationSkillConfig build()| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig |
|
buildPartial()
public CompanionAgent.TranslationSkillConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig |
|
clear()
public CompanionAgent.TranslationSkillConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig.Builder |
|
clearAgentLanguageCode()
public CompanionAgent.TranslationSkillConfig.Builder clearAgentLanguageCode()Optional. Target language code for the agent, in IETF BCP-47 format (e.g., "en-US").
string agent_language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig.Builder |
This builder for chaining. |
clearCustomerLanguageCode()
public CompanionAgent.TranslationSkillConfig.Builder clearCustomerLanguageCode()Optional. Target language code for the customer, in IETF BCP-47 format (e.g., "es").
string customer_language_code = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig.Builder |
This builder for chaining. |
getAgentLanguageCode()
public String getAgentLanguageCode()Optional. Target language code for the agent, in IETF BCP-47 format (e.g., "en-US").
string agent_language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The agentLanguageCode. |
getAgentLanguageCodeBytes()
public ByteString getAgentLanguageCodeBytes()Optional. Target language code for the agent, in IETF BCP-47 format (e.g., "en-US").
string agent_language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for agentLanguageCode. |
getCustomerLanguageCode()
public String getCustomerLanguageCode()Optional. Target language code for the customer, in IETF BCP-47 format (e.g., "es").
string customer_language_code = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The customerLanguageCode. |
getCustomerLanguageCodeBytes()
public ByteString getCustomerLanguageCodeBytes()Optional. Target language code for the customer, in IETF BCP-47 format (e.g., "es").
string customer_language_code = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for customerLanguageCode. |
getDefaultInstanceForType()
public CompanionAgent.TranslationSkillConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CompanionAgent.TranslationSkillConfig other)
public CompanionAgent.TranslationSkillConfig.Builder mergeFrom(CompanionAgent.TranslationSkillConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
CompanionAgent.TranslationSkillConfig |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CompanionAgent.TranslationSkillConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CompanionAgent.TranslationSkillConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig.Builder |
|
setAgentLanguageCode(String value)
public CompanionAgent.TranslationSkillConfig.Builder setAgentLanguageCode(String value)Optional. Target language code for the agent, in IETF BCP-47 format (e.g., "en-US").
string agent_language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe agentLanguageCode to set. |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig.Builder |
This builder for chaining. |
setAgentLanguageCodeBytes(ByteString value)
public CompanionAgent.TranslationSkillConfig.Builder setAgentLanguageCodeBytes(ByteString value)Optional. Target language code for the agent, in IETF BCP-47 format (e.g., "en-US").
string agent_language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for agentLanguageCode to set. |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig.Builder |
This builder for chaining. |
setCustomerLanguageCode(String value)
public CompanionAgent.TranslationSkillConfig.Builder setCustomerLanguageCode(String value)Optional. Target language code for the customer, in IETF BCP-47 format (e.g., "es").
string customer_language_code = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe customerLanguageCode to set. |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig.Builder |
This builder for chaining. |
setCustomerLanguageCodeBytes(ByteString value)
public CompanionAgent.TranslationSkillConfig.Builder setCustomerLanguageCodeBytes(ByteString value)Optional. Target language code for the customer, in IETF BCP-47 format (e.g., "es").
string customer_language_code = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for customerLanguageCode to set. |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig.Builder |
This builder for chaining. |