Package com.buildless.telemetry
Interface EventContextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EventContext,EventContext.Builder
public interface EventContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAction name that took place on the specified `resource`.com.google.protobuf.ByteStringAction name that took place on the specified `resource`.getEvent()Event name or ID which occurred within the scope of this context type.com.google.protobuf.ByteStringEvent name or ID which occurred within the scope of this context type.Specifies a resource which this context relates to.com.google.protobuf.ByteStringSpecifies a resource which this context relates to.getType()Type specification for this event context reference.com.google.protobuf.ByteStringType specification for this event context reference.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getType
String getType()Type specification for this event context reference. This value should be a well-formed type URL which points to the protocol message implementing this context type.
string type = 1 [json_name = "type", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Type specification for this event context reference. This value should be a well-formed type URL which points to the protocol message implementing this context type.
string type = 1 [json_name = "type", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Returns:
- The bytes for type.
-
getResource
String getResource()Specifies a resource which this context relates to. Optional, and only specifies when a resource relates to an event context payload.
string resource = 2 [json_name = "resource", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Returns:
- The resource.
-
getResourceBytes
com.google.protobuf.ByteString getResourceBytes()Specifies a resource which this context relates to. Optional, and only specifies when a resource relates to an event context payload.
string resource = 2 [json_name = "resource", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Returns:
- The bytes for resource.
-
getAction
String getAction()Action name that took place on the specified `resource`. Only allowed when a `resource` is specified, in which case `resource` is required.
string action = 3 [json_name = "action", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Returns:
- The action.
-
getActionBytes
com.google.protobuf.ByteString getActionBytes()Action name that took place on the specified `resource`. Only allowed when a `resource` is specified, in which case `resource` is required.
string action = 3 [json_name = "action", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Returns:
- The bytes for action.
-
getEvent
String getEvent()Event name or ID which occurred within the scope of this context type. This value is required for all context types and effectively describes available detail, or the event which triggered this context.
string event = 4 [json_name = "event", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Returns:
- The event.
-
getEventBytes
com.google.protobuf.ByteString getEventBytes()Event name or ID which occurred within the scope of this context type. This value is required for all context types and effectively describes available detail, or the event which triggered this context.
string event = 4 [json_name = "event", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Returns:
- The bytes for event.
-