Class UpdateToolRequest.Builder (0.55.0)

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

The request message for Tools.UpdateTool.

Protobuf type google.cloud.dialogflow.cx.v3beta1.UpdateToolRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateToolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateToolRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public UpdateToolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateToolRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateToolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateToolRequest.Builder
Overrides

clearTool()

public UpdateToolRequest.Builder clearTool()

Required. The Tool to be updated.

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

Returns
Type Description
UpdateToolRequest.Builder

clearUpdateMask()

public UpdateToolRequest.Builder clearUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateToolRequest.Builder

clone()

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

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 be updated.

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

Returns
Type Description
Tool

The tool.

getToolBuilder()

public Tool.Builder getToolBuilder()

Required. The Tool to be updated.

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

Returns
Type Description
Tool.Builder

getToolOrBuilder()

public ToolOrBuilder getToolOrBuilder()

Required. The Tool to be updated.

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

Returns
Type Description
ToolOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasTool()

public boolean hasTool()

Required. The Tool to be updated.

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

Returns
Type Description
boolean

Whether the tool field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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 be updated.

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

Parameter
Name Description
value Tool
Returns
Type Description
UpdateToolRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateToolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateToolRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateToolRequest.Builder mergeUpdateMask(FieldMask value)

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateToolRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateToolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateToolRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateToolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateToolRequest.Builder
Overrides

setTool(Tool value)

public UpdateToolRequest.Builder setTool(Tool value)

Required. The Tool to be updated.

.google.cloud.dialogflow.cx.v3beta1.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 be updated.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateToolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateToolRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateToolRequest.Builder setUpdateMask(FieldMask value)

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateToolRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateToolRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateToolRequest.Builder