public static final class NotificationConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.Builder> implements NotificationConfigOrBuilder
Defines notification behavior.Protobuf type
google.cloud.dialogflow.v2beta1.NotificationConfig| Modifier and Type | Method and Description |
|---|---|
NotificationConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NotificationConfig |
build() |
NotificationConfig |
buildPartial() |
NotificationConfig.Builder |
clear() |
NotificationConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
NotificationConfig.Builder |
clearMessageFormat()
Format of message.
|
NotificationConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
NotificationConfig.Builder |
clearTopic()
Name of the Pub/Sub topic to publish conversation
events like
[CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
as serialized
[ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
protos.
|
NotificationConfig.Builder |
clone() |
NotificationConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
NotificationConfig.MessageFormat |
getMessageFormat()
Format of message.
|
int |
getMessageFormatValue()
Format of message.
|
String |
getTopic()
Name of the Pub/Sub topic to publish conversation
events like
[CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
as serialized
[ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
protos.
|
com.google.protobuf.ByteString |
getTopicBytes()
Name of the Pub/Sub topic to publish conversation
events like
[CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
as serialized
[ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
protos.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
NotificationConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NotificationConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
NotificationConfig.Builder |
mergeFrom(NotificationConfig other) |
NotificationConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NotificationConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NotificationConfig.Builder |
setMessageFormat(NotificationConfig.MessageFormat value)
Format of message.
|
NotificationConfig.Builder |
setMessageFormatValue(int value)
Format of message.
|
NotificationConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
NotificationConfig.Builder |
setTopic(String value)
Name of the Pub/Sub topic to publish conversation
events like
[CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
as serialized
[ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
protos.
|
NotificationConfig.Builder |
setTopicBytes(com.google.protobuf.ByteString value)
Name of the Pub/Sub topic to publish conversation
events like
[CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
as serialized
[ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
protos.
|
NotificationConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.Builder>public NotificationConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.Builder>public NotificationConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic NotificationConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic NotificationConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic NotificationConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.Builder>public NotificationConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.Builder>public NotificationConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.Builder>public NotificationConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.Builder>public NotificationConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.Builder>public NotificationConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.Builder>public NotificationConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NotificationConfig.Builder>public NotificationConfig.Builder mergeFrom(NotificationConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.Builder>public NotificationConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NotificationConfig.Builder>IOExceptionpublic String getTopic()
Name of the Pub/Sub topic to publish conversation events like [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos. For telephony integration to receive notification, make sure either this topic is in the same project as the conversation or you grant `service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow Service Agent` role in the topic project. For chat integration to receive notification, make sure API caller has been granted the `Dialogflow Service Agent` role for the topic. Format: `projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>`.
string topic = 1;getTopic in interface NotificationConfigOrBuilderpublic com.google.protobuf.ByteString getTopicBytes()
Name of the Pub/Sub topic to publish conversation events like [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos. For telephony integration to receive notification, make sure either this topic is in the same project as the conversation or you grant `service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow Service Agent` role in the topic project. For chat integration to receive notification, make sure API caller has been granted the `Dialogflow Service Agent` role for the topic. Format: `projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>`.
string topic = 1;getTopicBytes in interface NotificationConfigOrBuilderpublic NotificationConfig.Builder setTopic(String value)
Name of the Pub/Sub topic to publish conversation events like [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos. For telephony integration to receive notification, make sure either this topic is in the same project as the conversation or you grant `service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow Service Agent` role in the topic project. For chat integration to receive notification, make sure API caller has been granted the `Dialogflow Service Agent` role for the topic. Format: `projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>`.
string topic = 1;value - The topic to set.public NotificationConfig.Builder clearTopic()
Name of the Pub/Sub topic to publish conversation events like [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos. For telephony integration to receive notification, make sure either this topic is in the same project as the conversation or you grant `service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow Service Agent` role in the topic project. For chat integration to receive notification, make sure API caller has been granted the `Dialogflow Service Agent` role for the topic. Format: `projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>`.
string topic = 1;public NotificationConfig.Builder setTopicBytes(com.google.protobuf.ByteString value)
Name of the Pub/Sub topic to publish conversation events like [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos. For telephony integration to receive notification, make sure either this topic is in the same project as the conversation or you grant `service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow Service Agent` role in the topic project. For chat integration to receive notification, make sure API caller has been granted the `Dialogflow Service Agent` role for the topic. Format: `projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>`.
string topic = 1;value - The bytes for topic to set.public int getMessageFormatValue()
Format of message.
.google.cloud.dialogflow.v2beta1.NotificationConfig.MessageFormat message_format = 2;
getMessageFormatValue in interface NotificationConfigOrBuilderpublic NotificationConfig.Builder setMessageFormatValue(int value)
Format of message.
.google.cloud.dialogflow.v2beta1.NotificationConfig.MessageFormat message_format = 2;
value - The enum numeric value on the wire for messageFormat to set.public NotificationConfig.MessageFormat getMessageFormat()
Format of message.
.google.cloud.dialogflow.v2beta1.NotificationConfig.MessageFormat message_format = 2;
getMessageFormat in interface NotificationConfigOrBuilderpublic NotificationConfig.Builder setMessageFormat(NotificationConfig.MessageFormat value)
Format of message.
.google.cloud.dialogflow.v2beta1.NotificationConfig.MessageFormat message_format = 2;
value - The messageFormat to set.public NotificationConfig.Builder clearMessageFormat()
Format of message.
.google.cloud.dialogflow.v2beta1.NotificationConfig.MessageFormat message_format = 2;
public final NotificationConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.Builder>public final NotificationConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.Builder>Copyright © 2023 Google LLC. All rights reserved.