Class EventInput.Builder (0.19.0)

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

Implements

EventInputOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EventInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EventInput.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public EventInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EventInput.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EventInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EventInput.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EventInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public EventInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EventInput.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EventInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EventInput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EventInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EventInput.Builder
Overrides