Interface EventOrBuilder (0.89.0)

public interface EventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEvent()

public abstract String getEvent()

Required. Name of the event.

string event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The event.

getEventBytes()

public abstract ByteString getEventBytes()

Required. Name of the event.

string event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for event.

getPayloadCase()

public abstract Event.PayloadCase getPayloadCase()
Returns
Type Description
Event.PayloadCase

getText()

public abstract String getText()

Optional. Unstructured text payload of the event.

string text = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Optional. Unstructured text payload of the event.

string text = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for text.

hasText()

public abstract boolean hasText()

Optional. Unstructured text payload of the event.

string text = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the text field is set.