Class EventInput (0.13.0)

public final class EventInput extends GeneratedMessageV3 implements EventInputOrBuilder

Represents the event to trigger.

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

Implements

EventInputOrBuilder

Static Fields

EVENT_FIELD_NUMBER

public static final int EVENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EventInput getDefaultInstance()
Returns
TypeDescription
EventInput

getDescriptor()

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

newBuilder()

public static EventInput.Builder newBuilder()
Returns
TypeDescription
EventInput.Builder

newBuilder(EventInput prototype)

public static EventInput.Builder newBuilder(EventInput prototype)
Parameter
NameDescription
prototypeEventInput
Returns
TypeDescription
EventInput.Builder

parseDelimitedFrom(InputStream input)

public static EventInput parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EventInput
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EventInput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventInput
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EventInput parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EventInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EventInput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EventInput parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EventInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EventInput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EventInput parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EventInput
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EventInput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventInput
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EventInput parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EventInput
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EventInput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventInput
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EventInput parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EventInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EventInput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EventInput> parser()
Returns
TypeDescription
Parser<EventInput>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EventInput getDefaultInstanceForType()
Returns
TypeDescription
EventInput

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.

getParserForType()

public Parser<EventInput> getParserForType()
Returns
TypeDescription
Parser<EventInput>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EventInput.Builder newBuilderForType()
Returns
TypeDescription
EventInput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EventInput.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EventInput.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EventInput.Builder toBuilder()
Returns
TypeDescription
EventInput.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException