Interface EventOrBuilder (1.22.0)

public interface EventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsDetails(String key)

public abstract boolean containsDetails(String key)

Optional. Event details. This field is used to pass event information.

map<string, string> details = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getDetails()

public abstract Map<String,String> getDetails()

Use #getDetailsMap() instead.

Returns
TypeDescription
Map<String,String>

getDetailsCount()

public abstract int getDetailsCount()

Optional. Event details. This field is used to pass event information.

map<string, string> details = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getDetailsMap()

public abstract Map<String,String> getDetailsMap()

Optional. Event details. This field is used to pass event information.

map<string, string> details = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Map<String,String>

getDetailsOrDefault(String key, String defaultValue)

public abstract String getDetailsOrDefault(String key, String defaultValue)

Optional. Event details. This field is used to pass event information.

map<string, string> details = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getDetailsOrThrow(String key)

public abstract String getDetailsOrThrow(String key)

Optional. Event details. This field is used to pass event information.

map<string, string> details = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getReportTime()

public abstract Timestamp getReportTime()

Optional. Event report time.

.google.protobuf.Timestamp report_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Timestamp

The reportTime.

getReportTimeOrBuilder()

public abstract TimestampOrBuilder getReportTimeOrBuilder()

Optional. Event report time.

.google.protobuf.Timestamp report_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
TimestampOrBuilder

getType()

public abstract Event.EventType getType()

Optional. Event type.

.google.cloud.notebooks.v2.Event.EventType type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Event.EventType

The type.

getTypeValue()

public abstract int getTypeValue()

Optional. Event type.

.google.cloud.notebooks.v2.Event.EventType type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for type.

hasReportTime()

public abstract boolean hasReportTime()

Optional. Event report time.

.google.protobuf.Timestamp report_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the reportTime field is set.