Class EventTiming.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EventTiming.Builder>
com.buildless.telemetry.EventTiming.Builder
All Implemented Interfaces:
EventTimingOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
EventTiming

public static final class EventTiming.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EventTiming.Builder> implements EventTimingOrBuilder
 ## Event Timing

 Specifies timing information for a telemetry event, including the time the event occurred, the time the event was
 received by the server, and so on.
 
Protobuf type buildless.telemetry.EventTiming
  • 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<EventTiming.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public EventTiming.Builder mergeFrom(EventTiming other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EventTiming.Builder>
    • mergeFrom

      public EventTiming.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<EventTiming.Builder>
      Throws:
      IOException
    • getTimehash

      public String getTimehash()
       Specifies a calculated time-hash value for this event. The time-hash is bound to the occurrence timestamp.
       
      string timehash = 1 [json_name = "timehash", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTimehash in interface EventTimingOrBuilder
      Returns:
      The timehash.
    • getTimehashBytes

      public com.google.protobuf.ByteString getTimehashBytes()
       Specifies a calculated time-hash value for this event. The time-hash is bound to the occurrence timestamp.
       
      string timehash = 1 [json_name = "timehash", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTimehashBytes in interface EventTimingOrBuilder
      Returns:
      The bytes for timehash.
    • setTimehash

      public EventTiming.Builder setTimehash(String value)
       Specifies a calculated time-hash value for this event. The time-hash is bound to the occurrence timestamp.
       
      string timehash = 1 [json_name = "timehash", (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The timehash to set.
      Returns:
      This builder for chaining.
    • clearTimehash

      public EventTiming.Builder clearTimehash()
       Specifies a calculated time-hash value for this event. The time-hash is bound to the occurrence timestamp.
       
      string timehash = 1 [json_name = "timehash", (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setTimehashBytes

      public EventTiming.Builder setTimehashBytes(com.google.protobuf.ByteString value)
       Specifies a calculated time-hash value for this event. The time-hash is bound to the occurrence timestamp.
       
      string timehash = 1 [json_name = "timehash", (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for timehash to set.
      Returns:
      This builder for chaining.
    • getOccurred

      public long getOccurred()
       Specifies the time at which this event occurred. This timestamp is reported by the client when it forms the event,
       before transmission to the server.
       
      uint64 occurred = 2 [json_name = "occurred", (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOccurred in interface EventTimingOrBuilder
      Returns:
      The occurred.
    • setOccurred

      public EventTiming.Builder setOccurred(long value)
       Specifies the time at which this event occurred. This timestamp is reported by the client when it forms the event,
       before transmission to the server.
       
      uint64 occurred = 2 [json_name = "occurred", (.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The occurred to set.
      Returns:
      This builder for chaining.
    • clearOccurred

      public EventTiming.Builder clearOccurred()
       Specifies the time at which this event occurred. This timestamp is reported by the client when it forms the event,
       before transmission to the server.
       
      uint64 occurred = 2 [json_name = "occurred", (.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • getReceived

      public long getReceived()
       Specifies the time at which the event was received by the server. This field can only be populated once the event
       has been processed by the Buildless service, so it is omitted on the client side.
       
      uint64 received = 3 [json_name = "received", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReceived in interface EventTimingOrBuilder
      Returns:
      The received.
    • setReceived

      public EventTiming.Builder setReceived(long value)
       Specifies the time at which the event was received by the server. This field can only be populated once the event
       has been processed by the Buildless service, so it is omitted on the client side.
       
      uint64 received = 3 [json_name = "received", (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The received to set.
      Returns:
      This builder for chaining.
    • clearReceived

      public EventTiming.Builder clearReceived()
       Specifies the time at which the event was received by the server. This field can only be populated once the event
       has been processed by the Buildless service, so it is omitted on the client side.
       
      uint64 received = 3 [json_name = "received", (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getIngested

      public long getIngested()
       Specifies the time at which the event was ingested by the pipeline. This field can only be populated once the event
       has been processed by the Buildless service, so it is omitted on the client side.
       
      uint64 ingested = 4 [json_name = "ingested", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIngested in interface EventTimingOrBuilder
      Returns:
      The ingested.
    • setIngested

      public EventTiming.Builder setIngested(long value)
       Specifies the time at which the event was ingested by the pipeline. This field can only be populated once the event
       has been processed by the Buildless service, so it is omitted on the client side.
       
      uint64 ingested = 4 [json_name = "ingested", (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The ingested to set.
      Returns:
      This builder for chaining.
    • clearIngested

      public EventTiming.Builder clearIngested()
       Specifies the time at which the event was ingested by the pipeline. This field can only be populated once the event
       has been processed by the Buildless service, so it is omitted on the client side.
       
      uint64 ingested = 4 [json_name = "ingested", (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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