public static final class CesAppSpec.Builder extends GeneratedMessage.Builder<CesAppSpec.Builder> implements CesAppSpecOrBuilderSpec of CES app that the generator can choose from.
Protobuf type google.cloud.dialogflow.v2.CesAppSpec
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CesAppSpec.BuilderImplements
CesAppSpecOrBuilderStatic 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 |
|
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.v2.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.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 app 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 CesAppSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CesAppSpec |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CesAppSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CesAppSpec.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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.v2.Tool.ConfirmationRequirement confirmation_requirement = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Tool.ConfirmationRequirementThe 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.v2.Tool.ConfirmationRequirement confirmation_requirement = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for confirmationRequirement to set. |
| Returns | |
|---|---|
| Type | Description |
CesAppSpec.Builder |
This builder for chaining. |