public static final class TriggerAction.Response.Builder extends GeneratedMessage.Builder<TriggerAction.Response.Builder> implements TriggerAction.ResponseOrBuilderRepresents a response from the agent.
Protobuf type google.cloud.ces.v1.TriggerAction.Response
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TriggerAction.Response.BuilderImplements
TriggerAction.ResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TriggerAction.Response build()| Returns | |
|---|---|
| Type | Description |
TriggerAction.Response |
|
buildPartial()
public TriggerAction.Response buildPartial()| Returns | |
|---|---|
| Type | Description |
TriggerAction.Response |
|
clear()
public TriggerAction.Response.Builder clear()| Returns | |
|---|---|
| Type | Description |
TriggerAction.Response.Builder |
|
clearDisabled()
public TriggerAction.Response.Builder clearDisabled()Optional. Whether the response is disabled. Disabled responses are not used by the agent.
bool disabled = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TriggerAction.Response.Builder |
This builder for chaining. |
clearText()
public TriggerAction.Response.Builder clearText()Required. Text for the agent to respond with.
string text = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TriggerAction.Response.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public TriggerAction.Response getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TriggerAction.Response |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisabled()
public boolean getDisabled()Optional. Whether the response is disabled. Disabled responses are not used by the agent.
bool disabled = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The disabled. |
getText()
public String getText()Required. Text for the agent to respond with.
string text = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The text. |
getTextBytes()
public ByteString getTextBytes()Required. Text for the agent to respond with.
string text = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for text. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TriggerAction.Response other)
public TriggerAction.Response.Builder mergeFrom(TriggerAction.Response other)| Parameter | |
|---|---|
| Name | Description |
other |
TriggerAction.Response |
| Returns | |
|---|---|
| Type | Description |
TriggerAction.Response.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TriggerAction.Response.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TriggerAction.Response.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TriggerAction.Response.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TriggerAction.Response.Builder |
|
setDisabled(boolean value)
public TriggerAction.Response.Builder setDisabled(boolean value)Optional. Whether the response is disabled. Disabled responses are not used by the agent.
bool disabled = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe disabled to set. |
| Returns | |
|---|---|
| Type | Description |
TriggerAction.Response.Builder |
This builder for chaining. |
setText(String value)
public TriggerAction.Response.Builder setText(String value)Required. Text for the agent to respond with.
string text = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe text to set. |
| Returns | |
|---|---|
| Type | Description |
TriggerAction.Response.Builder |
This builder for chaining. |
setTextBytes(ByteString value)
public TriggerAction.Response.Builder setTextBytes(ByteString value)Required. Text for the agent to respond with.
string text = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for text to set. |
| Returns | |
|---|---|
| Type | Description |
TriggerAction.Response.Builder |
This builder for chaining. |