Class EventInput.Builder (0.14.1)

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

Represents the event to trigger.

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

Implements

EventInputOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EventInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EventInput.Builder
Overrides

build()

public EventInput build()
Returns
TypeDescription
EventInput

buildPartial()

public EventInput buildPartial()
Returns
TypeDescription
EventInput

clear()

public EventInput.Builder clear()
Returns
TypeDescription
EventInput.Builder
Overrides

clearEvent()

public EventInput.Builder clearEvent()

Name of the event.

string event = 1;

Returns
TypeDescription
EventInput.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EventInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EventInput.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EventInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EventInput.Builder
Overrides

clone()

public EventInput.Builder clone()
Returns
TypeDescription
EventInput.Builder
Overrides

getDefaultInstanceForType()

public EventInput getDefaultInstanceForType()
Returns
TypeDescription
EventInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEvent()

public String getEvent()

Name of the event.

string event = 1;

Returns
TypeDescription
String

The event.

getEventBytes()

public ByteString getEventBytes()

Name of the event.

string event = 1;

Returns
TypeDescription
ByteString

The bytes for event.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EventInput other)

public EventInput.Builder mergeFrom(EventInput other)
Parameter
NameDescription
otherEventInput
Returns
TypeDescription
EventInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EventInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventInput.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EventInput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EventInput.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EventInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EventInput.Builder
Overrides

setEvent(String value)

public EventInput.Builder setEvent(String value)

Name of the event.

string event = 1;

Parameter
NameDescription
valueString

The event to set.

Returns
TypeDescription
EventInput.Builder

This builder for chaining.

setEventBytes(ByteString value)

public EventInput.Builder setEventBytes(ByteString value)

Name of the event.

string event = 1;

Parameter
NameDescription
valueByteString

The bytes for event to set.

Returns
TypeDescription
EventInput.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EventInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EventInput.Builder
Overrides

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

public EventInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EventInput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EventInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EventInput.Builder
Overrides