public final class CompanionAgent extends GeneratedMessage implements CompanionAgentOrBuilder
Companion agent.
Protobuf type google.cloud.dialogflow.v2.CompanionAgent
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int CES_TOOL_SPECS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SKILL_CONFIGS_FIELD_NUMBER
public static final int SKILL_CONFIGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TOOLSET_TOOLS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static CompanionAgent getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CompanionAgent.Builder newBuilder()
newBuilder(CompanionAgent prototype)
public static CompanionAgent.Builder newBuilder(CompanionAgent prototype)
public static CompanionAgent parseDelimitedFrom(InputStream input)
public static CompanionAgent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CompanionAgent parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CompanionAgent parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent parseFrom(CodedInputStream input)
public static CompanionAgent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent parseFrom(InputStream input)
public static CompanionAgent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CompanionAgent parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CompanionAgent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CompanionAgent> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public CesToolSpec getCesToolSpecs(int index)
Optional. List of CES tool specs that the companion agent can choose from.
repeated .google.cloud.dialogflow.v2.CesToolSpec ces_tool_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
public int getCesToolSpecsCount()
Optional. List of CES tool specs that the companion agent can choose from.
repeated .google.cloud.dialogflow.v2.CesToolSpec ces_tool_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
public List<CesToolSpec> getCesToolSpecsList()
Optional. List of CES tool specs that the companion agent can choose from.
repeated .google.cloud.dialogflow.v2.CesToolSpec ces_tool_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
public CesToolSpecOrBuilder getCesToolSpecsOrBuilder(int index)
Optional. List of CES tool specs that the companion agent can choose from.
repeated .google.cloud.dialogflow.v2.CesToolSpec ces_tool_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends CesToolSpecOrBuilder> getCesToolSpecsOrBuilderList()
Optional. List of CES tool specs that the companion agent can choose from.
repeated .google.cloud.dialogflow.v2.CesToolSpec ces_tool_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.CesToolSpecOrBuilder> |
|
getCreateTime()
public Timestamp getCreateTime()
Output only. Creation time of this companion agent.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation time of this companion agent.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public CompanionAgent getDefaultInstanceForType()
getDescription()
public String getDescription()
Optional. Description for the companion agent.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description for the companion agent.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for description.
|
getDisplayName()
public String getDisplayName()
Optional. Display name for the companion agent.
Character limit is 63.
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. Display name for the companion agent.
Character limit is 63.
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for displayName.
|
getName()
Identifier. The unique identifier of the companion agent.
Format:
projects/{project}/locations/{location}/companionAgents/{companion_agent}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. The unique identifier of the companion agent.
Format:
projects/{project}/locations/{location}/companionAgents/{companion_agent}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<CompanionAgent> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSkillConfigs(int index)
public CompanionAgent.SkillConfig getSkillConfigs(int index)
Optional. List of skill configs for the companion agent.
Allows at most one instance of each
SkillConfig type.
repeated .google.cloud.dialogflow.v2.CompanionAgent.SkillConfig skill_configs = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getSkillConfigsCount()
public int getSkillConfigsCount()
Optional. List of skill configs for the companion agent.
Allows at most one instance of each
SkillConfig type.
repeated .google.cloud.dialogflow.v2.CompanionAgent.SkillConfig skill_configs = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getSkillConfigsList()
public List<CompanionAgent.SkillConfig> getSkillConfigsList()
Optional. List of skill configs for the companion agent.
Allows at most one instance of each
SkillConfig type.
repeated .google.cloud.dialogflow.v2.CompanionAgent.SkillConfig skill_configs = 7 [(.google.api.field_behavior) = OPTIONAL];
getSkillConfigsOrBuilder(int index)
public CompanionAgent.SkillConfigOrBuilder getSkillConfigsOrBuilder(int index)
Optional. List of skill configs for the companion agent.
Allows at most one instance of each
SkillConfig type.
repeated .google.cloud.dialogflow.v2.CompanionAgent.SkillConfig skill_configs = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getSkillConfigsOrBuilderList()
public List<? extends CompanionAgent.SkillConfigOrBuilder> getSkillConfigsOrBuilderList()
Optional. List of skill configs for the companion agent.
Allows at most one instance of each
SkillConfig type.
repeated .google.cloud.dialogflow.v2.CompanionAgent.SkillConfig skill_configs = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.CompanionAgent.SkillConfigOrBuilder> |
|
public ToolsetTool getToolsetTools(int index)
Optional. List of CES toolset specs that the companion agent can choose
from.
repeated .google.cloud.dialogflow.v2.ToolsetTool toolset_tools = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
public int getToolsetToolsCount()
Optional. List of CES toolset specs that the companion agent can choose
from.
repeated .google.cloud.dialogflow.v2.ToolsetTool toolset_tools = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
public List<ToolsetTool> getToolsetToolsList()
Optional. List of CES toolset specs that the companion agent can choose
from.
repeated .google.cloud.dialogflow.v2.ToolsetTool toolset_tools = 4 [(.google.api.field_behavior) = OPTIONAL];
public ToolsetToolOrBuilder getToolsetToolsOrBuilder(int index)
Optional. List of CES toolset specs that the companion agent can choose
from.
repeated .google.cloud.dialogflow.v2.ToolsetTool toolset_tools = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends ToolsetToolOrBuilder> getToolsetToolsOrBuilderList()
Optional. List of CES toolset specs that the companion agent can choose
from.
repeated .google.cloud.dialogflow.v2.ToolsetTool toolset_tools = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.ToolsetToolOrBuilder> |
|
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Update time of this companion agent.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time of this companion agent.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime()
public boolean hasCreateTime()
Output only. Creation time of this companion agent.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the createTime field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Update time of this companion agent.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CompanionAgent.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CompanionAgent.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public CompanionAgent.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides