Package com.google.cloud.notebooks.v2
Interface EventOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Event
,Event.Builder
public interface EventOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsDetails(String key)
Optional.Map<String,String>
getDetails()
Deprecated.int
getDetailsCount()
Optional.Map<String,String>
getDetailsMap()
Optional.String
getDetailsOrDefault(String key, String defaultValue)
Optional.String
getDetailsOrThrow(String key)
Optional.com.google.protobuf.Timestamp
getReportTime()
Optional.com.google.protobuf.TimestampOrBuilder
getReportTimeOrBuilder()
Optional.Event.EventType
getType()
Optional.int
getTypeValue()
Optional.boolean
hasReportTime()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasReportTime
boolean hasReportTime()
Optional. Event report time.
.google.protobuf.Timestamp report_time = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the reportTime field is set.
-
getReportTime
com.google.protobuf.Timestamp getReportTime()
Optional. Event report time.
.google.protobuf.Timestamp report_time = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The reportTime.
-
getReportTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getReportTimeOrBuilder()
Optional. Event report time.
.google.protobuf.Timestamp report_time = 1 [(.google.api.field_behavior) = OPTIONAL];
-
getTypeValue
int getTypeValue()
Optional. Event type.
.google.cloud.notebooks.v2.Event.EventType type = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The enum numeric value on the wire for type.
-
getType
Event.EventType getType()
Optional. Event type.
.google.cloud.notebooks.v2.Event.EventType type = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The type.
-
getDetailsCount
int getDetailsCount()
Optional. Event details. This field is used to pass event information.
map<string, string> details = 3 [(.google.api.field_behavior) = OPTIONAL];
-
containsDetails
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];
-
getDetails
@Deprecated Map<String,String> getDetails()
Deprecated.UsegetDetailsMap()
instead.
-
getDetailsMap
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];
-
getDetailsOrDefault
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];
-
-