public static final class EventInput.Builder extends GeneratedMessageV3.Builder<EventInput.Builder> implements EventInputOrBuilder
Represents the event to trigger.
Protobuf type google.cloud.dialogflow.cx.v3.EventInput
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EventInput.BuilderImplements
EventInputOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EventInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
EventInput.Builder |
build()
public EventInput build()
Type | Description |
EventInput |
buildPartial()
public EventInput buildPartial()
Type | Description |
EventInput |
clear()
public EventInput.Builder clear()
Type | Description |
EventInput.Builder |
clearEvent()
public EventInput.Builder clearEvent()
Name of the event.
string event = 1;
Type | Description |
EventInput.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public EventInput.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
EventInput.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public EventInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
EventInput.Builder |
clone()
public EventInput.Builder clone()
Type | Description |
EventInput.Builder |
getDefaultInstanceForType()
public EventInput getDefaultInstanceForType()
Type | Description |
EventInput |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEvent()
public String getEvent()
Name of the event.
string event = 1;
Type | Description |
String | The event. |
getEventBytes()
public ByteString getEventBytes()
Name of the event.
string event = 1;
Type | Description |
ByteString | The bytes for event. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(EventInput other)
public EventInput.Builder mergeFrom(EventInput other)
Name | Description |
other | EventInput |
Type | Description |
EventInput.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EventInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
EventInput.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public EventInput.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
EventInput.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
EventInput.Builder |
setEvent(String value)
public EventInput.Builder setEvent(String value)
Name of the event.
string event = 1;
Name | Description |
value | String The event to set. |
Type | Description |
EventInput.Builder | This builder for chaining. |
setEventBytes(ByteString value)
public EventInput.Builder setEventBytes(ByteString value)
Name of the event.
string event = 1;
Name | Description |
value | ByteString The bytes for event to set. |
Type | Description |
EventInput.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public EventInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
EventInput.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EventInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
EventInput.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final EventInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
EventInput.Builder |