Class EventInput.Builder (0.94.0)

public static final class EventInput.Builder extends GeneratedMessage.Builder<EventInput.Builder> implements EventInputOrBuilder

Represents the event to trigger.

Protobuf type google.cloud.dialogflow.cx.v3.EventInput

Implements

EventInputOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public EventInput build()
Returns
Type Description
EventInput

buildPartial()

public EventInput buildPartial()
Returns
Type Description
EventInput

clear()

public EventInput.Builder clear()
Returns
Type Description
EventInput.Builder
Overrides

clearEvent()

public EventInput.Builder clearEvent()

Name of the event.

string event = 1;

Returns
Type Description
EventInput.Builder

This builder for chaining.

getDefaultInstanceForType()

public EventInput getDefaultInstanceForType()
Returns
Type Description
EventInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEvent()

public String getEvent()

Name of the event.

string event = 1;

Returns
Type Description
String

The event.

getEventBytes()

public ByteString getEventBytes()

Name of the event.

string event = 1;

Returns
Type Description
ByteString

The bytes for event.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EventInput other)

public EventInput.Builder mergeFrom(EventInput other)
Parameter
Name Description
other EventInput
Returns
Type Description
EventInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EventInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EventInput.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EventInput.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EventInput.Builder
Overrides

setEvent(String value)

public EventInput.Builder setEvent(String value)

Name of the event.

string event = 1;

Parameter
Name Description
value String

The event to set.

Returns
Type Description
EventInput.Builder

This builder for chaining.

setEventBytes(ByteString value)

public EventInput.Builder setEventBytes(ByteString value)

Name of the event.

string event = 1;

Parameter
Name Description
value ByteString

The bytes for event to set.

Returns
Type Description
EventInput.Builder

This builder for chaining.