public static final class CompanionAgent.TranslationSkillConfig extends GeneratedMessage implements CompanionAgent.TranslationSkillConfigOrBuilderTranslation skill configuration for the companion agent.
Protobuf type google.cloud.dialogflow.v2.CompanionAgent.TranslationSkillConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CompanionAgent.TranslationSkillConfigStatic Fields
AGENT_LANGUAGE_CODE_FIELD_NUMBER
public static final int AGENT_LANGUAGE_CODE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CUSTOMER_LANGUAGE_CODE_FIELD_NUMBER
public static final int CUSTOMER_LANGUAGE_CODE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static CompanionAgent.TranslationSkillConfig getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static CompanionAgent.TranslationSkillConfig.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig.Builder |
|
newBuilder(CompanionAgent.TranslationSkillConfig prototype)
public static CompanionAgent.TranslationSkillConfig.Builder newBuilder(CompanionAgent.TranslationSkillConfig prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
CompanionAgent.TranslationSkillConfig |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig.Builder |
|
parseDelimitedFrom(InputStream input)
public static CompanionAgent.TranslationSkillConfig parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent.TranslationSkillConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static CompanionAgent.TranslationSkillConfig parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent.TranslationSkillConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static CompanionAgent.TranslationSkillConfig parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent.TranslationSkillConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static CompanionAgent.TranslationSkillConfig parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent.TranslationSkillConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static CompanionAgent.TranslationSkillConfig parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent.TranslationSkillConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static CompanionAgent.TranslationSkillConfig parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent.TranslationSkillConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<CompanionAgent.TranslationSkillConfig> parser()| Returns | |
|---|---|
| Type | Description |
Parser<TranslationSkillConfig> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
getParserForType()
public Parser<CompanionAgent.TranslationSkillConfig> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<TranslationSkillConfig> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public CompanionAgent.TranslationSkillConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CompanionAgent.TranslationSkillConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig.Builder |
|
toBuilder()
public CompanionAgent.TranslationSkillConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TranslationSkillConfig.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|