Class CesAppSpec.Builder (4.97.0)

public static final class CesAppSpec.Builder extends GeneratedMessage.Builder<CesAppSpec.Builder> implements CesAppSpecOrBuilder

Spec of CES app that the generator can choose from.

Protobuf type google.cloud.dialogflow.v2beta1.CesAppSpec

Implements

CesAppSpecOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public CesAppSpec build()
Returns
Type Description
CesAppSpec

buildPartial()

public CesAppSpec buildPartial()
Returns
Type Description
CesAppSpec

clear()

public CesAppSpec.Builder clear()
Returns
Type Description
CesAppSpec.Builder
Overrides

clearCesApp()

public CesAppSpec.Builder clearCesApp()

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

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

Returns
Type Description
CesAppSpec.Builder

This builder for chaining.

clearConfirmationRequirement()

public CesAppSpec.Builder clearConfirmationRequirement()

Optional. Indicates whether the app requires human confirmation.

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

Returns
Type Description
CesAppSpec.Builder

This builder for chaining.

getCesApp()

public String getCesApp()

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

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

Returns
Type Description
String

The cesApp.

getCesAppBytes()

public ByteString getCesAppBytes()

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

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

Returns
Type Description
ByteString

The bytes for cesApp.

getConfirmationRequirement()

public Tool.ConfirmationRequirement getConfirmationRequirement()

Optional. Indicates whether the app requires human confirmation.

.google.cloud.dialogflow.v2beta1.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 app requires human confirmation.

.google.cloud.dialogflow.v2beta1.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 CesAppSpec getDefaultInstanceForType()
Returns
Type Description
CesAppSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CesAppSpec other)

public CesAppSpec.Builder mergeFrom(CesAppSpec other)
Parameter
Name Description
other CesAppSpec
Returns
Type Description
CesAppSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CesAppSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CesAppSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CesAppSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CesAppSpec.Builder
Overrides

setCesApp(String value)

public CesAppSpec.Builder setCesApp(String value)

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

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

Parameter
Name Description
value String

The cesApp to set.

Returns
Type Description
CesAppSpec.Builder

This builder for chaining.

setCesAppBytes(ByteString value)

public CesAppSpec.Builder setCesAppBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for cesApp to set.

Returns
Type Description
CesAppSpec.Builder

This builder for chaining.

setConfirmationRequirement(Tool.ConfirmationRequirement value)

public CesAppSpec.Builder setConfirmationRequirement(Tool.ConfirmationRequirement value)

Optional. Indicates whether the app requires human confirmation.

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

Parameter
Name Description
value Tool.ConfirmationRequirement

The confirmationRequirement to set.

Returns
Type Description
CesAppSpec.Builder

This builder for chaining.

setConfirmationRequirementValue(int value)

public CesAppSpec.Builder setConfirmationRequirementValue(int value)

Optional. Indicates whether the app requires human confirmation.

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

Parameter
Name Description
value int

The enum numeric value on the wire for confirmationRequirement to set.

Returns
Type Description
CesAppSpec.Builder

This builder for chaining.