Class UpdateToolRequest.Builder (4.89.0)

public static final class UpdateToolRequest.Builder extends GeneratedMessage.Builder<UpdateToolRequest.Builder> implements UpdateToolRequestOrBuilder

Request of UpdateTool.

Protobuf type google.cloud.dialogflow.v2.UpdateToolRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public UpdateToolRequest build()
Returns
Type Description
UpdateToolRequest

buildPartial()

public UpdateToolRequest buildPartial()
Returns
Type Description
UpdateToolRequest

clear()

public UpdateToolRequest.Builder clear()
Returns
Type Description
UpdateToolRequest.Builder
Overrides

clearTool()

public UpdateToolRequest.Builder clearTool()

Required. The tool to update. The name field of tool is to identify the tool to update.

.google.cloud.dialogflow.v2.Tool tool = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateToolRequest.Builder

clearUpdateMask()

public UpdateToolRequest.Builder clearUpdateMask()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateToolRequest.Builder

getDefaultInstanceForType()

public UpdateToolRequest getDefaultInstanceForType()
Returns
Type Description
UpdateToolRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTool()

public Tool getTool()

Required. The tool to update. The name field of tool is to identify the tool to update.

.google.cloud.dialogflow.v2.Tool tool = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Tool

The tool.

getToolBuilder()

public Tool.Builder getToolBuilder()

Required. The tool to update. The name field of tool is to identify the tool to update.

.google.cloud.dialogflow.v2.Tool tool = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Tool.Builder

getToolOrBuilder()

public ToolOrBuilder getToolOrBuilder()

Required. The tool to update. The name field of tool is to identify the tool to update.

.google.cloud.dialogflow.v2.Tool tool = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasTool()

public boolean hasTool()

Required. The tool to update. The name field of tool is to identify the tool to update.

.google.cloud.dialogflow.v2.Tool tool = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the tool field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateToolRequest other)

public UpdateToolRequest.Builder mergeFrom(UpdateToolRequest other)
Parameter
Name Description
other UpdateToolRequest
Returns
Type Description
UpdateToolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateToolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateToolRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateToolRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateToolRequest.Builder
Overrides

mergeTool(Tool value)

public UpdateToolRequest.Builder mergeTool(Tool value)

Required. The tool to update. The name field of tool is to identify the tool to update.

.google.cloud.dialogflow.v2.Tool tool = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Tool
Returns
Type Description
UpdateToolRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateToolRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateToolRequest.Builder

setTool(Tool value)

public UpdateToolRequest.Builder setTool(Tool value)

Required. The tool to update. The name field of tool is to identify the tool to update.

.google.cloud.dialogflow.v2.Tool tool = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Tool
Returns
Type Description
UpdateToolRequest.Builder

setTool(Tool.Builder builderForValue)

public UpdateToolRequest.Builder setTool(Tool.Builder builderForValue)

Required. The tool to update. The name field of tool is to identify the tool to update.

.google.cloud.dialogflow.v2.Tool tool = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Tool.Builder
Returns
Type Description
UpdateToolRequest.Builder

setUpdateMask(FieldMask value)

public UpdateToolRequest.Builder setUpdateMask(FieldMask value)

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateToolRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateToolRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateToolRequest.Builder