- 4.60.0 (latest)
- 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 ConversationEventOrBuilder
Represents 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
ConversationEventOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConversationEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ConversationEvent.Builder |
build()
public ConversationEvent build()
Type | Description |
ConversationEvent |
buildPartial()
public ConversationEvent buildPartial()
Type | Description |
ConversationEvent |
clear()
public ConversationEvent.Builder clear()
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;
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;
Type | Description |
ConversationEvent.Builder |
clearField(Descriptors.FieldDescriptor field)
public ConversationEvent.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ConversationEvent.Builder |
clearNewMessagePayload()
public ConversationEvent.Builder clearNewMessagePayload()
Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2.Message new_message_payload = 4;
Type | Description |
ConversationEvent.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConversationEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ConversationEvent.Builder |
clearPayload()
public ConversationEvent.Builder clearPayload()
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;
Type | Description |
ConversationEvent.Builder | This builder for chaining. |
clone()
public ConversationEvent.Builder clone()
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;
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;
Type | Description |
ByteString | The bytes for conversation. |
getDefaultInstanceForType()
public ConversationEvent getDefaultInstanceForType()
Type | Description |
ConversationEvent |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
Type | Description |
com.google.rpc.StatusOrBuilder |
getNewMessagePayload()
public Message getNewMessagePayload()
Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2.Message new_message_payload = 4;
Type | Description |
Message | The newMessagePayload. |
getNewMessagePayloadBuilder()
public Message.Builder getNewMessagePayloadBuilder()
Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2.Message new_message_payload = 4;
Type | Description |
Message.Builder |
getNewMessagePayloadOrBuilder()
public MessageOrBuilder getNewMessagePayloadOrBuilder()
Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2.Message new_message_payload = 4;
Type | Description |
MessageOrBuilder |
getPayloadCase()
public ConversationEvent.PayloadCase getPayloadCase()
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;
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;
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;
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;
Type | Description |
boolean | Whether the newMessagePayload field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
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;
Name | Description |
value | com.google.rpc.Status |
Type | Description |
ConversationEvent.Builder |
mergeFrom(ConversationEvent other)
public ConversationEvent.Builder mergeFrom(ConversationEvent other)
Name | Description |
other | ConversationEvent |
Type | Description |
ConversationEvent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConversationEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ConversationEvent.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ConversationEvent.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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;
Name | Description |
value | Message |
Type | Description |
ConversationEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConversationEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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;
Name | Description |
value | String The conversation to set. |
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;
Name | Description |
value | ByteString The bytes for conversation to set. |
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;
Name | Description |
value | com.google.rpc.Status |
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;
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Type | Description |
ConversationEvent.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ConversationEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
value | Message |
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;
Name | Description |
builderForValue | Message.Builder |
Type | Description |
ConversationEvent.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConversationEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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;
Name | Description |
value | ConversationEvent.Type The type to set. |
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;
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Type | Description |
ConversationEvent.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConversationEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ConversationEvent.Builder |