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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public UpdateToolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateToolRequest build()
public UpdateToolRequest buildPartial()
public UpdateToolRequest.Builder clear()
Overrides
public UpdateToolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpdateToolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public UpdateToolRequest.Builder clearTool()
Required. The Tool to be updated.
.google.cloud.dialogflow.cx.v3beta1.Tool tool = 1 [(.google.api.field_behavior) = REQUIRED];
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;
public UpdateToolRequest.Builder clone()
Overrides
public UpdateToolRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
public Tool.Builder getToolBuilder()
Required. The Tool to be updated.
.google.cloud.dialogflow.cx.v3beta1.Tool tool = 1 [(.google.api.field_behavior) = REQUIRED];
public ToolOrBuilder getToolOrBuilder()
Required. The Tool to be updated.
.google.cloud.dialogflow.cx.v3beta1.Tool tool = 1 [(.google.api.field_behavior) = REQUIRED];
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.
|
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;
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;
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UpdateToolRequest.Builder mergeFrom(UpdateToolRequest other)
public UpdateToolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdateToolRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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
|
public final UpdateToolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
public UpdateToolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateToolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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
|
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];
public final UpdateToolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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
|