public static final class CompanionAgent.SkillConfig extends GeneratedMessage implements CompanionAgent.SkillConfigOrBuilderSkill configuration for the companion agent.
Protobuf type google.cloud.dialogflow.v2beta1.CompanionAgent.SkillConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CompanionAgent.SkillConfigImplements
CompanionAgent.SkillConfigOrBuilderStatic Fields
GUIDANCE_SKILL_CONFIG_FIELD_NUMBER
public static final int GUIDANCE_SKILL_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SKILL_TRIGGERING_EVENT_FIELD_NUMBER
public static final int SKILL_TRIGGERING_EVENT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static CompanionAgent.SkillConfig getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static CompanionAgent.SkillConfig.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig.Builder |
|
newBuilder(CompanionAgent.SkillConfig prototype)
public static CompanionAgent.SkillConfig.Builder newBuilder(CompanionAgent.SkillConfig prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
CompanionAgent.SkillConfig |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig.Builder |
|
parseDelimitedFrom(InputStream input)
public static CompanionAgent.SkillConfig parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent.SkillConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static CompanionAgent.SkillConfig parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent.SkillConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static CompanionAgent.SkillConfig parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent.SkillConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static CompanionAgent.SkillConfig parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent.SkillConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static CompanionAgent.SkillConfig parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent.SkillConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static CompanionAgent.SkillConfig parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent.SkillConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<CompanionAgent.SkillConfig> parser()| Returns | |
|---|---|
| Type | Description |
Parser<SkillConfig> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getConfigCase()
public CompanionAgent.SkillConfig.ConfigCase getConfigCase()| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig.ConfigCase |
|
getDefaultInstanceForType()
public CompanionAgent.SkillConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig |
|
getGuidanceSkillConfig()
public CompanionAgent.GuidanceSkillConfig getGuidanceSkillConfig()Optional. Guidance skill configuration.
.google.cloud.dialogflow.v2beta1.CompanionAgent.GuidanceSkillConfig guidance_skill_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.GuidanceSkillConfig |
The guidanceSkillConfig. |
getGuidanceSkillConfigOrBuilder()
public CompanionAgent.GuidanceSkillConfigOrBuilder getGuidanceSkillConfigOrBuilder()Optional. Guidance skill configuration.
.google.cloud.dialogflow.v2beta1.CompanionAgent.GuidanceSkillConfig guidance_skill_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.GuidanceSkillConfigOrBuilder |
|
getParserForType()
public Parser<CompanionAgent.SkillConfig> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SkillConfig> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSkillTriggeringEvent()
public CompanionAgent.SkillConfig.SkillTriggerEvent getSkillTriggeringEvent()Optional. The event that should trigger the skill.
.google.cloud.dialogflow.v2beta1.CompanionAgent.SkillConfig.SkillTriggerEvent skill_triggering_event = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig.SkillTriggerEvent |
The skillTriggeringEvent. |
getSkillTriggeringEventValue()
public int getSkillTriggeringEventValue()Optional. The event that should trigger the skill.
.google.cloud.dialogflow.v2beta1.CompanionAgent.SkillConfig.SkillTriggerEvent skill_triggering_event = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for skillTriggeringEvent. |
hasGuidanceSkillConfig()
public boolean hasGuidanceSkillConfig()Optional. Guidance skill configuration.
.google.cloud.dialogflow.v2beta1.CompanionAgent.GuidanceSkillConfig guidance_skill_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the guidanceSkillConfig field is set. |
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.SkillConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CompanionAgent.SkillConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig.Builder |
|
toBuilder()
public CompanionAgent.SkillConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
CompanionAgent.SkillConfig.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|