Package com.buildless.telemetry
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Specifies the time at which the event was ingested by the pipeline.Specifies the time at which this event occurred.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specifies the time at which the event was received by the server.Specifies a calculated time-hash value for this event.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongSpecifies the time at which the event was ingested by the pipeline.longSpecifies the time at which this event occurred.longSpecifies the time at which the event was received by the server.Specifies a calculated time-hash value for this event.com.google.protobuf.ByteStringSpecifies a calculated time-hash value for this event.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(EventTiming other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final EventTiming.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setIngested(long value) Specifies the time at which the event was ingested by the pipeline.setOccurred(long value) Specifies the time at which this event occurred.setReceived(long value) Specifies the time at which the event was received by the server.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTimehash(String value) Specifies a calculated time-hash value for this event.setTimehashBytes(com.google.protobuf.ByteString value) Specifies a calculated time-hash value for this event.final EventTiming.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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<EventTiming.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<EventTiming.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<EventTiming.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<EventTiming.Builder>
-
setField
public EventTiming.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<EventTiming.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventTiming.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<EventTiming.Builder>
-
setRepeatedField
public EventTiming.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<EventTiming.Builder>
-
addRepeatedField
public EventTiming.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<EventTiming.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventTiming.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventTiming.Builder>- Throws:
IOException
-
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:
getTimehashin interfaceEventTimingOrBuilder- 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:
getTimehashBytesin interfaceEventTimingOrBuilder- Returns:
- The bytes for timehash.
-
setTimehash
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
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
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:
getOccurredin interfaceEventTimingOrBuilder- Returns:
- The occurred.
-
setOccurred
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
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:
getReceivedin interfaceEventTimingOrBuilder- Returns:
- The received.
-
setReceived
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
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:
getIngestedin interfaceEventTimingOrBuilder- Returns:
- The ingested.
-
setIngested
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EventTiming.Builder>
-
mergeUnknownFields
public final EventTiming.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EventTiming.Builder>
-