public static final class UpdateToolRequest.Builder extends GeneratedMessage.Builder<UpdateToolRequest.Builder> implements UpdateToolRequestOrBuilderRequest message for AgentService.UpdateTool.
Protobuf type google.cloud.ces.v1.UpdateToolRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateToolRequest.BuilderImplements
UpdateToolRequestOrBuilderStatic 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 |
|
clearTool()
public UpdateToolRequest.Builder clearTool()Required. The tool to update.
.google.cloud.ces.v1.Tool tool = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateToolRequest.Builder |
|
clearUpdateMask()
public UpdateToolRequest.Builder clearUpdateMask()Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.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 |
|
getTool()
public Tool getTool()Required. The tool to update.
.google.cloud.ces.v1.Tool tool = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Tool |
The tool. |
getToolBuilder()
public Tool.Builder getToolBuilder()Required. The tool to update.
.google.cloud.ces.v1.Tool tool = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Tool.Builder |
|
getToolOrBuilder()
public ToolOrBuilder getToolOrBuilder()Required. The tool to update.
.google.cloud.ces.v1.Tool tool = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ToolOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasTool()
public boolean hasTool()Required. The tool to update.
.google.cloud.ces.v1.Tool tool = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tool field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateToolRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateToolRequest.Builder |
|
mergeTool(Tool value)
public UpdateToolRequest.Builder mergeTool(Tool value)Required. The tool to update.
.google.cloud.ces.v1.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. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.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.
.google.cloud.ces.v1.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.
.google.cloud.ces.v1.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. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.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. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateToolRequest.Builder |
|