- 4.82.0 (latest)
- 4.81.0
- 4.80.0
- 4.79.0
- 4.78.0
- 4.76.0
- 4.74.0
- 4.73.0
- 4.70.0
- 4.69.0
- 4.68.0
- 4.66.0
- 4.65.0
- 4.64.0
- 4.63.0
- 4.62.0
- 4.61.0
- 4.60.0
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class ConversationEvent.Builder extends GeneratedMessageV3.Builder<ConversationEvent.Builder> implements ConversationEventOrBuilderRepresents a notification sent to Pub/Sub subscribers for conversation lifecycle events.
Protobuf type google.cloud.dialogflow.v2.ConversationEvent
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConversationEvent.BuilderImplements
ConversationEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConversationEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
build()
public ConversationEvent build()| Returns | |
|---|---|
| Type | Description |
ConversationEvent |
|
buildPartial()
public ConversationEvent buildPartial()| Returns | |
|---|---|
| Type | Description |
ConversationEvent |
|
clear()
public ConversationEvent.Builder clear()| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
clearConversation()
public ConversationEvent.Builder clearConversation() The unique identifier of the conversation this notification
refers to.
Format: projects/<Project ID>/conversations/<Conversation ID>.
string conversation = 1;
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
This builder for chaining. |
clearErrorStatus()
public ConversationEvent.Builder clearErrorStatus()More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
.google.rpc.Status error_status = 3;
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public ConversationEvent.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
clearNewMessagePayload()
public ConversationEvent.Builder clearNewMessagePayload()Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2.Message new_message_payload = 4;
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public ConversationEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
clearPayload()
public ConversationEvent.Builder clearPayload()| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
clearType()
public ConversationEvent.Builder clearType()The type of the event that this notification refers to.
.google.cloud.dialogflow.v2.ConversationEvent.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
This builder for chaining. |
clone()
public ConversationEvent.Builder clone()| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
getConversation()
public String getConversation() The unique identifier of the conversation this notification
refers to.
Format: projects/<Project ID>/conversations/<Conversation ID>.
string conversation = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The conversation. |
getConversationBytes()
public ByteString getConversationBytes() The unique identifier of the conversation this notification
refers to.
Format: projects/<Project ID>/conversations/<Conversation ID>.
string conversation = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for conversation. |
getDefaultInstanceForType()
public ConversationEvent getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ConversationEvent |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getErrorStatus()
public Status getErrorStatus()More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
.google.rpc.Status error_status = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status |
The errorStatus. |
getErrorStatusBuilder()
public Status.Builder getErrorStatusBuilder()More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
.google.rpc.Status error_status = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status.Builder |
|
getErrorStatusOrBuilder()
public StatusOrBuilder getErrorStatusOrBuilder()More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
.google.rpc.Status error_status = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.StatusOrBuilder |
|
getNewMessagePayload()
public Message getNewMessagePayload()Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2.Message new_message_payload = 4;
| Returns | |
|---|---|
| Type | Description |
Message |
The newMessagePayload. |
getNewMessagePayloadBuilder()
public Message.Builder getNewMessagePayloadBuilder()Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2.Message new_message_payload = 4;
| Returns | |
|---|---|
| Type | Description |
Message.Builder |
|
getNewMessagePayloadOrBuilder()
public MessageOrBuilder getNewMessagePayloadOrBuilder()Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2.Message new_message_payload = 4;
| Returns | |
|---|---|
| Type | Description |
MessageOrBuilder |
|
getPayloadCase()
public ConversationEvent.PayloadCase getPayloadCase()| Returns | |
|---|---|
| Type | Description |
ConversationEvent.PayloadCase |
|
getType()
public ConversationEvent.Type getType()The type of the event that this notification refers to.
.google.cloud.dialogflow.v2.ConversationEvent.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Type |
The type. |
getTypeValue()
public int getTypeValue()The type of the event that this notification refers to.
.google.cloud.dialogflow.v2.ConversationEvent.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
hasErrorStatus()
public boolean hasErrorStatus()More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
.google.rpc.Status error_status = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the errorStatus field is set. |
hasNewMessagePayload()
public boolean hasNewMessagePayload()Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2.Message new_message_payload = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the newMessagePayload field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeErrorStatus(Status value)
public ConversationEvent.Builder mergeErrorStatus(Status value)More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
.google.rpc.Status error_status = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
mergeFrom(ConversationEvent other)
public ConversationEvent.Builder mergeFrom(ConversationEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
ConversationEvent |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConversationEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ConversationEvent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
mergeNewMessagePayload(Message value)
public ConversationEvent.Builder mergeNewMessagePayload(Message value)Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2.Message new_message_payload = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Message |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConversationEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
setConversation(String value)
public ConversationEvent.Builder setConversation(String value) The unique identifier of the conversation this notification
refers to.
Format: projects/<Project ID>/conversations/<Conversation ID>.
string conversation = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe conversation to set. |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
This builder for chaining. |
setConversationBytes(ByteString value)
public ConversationEvent.Builder setConversationBytes(ByteString value) The unique identifier of the conversation this notification
refers to.
Format: projects/<Project ID>/conversations/<Conversation ID>.
string conversation = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for conversation to set. |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
This builder for chaining. |
setErrorStatus(Status value)
public ConversationEvent.Builder setErrorStatus(Status value)More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
.google.rpc.Status error_status = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
setErrorStatus(Status.Builder builderForValue)
public ConversationEvent.Builder setErrorStatus(Status.Builder builderForValue)More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
.google.rpc.Status error_status = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public ConversationEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
setNewMessagePayload(Message value)
public ConversationEvent.Builder setNewMessagePayload(Message value)Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2.Message new_message_payload = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Message |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
setNewMessagePayload(Message.Builder builderForValue)
public ConversationEvent.Builder setNewMessagePayload(Message.Builder builderForValue)Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2.Message new_message_payload = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Message.Builder |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConversationEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|
setType(ConversationEvent.Type value)
public ConversationEvent.Builder setType(ConversationEvent.Type value)The type of the event that this notification refers to.
.google.cloud.dialogflow.v2.ConversationEvent.Type type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ConversationEvent.TypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
This builder for chaining. |
setTypeValue(int value)
public ConversationEvent.Builder setTypeValue(int value)The type of the event that this notification refers to.
.google.cloud.dialogflow.v2.ConversationEvent.Type type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConversationEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ConversationEvent.Builder |
|