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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
    • clear

      public TelemetryEvent.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
    • getDefaultInstanceForType

      public TelemetryEvent getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public TelemetryEvent build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TelemetryEvent buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public TelemetryEvent.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
    • setField

      public TelemetryEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
    • clearField

      public TelemetryEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
    • clearOneof

      public TelemetryEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
    • setRepeatedField

      public TelemetryEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
    • addRepeatedField

      public TelemetryEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
    • mergeFrom

      public TelemetryEvent.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TelemetryEvent.Builder>
    • mergeFrom

      public TelemetryEvent.Builder mergeFrom(TelemetryEvent other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TelemetryEvent.Builder>
      Throws:
      IOException
    • getScope

      public String 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:
      getScope in interface TelemetryEventOrBuilder
      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:
      getScopeBytes in interface TelemetryEventOrBuilder
      Returns:
      The bytes for scope.
    • setScope

      public TelemetryEvent.Builder setScope(String 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.
       
      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

      public TelemetryEvent.Builder 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

      public TelemetryEvent.Builder 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.
       
      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

      public String 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:
      getId in interface TelemetryEventOrBuilder
      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:
      getIdBytes in interface TelemetryEventOrBuilder
      Returns:
      The bytes for id.
    • setId

      public TelemetryEvent.Builder setId(String 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. 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

      public TelemetryEvent.Builder 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

      public TelemetryEvent.Builder 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. 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

      public String 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:
      getTenant in interface TelemetryEventOrBuilder
      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:
      getTenantBytes in interface TelemetryEventOrBuilder
      Returns:
      The bytes for tenant.
    • setTenant

      public TelemetryEvent.Builder setTenant(String value)
       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

      public TelemetryEvent.Builder 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

      public TelemetryEvent.Builder setTenantBytes(com.google.protobuf.ByteString value)
       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

      public String 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:
      getUser in interface TelemetryEventOrBuilder
      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:
      getUserBytes in interface TelemetryEventOrBuilder
      Returns:
      The bytes for user.
    • setUser

      public TelemetryEvent.Builder setUser(String value)
       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

      public TelemetryEvent.Builder 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

      public TelemetryEvent.Builder setUserBytes(com.google.protobuf.ByteString value)
       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

      public List<EventContext> 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:
      getContextList in interface TelemetryEventOrBuilder
    • 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:
      getContextCount in interface TelemetryEventOrBuilder
    • getContext

      public EventContext getContext(int index)
       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:
      getContext in interface TelemetryEventOrBuilder
    • setContext

      public TelemetryEvent.Builder setContext(int index, EventContext value)
       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

      public TelemetryEvent.Builder setContext(int index, EventContext.Builder builderForValue)
       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

      public TelemetryEvent.Builder addContext(EventContext value)
       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

      public TelemetryEvent.Builder addContext(int index, EventContext value)
       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

      public TelemetryEvent.Builder addContext(EventContext.Builder builderForValue)
       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

      public TelemetryEvent.Builder addContext(int index, EventContext.Builder builderForValue)
       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

      public TelemetryEvent.Builder addAllContext(Iterable<? extends EventContext> values)
       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

      public TelemetryEvent.Builder 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

      public TelemetryEvent.Builder removeContext(int index)
       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

      public EventContext.Builder getContextBuilder(int index)
       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

      public EventContextOrBuilder getContextOrBuilder(int index)
       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:
      getContextOrBuilder in interface TelemetryEventOrBuilder
    • getContextOrBuilderList

      public List<? extends EventContextOrBuilder> 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:
      getContextOrBuilderList in interface TelemetryEventOrBuilder
    • addContextBuilder

      public EventContext.Builder 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

      public EventContext.Builder addContextBuilder(int index)
       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

      public List<EventContext.Builder> 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:
      hasDetail in interface TelemetryEventOrBuilder
      Returns:
      Whether the detail field is set.
    • getDetail

      public EventDetail 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:
      getDetail in interface TelemetryEventOrBuilder
      Returns:
      The detail.
    • setDetail

      public TelemetryEvent.Builder setDetail(EventDetail value)
       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

      public TelemetryEvent.Builder setDetail(EventDetail.Builder builderForValue)
       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

      public TelemetryEvent.Builder mergeDetail(EventDetail value)
       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

      public TelemetryEvent.Builder 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

      public EventDetail.Builder 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

      public EventDetailOrBuilder 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:
      getDetailOrBuilder in interface TelemetryEventOrBuilder
    • 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:
      hasTiming in interface TelemetryEventOrBuilder
      Returns:
      Whether the timing field is set.
    • getTiming

      public EventTiming 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:
      getTiming in interface TelemetryEventOrBuilder
      Returns:
      The timing.
    • setTiming

      public TelemetryEvent.Builder setTiming(EventTiming value)
       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

      public TelemetryEvent.Builder setTiming(EventTiming.Builder builderForValue)
       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

      public TelemetryEvent.Builder mergeTiming(EventTiming value)
       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

      public TelemetryEvent.Builder 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

      public EventTiming.Builder 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

      public EventTimingOrBuilder 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:
      getTimingOrBuilder in interface TelemetryEventOrBuilder
    • 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:
      hasLocation in interface TelemetryEventOrBuilder
      Returns:
      Whether the location field is set.
    • getLocation

      public EventLocation 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:
      getLocation in interface TelemetryEventOrBuilder
      Returns:
      The location.
    • setLocation

      public TelemetryEvent.Builder setLocation(EventLocation value)
       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

      public TelemetryEvent.Builder setLocation(EventLocation.Builder builderForValue)
       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

      public TelemetryEvent.Builder mergeLocation(EventLocation value)
       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

      public TelemetryEvent.Builder 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

      public EventLocation.Builder 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

      public EventLocationOrBuilder 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:
      getLocationOrBuilder in interface TelemetryEventOrBuilder
    • 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:
      getTimer in interface TelemetryEventOrBuilder
      Returns:
      The timer.
    • setTimer

      public TelemetryEvent.Builder setTimer(com.google.protobuf.ByteString value)
       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

      public TelemetryEvent.Builder 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:
      getOrdinal in interface TelemetryEventOrBuilder
      Returns:
      The ordinal.
    • setOrdinal

      public TelemetryEvent.Builder setOrdinal(int value)
       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

      public TelemetryEvent.Builder 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:
      hasData in interface TelemetryEventOrBuilder
      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:
      getData in interface TelemetryEventOrBuilder
      Returns:
      The data.
    • setData

      public TelemetryEvent.Builder setData(com.google.protobuf.Any value)
       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

      public TelemetryEvent.Builder setData(com.google.protobuf.Any.Builder builderForValue)
       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

      public TelemetryEvent.Builder mergeData(com.google.protobuf.Any value)
       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

      public TelemetryEvent.Builder 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:
      getDataOrBuilder in interface TelemetryEventOrBuilder
    • setUnknownFields

      public final TelemetryEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>
    • mergeUnknownFields

      public final TelemetryEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TelemetryEvent.Builder>