Class CesToolSpec (4.97.0)

public final class CesToolSpec extends GeneratedMessage implements CesToolSpecOrBuilder

Spec of CES tool that the generator can choose from.

Protobuf type google.cloud.dialogflow.v2.CesToolSpec

Static Fields

CES_TOOL_FIELD_NUMBER

public static final int CES_TOOL_FIELD_NUMBER
Field Value
Type Description
int

CONFIRMATION_REQUIREMENT_FIELD_NUMBER

public static final int CONFIRMATION_REQUIREMENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CesToolSpec getDefaultInstance()
Returns
Type Description
CesToolSpec

getDescriptor()

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

newBuilder()

public static CesToolSpec.Builder newBuilder()
Returns
Type Description
CesToolSpec.Builder

newBuilder(CesToolSpec prototype)

public static CesToolSpec.Builder newBuilder(CesToolSpec prototype)
Parameter
Name Description
prototype CesToolSpec
Returns
Type Description
CesToolSpec.Builder

parseDelimitedFrom(InputStream input)

public static CesToolSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CesToolSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CesToolSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CesToolSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CesToolSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CesToolSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CesToolSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CesToolSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CesToolSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CesToolSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CesToolSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CesToolSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CesToolSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CesToolSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CesToolSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CesToolSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CesToolSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CesToolSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CesToolSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CesToolSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CesToolSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CesToolSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CesToolSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CesToolSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CesToolSpec> parser()
Returns
Type Description
Parser<CesToolSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCesTool()

public String getCesTool()

Optional. Format: projects/<Project ID>/locations/<Location ID>/apps/<app ID>/tools/<tool ID>.

string ces_tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The cesTool.

getCesToolBytes()

public ByteString getCesToolBytes()

Optional. Format: projects/<Project ID>/locations/<Location ID>/apps/<app ID>/tools/<tool ID>.

string ces_tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for cesTool.

getConfirmationRequirement()

public Tool.ConfirmationRequirement getConfirmationRequirement()

Optional. Indicates whether the tool requires human confirmation.

.google.cloud.dialogflow.v2.Tool.ConfirmationRequirement confirmation_requirement = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Tool.ConfirmationRequirement

The confirmationRequirement.

getConfirmationRequirementValue()

public int getConfirmationRequirementValue()

Optional. Indicates whether the tool requires human confirmation.

.google.cloud.dialogflow.v2.Tool.ConfirmationRequirement confirmation_requirement = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for confirmationRequirement.

getDefaultInstanceForType()

public CesToolSpec getDefaultInstanceForType()
Returns
Type Description
CesToolSpec

getParserForType()

public Parser<CesToolSpec> getParserForType()
Returns
Type Description
Parser<CesToolSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CesToolSpec.Builder newBuilderForType()
Returns
Type Description
CesToolSpec.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected CesToolSpec.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CesToolSpec.Builder
Overrides

toBuilder()

public CesToolSpec.Builder toBuilder()
Returns
Type Description
CesToolSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException