- 0.87.0 (latest)
- 0.86.0
- 0.85.0
- 0.84.0
- 0.83.0
- 0.81.0
- 0.79.0
- 0.78.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.68.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class ToolVersion.Builder extends GeneratedMessageV3.Builder<ToolVersion.Builder> implements ToolVersionOrBuilderTool version is a snapshot of the tool at certain timestamp.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ToolVersion
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ToolVersion.BuilderImplements
ToolVersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ToolVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
build()
public ToolVersion build()| Returns | |
|---|---|
| Type | Description |
ToolVersion |
|
buildPartial()
public ToolVersion buildPartial()| Returns | |
|---|---|
| Type | Description |
ToolVersion |
|
clear()
public ToolVersion.Builder clear()| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
clearCreateTime()
public ToolVersion.Builder clearCreateTime()Output only. Last time the tool version was created or modified.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
clearDisplayName()
public ToolVersion.Builder clearDisplayName()Required. The display name of the tool version.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ToolVersion.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
clearName()
public ToolVersion.Builder clearName() Identifier. The unique identifier of the tool version.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>/versions/<VersionID>.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ToolVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
clearTool()
public ToolVersion.Builder clearTool()Required. Snapshot of the tool to be associated with this version.
.google.cloud.dialogflow.cx.v3beta1.Tool tool = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
clearUpdateTime()
public ToolVersion.Builder clearUpdateTime()Output only. Last time the tool version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
clone()
public ToolVersion.Builder clone()| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
getCreateTime()
public Timestamp getCreateTime()Output only. Last time the tool version was created or modified.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Last time the tool version was created or modified.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Last time the tool version was created or modified.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public ToolVersion getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ToolVersion |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Required. The display name of the tool version.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Required. The display name of the tool version.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getName()
public String getName() Identifier. The unique identifier of the tool version.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>/versions/<VersionID>.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The unique identifier of the tool version.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>/versions/<VersionID>.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getTool()
public Tool getTool()Required. Snapshot of the tool to be associated with this version.
.google.cloud.dialogflow.cx.v3beta1.Tool tool = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Tool |
The tool. |
getToolBuilder()
public Tool.Builder getToolBuilder()Required. Snapshot of the tool to be associated with this version.
.google.cloud.dialogflow.cx.v3beta1.Tool tool = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Tool.Builder |
|
getToolOrBuilder()
public ToolOrBuilder getToolOrBuilder()Required. Snapshot of the tool to be associated with this version.
.google.cloud.dialogflow.cx.v3beta1.Tool tool = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ToolOrBuilder |
|
getUpdateTime()
public Timestamp getUpdateTime()Output only. Last time the tool version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Last time the tool version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Last time the tool version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()Output only. Last time the tool version was created or modified.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasTool()
public boolean hasTool()Required. Snapshot of the tool to be associated with this version.
.google.cloud.dialogflow.cx.v3beta1.Tool tool = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tool field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. Last time the tool version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public ToolVersion.Builder mergeCreateTime(Timestamp value)Output only. Last time the tool version was created or modified.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
mergeFrom(ToolVersion other)
public ToolVersion.Builder mergeFrom(ToolVersion other)| Parameter | |
|---|---|
| Name | Description |
other |
ToolVersion |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ToolVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ToolVersion.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
mergeTool(Tool value)
public ToolVersion.Builder mergeTool(Tool value)Required. Snapshot of the tool to be associated with this version.
.google.cloud.dialogflow.cx.v3beta1.Tool tool = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Tool |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ToolVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
mergeUpdateTime(Timestamp value)
public ToolVersion.Builder mergeUpdateTime(Timestamp value)Output only. Last time the tool version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
setCreateTime(Timestamp value)
public ToolVersion.Builder setCreateTime(Timestamp value)Output only. Last time the tool version was created or modified.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public ToolVersion.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Last time the tool version was created or modified.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
setDisplayName(String value)
public ToolVersion.Builder setDisplayName(String value)Required. The display name of the tool version.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ToolVersion.Builder setDisplayNameBytes(ByteString value)Required. The display name of the tool version.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ToolVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
setName(String value)
public ToolVersion.Builder setName(String value) Identifier. The unique identifier of the tool version.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>/versions/<VersionID>.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ToolVersion.Builder setNameBytes(ByteString value) Identifier. The unique identifier of the tool version.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>/versions/<VersionID>.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ToolVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
setTool(Tool value)
public ToolVersion.Builder setTool(Tool value)Required. Snapshot of the tool to be associated with this version.
.google.cloud.dialogflow.cx.v3beta1.Tool tool = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Tool |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
setTool(Tool.Builder builderForValue)
public ToolVersion.Builder setTool(Tool.Builder builderForValue)Required. Snapshot of the tool to be associated with this version.
.google.cloud.dialogflow.cx.v3beta1.Tool tool = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Tool.Builder |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ToolVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
setUpdateTime(Timestamp value)
public ToolVersion.Builder setUpdateTime(Timestamp value)Output only. Last time the tool version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public ToolVersion.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Last time the tool version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ToolVersion.Builder |
|