Class Tool.ConnectorTool.Action.EntityOperation.Builder (0.87.0)
public static final class Tool.ConnectorTool.Action.EntityOperation.Builder extends GeneratedMessageV3.Builder<Tool.ConnectorTool.Action.EntityOperation.Builder> implements Tool.ConnectorTool.Action.EntityOperationOrBuilder
Entity CRUD operation specification.
Protobuf type
google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action.EntityOperation
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 Tool.ConnectorTool.Action.EntityOperation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Tool.ConnectorTool.Action.EntityOperation build()
public Tool.ConnectorTool.Action.EntityOperation buildPartial()
public Tool.ConnectorTool.Action.EntityOperation.Builder clear()
Overrides
public Tool.ConnectorTool.Action.EntityOperation.Builder clearEntityId()
Required. ID of the entity.
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
public Tool.ConnectorTool.Action.EntityOperation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Tool.ConnectorTool.Action.EntityOperation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Tool.ConnectorTool.Action.EntityOperation.Builder clearOperation()
Required. Operation to perform on the entity.
.google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action.EntityOperation.OperationType operation = 2 [(.google.api.field_behavior) = REQUIRED];
public Tool.ConnectorTool.Action.EntityOperation.Builder clone()
Overrides
public Tool.ConnectorTool.Action.EntityOperation getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getEntityId()
Required. ID of the entity.
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The entityId.
|
public ByteString getEntityIdBytes()
Required. ID of the entity.
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for entityId.
|
public Tool.ConnectorTool.Action.EntityOperation.OperationType getOperation()
Required. Operation to perform on the entity.
.google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action.EntityOperation.OperationType operation = 2 [(.google.api.field_behavior) = REQUIRED];
public int getOperationValue()
Required. Operation to perform on the entity.
.google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action.EntityOperation.OperationType operation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for operation.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Tool.ConnectorTool.Action.EntityOperation.Builder mergeFrom(Tool.ConnectorTool.Action.EntityOperation other)
public Tool.ConnectorTool.Action.EntityOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Tool.ConnectorTool.Action.EntityOperation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final Tool.ConnectorTool.Action.EntityOperation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Tool.ConnectorTool.Action.EntityOperation.Builder setEntityId(String value)
Required. ID of the entity.
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The entityId to set.
|
public Tool.ConnectorTool.Action.EntityOperation.Builder setEntityIdBytes(ByteString value)
Required. ID of the entity.
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for entityId to set.
|
public Tool.ConnectorTool.Action.EntityOperation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Tool.ConnectorTool.Action.EntityOperation.Builder setOperation(Tool.ConnectorTool.Action.EntityOperation.OperationType value)
Required. Operation to perform on the entity.
.google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action.EntityOperation.OperationType operation = 2 [(.google.api.field_behavior) = REQUIRED];
public Tool.ConnectorTool.Action.EntityOperation.Builder setOperationValue(int value)
Required. Operation to perform on the entity.
.google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action.EntityOperation.OperationType operation = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for operation to set.
|
public Tool.ConnectorTool.Action.EntityOperation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final Tool.ConnectorTool.Action.EntityOperation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]