Interface EventOrBuilder (1.51.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
Name Description
key String
Returns
Type Description
boolean

getDetails() (deprecated)

public abstract Map<String,String> getDetails()

Use #getDetailsMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
String

getReportTime()

public abstract Timestamp getReportTime()

Optional. Event report time.

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

Returns
Type Description
Timestamp

The reportTime.

getReportTimeOrBuilder()

public abstract TimestampOrBuilder getReportTimeOrBuilder()

Optional. Event report time.

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

Returns
Type Description
TimestampOrBuilder

getType()

public abstract Event.EventType getType()

Optional. Event type.

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

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the reportTime field is set.