public static final class ToolCallResult.Error.Builder extends GeneratedMessageV3.Builder<ToolCallResult.Error.Builder> implements ToolCallResult.ErrorOrBuilder
An error produced by the tool call.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error
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 ToolCallResult.Error.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ToolCallResult.Error build()
public ToolCallResult.Error buildPartial()
public ToolCallResult.Error.Builder clear()
Overrides
public ToolCallResult.Error.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ToolCallResult.Error.Builder clearMessage()
The error message of the function.
string message = 1 [(.google.api.field_behavior) = OPTIONAL];
public ToolCallResult.Error.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ToolCallResult.Error.Builder clone()
Overrides
public ToolCallResult.Error getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getMessage()
The error message of the function.
string message = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The message.
|
public ByteString getMessageBytes()
The error message of the function.
string message = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for message.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ToolCallResult.Error.Builder mergeFrom(ToolCallResult.Error other)
public ToolCallResult.Error.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ToolCallResult.Error.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ToolCallResult.Error.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ToolCallResult.Error.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ToolCallResult.Error.Builder setMessage(String value)
The error message of the function.
string message = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The message to set.
|
public ToolCallResult.Error.Builder setMessageBytes(ByteString value)
The error message of the function.
string message = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for message to set.
|
public ToolCallResult.Error.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ToolCallResult.Error.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides