Package com.buildless.telemetry
Class TelemetryEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
com.buildless.telemetry.TelemetryEvent.Builder
- All Implemented Interfaces:
TelemetryEventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
TelemetryEvent
public static final class TelemetryEvent.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
implements TelemetryEventOrBuilder
## Telemetry: Event Describes the structure of an event which is emitted by, or consumed by, Buildless. For example, build analytics and cache events are modeled using telemetry events.Protobuf type
buildless.telemetry.TelemetryEvent-
Method Summary
Modifier and TypeMethodDescriptionaddAllContext(Iterable<? extends EventContext> values) Specifies contextual information references which relate to this event.addContext(int index, EventContext value) Specifies contextual information references which relate to this event.addContext(int index, EventContext.Builder builderForValue) Specifies contextual information references which relate to this event.addContext(EventContext value) Specifies contextual information references which relate to this event.addContext(EventContext.Builder builderForValue) Specifies contextual information references which relate to this event.Specifies contextual information references which relate to this event.addContextBuilder(int index) Specifies contextual information references which relate to this event.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Specifies contextual information references which relate to this event.Raw data attached to this event.Detailed information about this event.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()Specifies a semi-unique ID for this event, which is used by the telemetry system to de-duplicate events at the time of delivery to the API.Specifies location information for this event payload.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specifies the ordinal index of this event, within the set of events delivered for this timer or session.Specifies a relevance scope for this event; this value is calculated by the system, and may be provided in some circumstances in order to group related events.Specifies the organization tenant which this event is associated with.Raw bytes of a timer ID which relates multiple events to each other.Timing information for this event.Specifies the user account which this event is associated with.clone()getContext(int index) Specifies contextual information references which relate to this event.getContextBuilder(int index) Specifies contextual information references which relate to this event.Specifies contextual information references which relate to this event.intSpecifies contextual information references which relate to this event.Specifies contextual information references which relate to this event.getContextOrBuilder(int index) Specifies contextual information references which relate to this event.List<? extends EventContextOrBuilder>Specifies contextual information references which relate to this event.com.google.protobuf.AnygetData()Raw data attached to this event.com.google.protobuf.Any.BuilderRaw data attached to this event.com.google.protobuf.AnyOrBuilderRaw data attached to this event.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDetailed information about this event.Detailed information about this event.Detailed information about this event.getId()Specifies a semi-unique ID for this event, which is used by the telemetry system to de-duplicate events at the time of delivery to the API.com.google.protobuf.ByteStringSpecifies a semi-unique ID for this event, which is used by the telemetry system to de-duplicate events at the time of delivery to the API.Specifies location information for this event payload.Specifies location information for this event payload.Specifies location information for this event payload.intSpecifies the ordinal index of this event, within the set of events delivered for this timer or session.getScope()Specifies a relevance scope for this event; this value is calculated by the system, and may be provided in some circumstances in order to group related events.com.google.protobuf.ByteStringSpecifies a relevance scope for this event; this value is calculated by the system, and may be provided in some circumstances in order to group related events.Specifies the organization tenant which this event is associated with.com.google.protobuf.ByteStringSpecifies the organization tenant which this event is associated with.com.google.protobuf.ByteStringgetTimer()Raw bytes of a timer ID which relates multiple events to each other.Timing information for this event.Timing information for this event.Timing information for this event.getUser()Specifies the user account which this event is associated with.com.google.protobuf.ByteStringSpecifies the user account which this event is associated with.booleanhasData()Raw data attached to this event.booleanDetailed information about this event.booleanSpecifies location information for this event payload.booleanTiming information for this event.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeData(com.google.protobuf.Any value) Raw data attached to this event.mergeDetail(EventDetail value) Detailed information about this event.mergeFrom(TelemetryEvent other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLocation(EventLocation value) Specifies location information for this event payload.mergeTiming(EventTiming value) Timing information for this event.final TelemetryEvent.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeContext(int index) Specifies contextual information references which relate to this event.setContext(int index, EventContext value) Specifies contextual information references which relate to this event.setContext(int index, EventContext.Builder builderForValue) Specifies contextual information references which relate to this event.setData(com.google.protobuf.Any value) Raw data attached to this event.setData(com.google.protobuf.Any.Builder builderForValue) Raw data attached to this event.setDetail(EventDetail value) Detailed information about this event.setDetail(EventDetail.Builder builderForValue) Detailed information about this event.Specifies a semi-unique ID for this event, which is used by the telemetry system to de-duplicate events at the time of delivery to the API.setIdBytes(com.google.protobuf.ByteString value) Specifies a semi-unique ID for this event, which is used by the telemetry system to de-duplicate events at the time of delivery to the API.setLocation(EventLocation value) Specifies location information for this event payload.setLocation(EventLocation.Builder builderForValue) Specifies location information for this event payload.setOrdinal(int value) Specifies the ordinal index of this event, within the set of events delivered for this timer or session.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Specifies a relevance scope for this event; this value is calculated by the system, and may be provided in some circumstances in order to group related events.setScopeBytes(com.google.protobuf.ByteString value) Specifies a relevance scope for this event; this value is calculated by the system, and may be provided in some circumstances in order to group related events.Specifies the organization tenant which this event is associated with.setTenantBytes(com.google.protobuf.ByteString value) Specifies the organization tenant which this event is associated with.setTimer(com.google.protobuf.ByteString value) Raw bytes of a timer ID which relates multiple events to each other.setTiming(EventTiming value) Timing information for this event.setTiming(EventTiming.Builder builderForValue) Timing information for this event.final TelemetryEvent.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Specifies the user account which this event is associated with.setUserBytes(com.google.protobuf.ByteString value) Specifies the user account which this event is associated with.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
-
setField
public TelemetryEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
-
setRepeatedField
public TelemetryEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
-
addRepeatedField
public TelemetryEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TelemetryEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
-
mergeFrom
public TelemetryEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TelemetryEvent.Builder>- Throws:
IOException
-
getScope
Specifies a relevance scope for this event; this value is calculated by the system, and may be provided in some circumstances in order to group related events.
string scope = 1 [json_name = "scope", (.google.api.field_behavior) = OUTPUT_ONLY, (.validate.rules) = { ... }- Specified by:
getScopein interfaceTelemetryEventOrBuilder- Returns:
- The scope.
-
getScopeBytes
public com.google.protobuf.ByteString getScopeBytes()Specifies a relevance scope for this event; this value is calculated by the system, and may be provided in some circumstances in order to group related events.
string scope = 1 [json_name = "scope", (.google.api.field_behavior) = OUTPUT_ONLY, (.validate.rules) = { ... }- Specified by:
getScopeBytesin interfaceTelemetryEventOrBuilder- Returns:
- The bytes for scope.
-
setScope
Specifies a relevance scope for this event; this value is calculated by the system, and may be provided in some circumstances in order to group related events.
string scope = 1 [json_name = "scope", (.google.api.field_behavior) = OUTPUT_ONLY, (.validate.rules) = { ... }- Parameters:
value- The scope to set.- Returns:
- This builder for chaining.
-
clearScope
Specifies a relevance scope for this event; this value is calculated by the system, and may be provided in some circumstances in order to group related events.
string scope = 1 [json_name = "scope", (.google.api.field_behavior) = OUTPUT_ONLY, (.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setScopeBytes
Specifies a relevance scope for this event; this value is calculated by the system, and may be provided in some circumstances in order to group related events.
string scope = 1 [json_name = "scope", (.google.api.field_behavior) = OUTPUT_ONLY, (.validate.rules) = { ... }- Parameters:
value- The bytes for scope to set.- Returns:
- This builder for chaining.
-
getId
Specifies a semi-unique ID for this event, which is used by the telemetry system to de-duplicate events at the time of delivery to the API. If an event has been received before, it may be rejected, or omitted during processing.
string id = 2 [json_name = "id", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
getIdin interfaceTelemetryEventOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Specifies a semi-unique ID for this event, which is used by the telemetry system to de-duplicate events at the time of delivery to the API. If an event has been received before, it may be rejected, or omitted during processing.
string id = 2 [json_name = "id", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
getIdBytesin interfaceTelemetryEventOrBuilder- Returns:
- The bytes for id.
-
setId
Specifies a semi-unique ID for this event, which is used by the telemetry system to de-duplicate events at the time of delivery to the API. If an event has been received before, it may be rejected, or omitted during processing.
string id = 2 [json_name = "id", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Specifies a semi-unique ID for this event, which is used by the telemetry system to de-duplicate events at the time of delivery to the API. If an event has been received before, it may be rejected, or omitted during processing.
string id = 2 [json_name = "id", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setIdBytes
Specifies a semi-unique ID for this event, which is used by the telemetry system to de-duplicate events at the time of delivery to the API. If an event has been received before, it may be rejected, or omitted during processing.
string id = 2 [json_name = "id", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getTenant
Specifies the organization tenant which this event is associated with. This field is automatically added to the event based on the event source and API key, and is only present for organization-related events.
string tenant = 3 [json_name = "tenant", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Specified by:
getTenantin interfaceTelemetryEventOrBuilder- Returns:
- The tenant.
-
getTenantBytes
public com.google.protobuf.ByteString getTenantBytes()Specifies the organization tenant which this event is associated with. This field is automatically added to the event based on the event source and API key, and is only present for organization-related events.
string tenant = 3 [json_name = "tenant", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Specified by:
getTenantBytesin interfaceTelemetryEventOrBuilder- Returns:
- The bytes for tenant.
-
setTenant
Specifies the organization tenant which this event is associated with. This field is automatically added to the event based on the event source and API key, and is only present for organization-related events.
string tenant = 3 [json_name = "tenant", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Parameters:
value- The tenant to set.- Returns:
- This builder for chaining.
-
clearTenant
Specifies the organization tenant which this event is associated with. This field is automatically added to the event based on the event source and API key, and is only present for organization-related events.
string tenant = 3 [json_name = "tenant", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setTenantBytes
Specifies the organization tenant which this event is associated with. This field is automatically added to the event based on the event source and API key, and is only present for organization-related events.
string tenant = 3 [json_name = "tenant", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Parameters:
value- The bytes for tenant to set.- Returns:
- This builder for chaining.
-
getUser
Specifies the user account which this event is associated with. This field is automatically added to the event based on the event source and API key, and is only present for events which relate to a user.
string user = 4 [json_name = "user", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Specified by:
getUserin interfaceTelemetryEventOrBuilder- Returns:
- The user.
-
getUserBytes
public com.google.protobuf.ByteString getUserBytes()Specifies the user account which this event is associated with. This field is automatically added to the event based on the event source and API key, and is only present for events which relate to a user.
string user = 4 [json_name = "user", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Specified by:
getUserBytesin interfaceTelemetryEventOrBuilder- Returns:
- The bytes for user.
-
setUser
Specifies the user account which this event is associated with. This field is automatically added to the event based on the event source and API key, and is only present for events which relate to a user.
string user = 4 [json_name = "user", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Parameters:
value- The user to set.- Returns:
- This builder for chaining.
-
clearUser
Specifies the user account which this event is associated with. This field is automatically added to the event based on the event source and API key, and is only present for events which relate to a user.
string user = 4 [json_name = "user", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setUserBytes
Specifies the user account which this event is associated with. This field is automatically added to the event based on the event source and API key, and is only present for events which relate to a user.
string user = 4 [json_name = "user", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Parameters:
value- The bytes for user to set.- Returns:
- This builder for chaining.
-
getContextList
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
getContextListin interfaceTelemetryEventOrBuilder
-
getContextCount
public int getContextCount()Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
getContextCountin interfaceTelemetryEventOrBuilder
-
getContext
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
getContextin interfaceTelemetryEventOrBuilder
-
setContext
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
setContext
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
addContext
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
addContext
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
addContext
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
addContext
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
addAllContext
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
clearContext
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
removeContext
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
getContextBuilder
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
getContextOrBuilder
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
getContextOrBuilderin interfaceTelemetryEventOrBuilder
-
getContextOrBuilderList
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
getContextOrBuilderListin interfaceTelemetryEventOrBuilder
-
addContextBuilder
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
addContextBuilder
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
getContextBuilderList
Specifies contextual information references which relate to this event. Multiple event contexts can be specified for a single event.
repeated .buildless.telemetry.EventContext context = 5 [json_name = "context", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
hasDetail
public boolean hasDetail()Detailed information about this event. Most of this information is provided by the telemetry system automatically, and IDs referenced in this payload are expanded.
.buildless.telemetry.EventDetail detail = 6 [json_name = "detail", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
hasDetailin interfaceTelemetryEventOrBuilder- Returns:
- Whether the detail field is set.
-
getDetail
Detailed information about this event. Most of this information is provided by the telemetry system automatically, and IDs referenced in this payload are expanded.
.buildless.telemetry.EventDetail detail = 6 [json_name = "detail", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
getDetailin interfaceTelemetryEventOrBuilder- Returns:
- The detail.
-
setDetail
Detailed information about this event. Most of this information is provided by the telemetry system automatically, and IDs referenced in this payload are expanded.
.buildless.telemetry.EventDetail detail = 6 [json_name = "detail", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
setDetail
Detailed information about this event. Most of this information is provided by the telemetry system automatically, and IDs referenced in this payload are expanded.
.buildless.telemetry.EventDetail detail = 6 [json_name = "detail", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
mergeDetail
Detailed information about this event. Most of this information is provided by the telemetry system automatically, and IDs referenced in this payload are expanded.
.buildless.telemetry.EventDetail detail = 6 [json_name = "detail", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
clearDetail
Detailed information about this event. Most of this information is provided by the telemetry system automatically, and IDs referenced in this payload are expanded.
.buildless.telemetry.EventDetail detail = 6 [json_name = "detail", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
getDetailBuilder
Detailed information about this event. Most of this information is provided by the telemetry system automatically, and IDs referenced in this payload are expanded.
.buildless.telemetry.EventDetail detail = 6 [json_name = "detail", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
getDetailOrBuilder
Detailed information about this event. Most of this information is provided by the telemetry system automatically, and IDs referenced in this payload are expanded.
.buildless.telemetry.EventDetail detail = 6 [json_name = "detail", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
getDetailOrBuilderin interfaceTelemetryEventOrBuilder
-
hasTiming
public boolean hasTiming()Timing information for this event. This information is provided by the telemetry system automatically, except for the `occurred` timestamp, which is provided by the client.
.buildless.telemetry.EventTiming timing = 7 [json_name = "timing", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
hasTimingin interfaceTelemetryEventOrBuilder- Returns:
- Whether the timing field is set.
-
getTiming
Timing information for this event. This information is provided by the telemetry system automatically, except for the `occurred` timestamp, which is provided by the client.
.buildless.telemetry.EventTiming timing = 7 [json_name = "timing", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
getTimingin interfaceTelemetryEventOrBuilder- Returns:
- The timing.
-
setTiming
Timing information for this event. This information is provided by the telemetry system automatically, except for the `occurred` timestamp, which is provided by the client.
.buildless.telemetry.EventTiming timing = 7 [json_name = "timing", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
setTiming
Timing information for this event. This information is provided by the telemetry system automatically, except for the `occurred` timestamp, which is provided by the client.
.buildless.telemetry.EventTiming timing = 7 [json_name = "timing", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
mergeTiming
Timing information for this event. This information is provided by the telemetry system automatically, except for the `occurred` timestamp, which is provided by the client.
.buildless.telemetry.EventTiming timing = 7 [json_name = "timing", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
clearTiming
Timing information for this event. This information is provided by the telemetry system automatically, except for the `occurred` timestamp, which is provided by the client.
.buildless.telemetry.EventTiming timing = 7 [json_name = "timing", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
getTimingBuilder
Timing information for this event. This information is provided by the telemetry system automatically, except for the `occurred` timestamp, which is provided by the client.
.buildless.telemetry.EventTiming timing = 7 [json_name = "timing", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
getTimingOrBuilder
Timing information for this event. This information is provided by the telemetry system automatically, except for the `occurred` timestamp, which is provided by the client.
.buildless.telemetry.EventTiming timing = 7 [json_name = "timing", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
getTimingOrBuilderin interfaceTelemetryEventOrBuilder
-
hasLocation
public boolean hasLocation()Specifies location information for this event payload. This information is either provided by the client, or, in some cases, a best-effort guess is made by the system on the server-side. All location information is optional.
.buildless.telemetry.EventLocation location = 8 [json_name = "location", (.google.api.field_behavior) = OPTIONAL];- Specified by:
hasLocationin interfaceTelemetryEventOrBuilder- Returns:
- Whether the location field is set.
-
getLocation
Specifies location information for this event payload. This information is either provided by the client, or, in some cases, a best-effort guess is made by the system on the server-side. All location information is optional.
.buildless.telemetry.EventLocation location = 8 [json_name = "location", (.google.api.field_behavior) = OPTIONAL];- Specified by:
getLocationin interfaceTelemetryEventOrBuilder- Returns:
- The location.
-
setLocation
Specifies location information for this event payload. This information is either provided by the client, or, in some cases, a best-effort guess is made by the system on the server-side. All location information is optional.
.buildless.telemetry.EventLocation location = 8 [json_name = "location", (.google.api.field_behavior) = OPTIONAL]; -
setLocation
Specifies location information for this event payload. This information is either provided by the client, or, in some cases, a best-effort guess is made by the system on the server-side. All location information is optional.
.buildless.telemetry.EventLocation location = 8 [json_name = "location", (.google.api.field_behavior) = OPTIONAL]; -
mergeLocation
Specifies location information for this event payload. This information is either provided by the client, or, in some cases, a best-effort guess is made by the system on the server-side. All location information is optional.
.buildless.telemetry.EventLocation location = 8 [json_name = "location", (.google.api.field_behavior) = OPTIONAL]; -
clearLocation
Specifies location information for this event payload. This information is either provided by the client, or, in some cases, a best-effort guess is made by the system on the server-side. All location information is optional.
.buildless.telemetry.EventLocation location = 8 [json_name = "location", (.google.api.field_behavior) = OPTIONAL]; -
getLocationBuilder
Specifies location information for this event payload. This information is either provided by the client, or, in some cases, a best-effort guess is made by the system on the server-side. All location information is optional.
.buildless.telemetry.EventLocation location = 8 [json_name = "location", (.google.api.field_behavior) = OPTIONAL]; -
getLocationOrBuilder
Specifies location information for this event payload. This information is either provided by the client, or, in some cases, a best-effort guess is made by the system on the server-side. All location information is optional.
.buildless.telemetry.EventLocation location = 8 [json_name = "location", (.google.api.field_behavior) = OPTIONAL];- Specified by:
getLocationOrBuilderin interfaceTelemetryEventOrBuilder
-
getTimer
public com.google.protobuf.ByteString getTimer()Raw bytes of a timer ID which relates multiple events to each other. This value is expected and guaranteed to be unique within the scope of a given account and telemetry session.
bytes timer = 9 [json_name = "timer", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Specified by:
getTimerin interfaceTelemetryEventOrBuilder- Returns:
- The timer.
-
setTimer
Raw bytes of a timer ID which relates multiple events to each other. This value is expected and guaranteed to be unique within the scope of a given account and telemetry session.
bytes timer = 9 [json_name = "timer", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Parameters:
value- The timer to set.- Returns:
- This builder for chaining.
-
clearTimer
Raw bytes of a timer ID which relates multiple events to each other. This value is expected and guaranteed to be unique within the scope of a given account and telemetry session.
bytes timer = 9 [json_name = "timer", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
getOrdinal
public int getOrdinal()Specifies the ordinal index of this event, within the set of events delivered for this timer or session. This acts as an ordering hint to the server, and is set by the client.
uint32 ordinal = 10 [json_name = "ordinal", (.google.api.field_behavior) = OPTIONAL];- Specified by:
getOrdinalin interfaceTelemetryEventOrBuilder- Returns:
- The ordinal.
-
setOrdinal
Specifies the ordinal index of this event, within the set of events delivered for this timer or session. This acts as an ordering hint to the server, and is set by the client.
uint32 ordinal = 10 [json_name = "ordinal", (.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The ordinal to set.- Returns:
- This builder for chaining.
-
clearOrdinal
Specifies the ordinal index of this event, within the set of events delivered for this timer or session. This acts as an ordering hint to the server, and is set by the client.
uint32 ordinal = 10 [json_name = "ordinal", (.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasData
public boolean hasData()Raw data attached to this event. Custom data is opaque to the Buildless service. This field is optional, and may only be supported for some plans and accounts. Fields cannot start with the prefix `_buildless_`, or contain the string `buildless` at any position.
.google.protobuf.Any data = 11 [json_name = "data", (.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDatain interfaceTelemetryEventOrBuilder- Returns:
- Whether the data field is set.
-
getData
public com.google.protobuf.Any getData()Raw data attached to this event. Custom data is opaque to the Buildless service. This field is optional, and may only be supported for some plans and accounts. Fields cannot start with the prefix `_buildless_`, or contain the string `buildless` at any position.
.google.protobuf.Any data = 11 [json_name = "data", (.google.api.field_behavior) = OPTIONAL];- Specified by:
getDatain interfaceTelemetryEventOrBuilder- Returns:
- The data.
-
setData
Raw data attached to this event. Custom data is opaque to the Buildless service. This field is optional, and may only be supported for some plans and accounts. Fields cannot start with the prefix `_buildless_`, or contain the string `buildless` at any position.
.google.protobuf.Any data = 11 [json_name = "data", (.google.api.field_behavior) = OPTIONAL]; -
setData
Raw data attached to this event. Custom data is opaque to the Buildless service. This field is optional, and may only be supported for some plans and accounts. Fields cannot start with the prefix `_buildless_`, or contain the string `buildless` at any position.
.google.protobuf.Any data = 11 [json_name = "data", (.google.api.field_behavior) = OPTIONAL]; -
mergeData
Raw data attached to this event. Custom data is opaque to the Buildless service. This field is optional, and may only be supported for some plans and accounts. Fields cannot start with the prefix `_buildless_`, or contain the string `buildless` at any position.
.google.protobuf.Any data = 11 [json_name = "data", (.google.api.field_behavior) = OPTIONAL]; -
clearData
Raw data attached to this event. Custom data is opaque to the Buildless service. This field is optional, and may only be supported for some plans and accounts. Fields cannot start with the prefix `_buildless_`, or contain the string `buildless` at any position.
.google.protobuf.Any data = 11 [json_name = "data", (.google.api.field_behavior) = OPTIONAL]; -
getDataBuilder
public com.google.protobuf.Any.Builder getDataBuilder()Raw data attached to this event. Custom data is opaque to the Buildless service. This field is optional, and may only be supported for some plans and accounts. Fields cannot start with the prefix `_buildless_`, or contain the string `buildless` at any position.
.google.protobuf.Any data = 11 [json_name = "data", (.google.api.field_behavior) = OPTIONAL]; -
getDataOrBuilder
public com.google.protobuf.AnyOrBuilder getDataOrBuilder()Raw data attached to this event. Custom data is opaque to the Buildless service. This field is optional, and may only be supported for some plans and accounts. Fields cannot start with the prefix `_buildless_`, or contain the string `buildless` at any position.
.google.protobuf.Any data = 11 [json_name = "data", (.google.api.field_behavior) = OPTIONAL];- Specified by:
getDataOrBuilderin interfaceTelemetryEventOrBuilder
-
setUnknownFields
public final TelemetryEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
-
mergeUnknownFields
public final TelemetryEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
-