Class EventLocation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.buildless.telemetry.EventLocation
All Implemented Interfaces:
EventLocationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class EventLocation extends com.google.protobuf.GeneratedMessageV3 implements EventLocationOrBuilder
 ## Event Location

 Specifies originating location information for a telemetry event, to the extent it is known by either the client, or
 the telemetry system. Location info includes the source IP and other location info embedded in the request.
 
Protobuf type buildless.telemetry.EventLocation
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    ## Event Location Specifies originating location information for a telemetry event, to the extent it is known by either the client, or the telemetry system.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The only required value for an event locality payload.
    com.google.protobuf.ByteString
    The only required value for an event locality payload.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Detected edge region (state or province) for this event.
    com.google.protobuf.ByteString
    Detected edge region (state or province) for this event.
    Detected locality (city name) for this event.
    com.google.protobuf.ByteString
    Detected locality (city name) for this event.
    Detected Nielsen metro (DMA) code for the provided location information on this event.
    com.google.protobuf.ByteString
    Detected Nielsen metro (DMA) code for the provided location information on this event.
    com.google.protobuf.Parser<EventLocation>
     
    Specifies an explicit geo-point where this event originates from, or, the telemetry system's best-effort guess as to the originating location for this event.
    Specifies an explicit geo-point where this event originates from, or, the telemetry system's best-effort guess as to the originating location for this event.
    Detected region (state or province) for this event.
    com.google.protobuf.ByteString
    Detected region (state or province) for this event.
    int
     
    com.google.protobuf.ByteString
    Specifies the salted and hashed bytes of the IP address which delivered this event.
    Specifies the geo-hash tag value associated with this event location.
    com.google.protobuf.ByteString
    Specifies the geo-hash tag value associated with this event location.
    Specifies the timezone code for the originating location of this event.
    com.google.protobuf.ByteString
    Specifies the timezone code for the originating location of this event.
    int
     
    boolean
    Specifies an explicit geo-point where this event originates from, or, the telemetry system's best-effort guess as to the originating location for this event.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<EventLocation>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getSourceIp

      public com.google.protobuf.ByteString getSourceIp()
       Specifies the salted and hashed bytes of the IP address which delivered this event. This value is guaranteed to be
       stable for a given input IP address within the scope of a Buildless tenant or user account.
       
      bytes source_ip = 1 [json_name = "sourceIp", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSourceIp in interface EventLocationOrBuilder
      Returns:
      The sourceIp.
    • getTimezone

      public String getTimezone()
       Specifies the timezone code for the originating location of this event. This value is calculated by the telemetry
       system on a best-effort basis, or it can be declared and sent by the client.
       
      string timezone = 2 [json_name = "timezone", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTimezone in interface EventLocationOrBuilder
      Returns:
      The timezone.
    • getTimezoneBytes

      public com.google.protobuf.ByteString getTimezoneBytes()
       Specifies the timezone code for the originating location of this event. This value is calculated by the telemetry
       system on a best-effort basis, or it can be declared and sent by the client.
       
      string timezone = 2 [json_name = "timezone", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTimezoneBytes in interface EventLocationOrBuilder
      Returns:
      The bytes for timezone.
    • hasPoint

      public boolean hasPoint()
       Specifies an explicit geo-point where this event originates from, or, the telemetry system's best-effort guess as
       to the originating location for this event. This value is optional, and can be provided by the client.
       
      .buildless.telemetry.GeoPoint point = 3 [json_name = "point", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasPoint in interface EventLocationOrBuilder
      Returns:
      Whether the point field is set.
    • getPoint

      public GeoPoint getPoint()
       Specifies an explicit geo-point where this event originates from, or, the telemetry system's best-effort guess as
       to the originating location for this event. This value is optional, and can be provided by the client.
       
      .buildless.telemetry.GeoPoint point = 3 [json_name = "point", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPoint in interface EventLocationOrBuilder
      Returns:
      The point.
    • getPointOrBuilder

      public GeoPointOrBuilder getPointOrBuilder()
       Specifies an explicit geo-point where this event originates from, or, the telemetry system's best-effort guess as
       to the originating location for this event. This value is optional, and can be provided by the client.
       
      .buildless.telemetry.GeoPoint point = 3 [json_name = "point", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPointOrBuilder in interface EventLocationOrBuilder
    • getNielsen

      public String getNielsen()
       Detected Nielsen metro (DMA) code for the provided location information on this event. This value is only available
       if the telemetry system is able to detect and resolve a Nielsen metro code for the provided location information.
       
      string nielsen = 4 [json_name = "nielsen", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNielsen in interface EventLocationOrBuilder
      Returns:
      The nielsen.
    • getNielsenBytes

      public com.google.protobuf.ByteString getNielsenBytes()
       Detected Nielsen metro (DMA) code for the provided location information on this event. This value is only available
       if the telemetry system is able to detect and resolve a Nielsen metro code for the provided location information.
       
      string nielsen = 4 [json_name = "nielsen", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNielsenBytes in interface EventLocationOrBuilder
      Returns:
      The bytes for nielsen.
    • getLocality

      public String getLocality()
       Detected locality (city name) for this event. This value is a best-effort calculation, just like the `nielsen`
       code, unless location info is provided explicitly by the client.
       
      string locality = 5 [json_name = "locality", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocality in interface EventLocationOrBuilder
      Returns:
      The locality.
    • getLocalityBytes

      public com.google.protobuf.ByteString getLocalityBytes()
       Detected locality (city name) for this event. This value is a best-effort calculation, just like the `nielsen`
       code, unless location info is provided explicitly by the client.
       
      string locality = 5 [json_name = "locality", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocalityBytes in interface EventLocationOrBuilder
      Returns:
      The bytes for locality.
    • getRegion

      public String getRegion()
       Detected region (state or province) for this event. This value is a best-effort calculation, just like the other
       detected location values listed on this payload.
       
      string region = 6 [json_name = "region", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRegion in interface EventLocationOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public com.google.protobuf.ByteString getRegionBytes()
       Detected region (state or province) for this event. This value is a best-effort calculation, just like the other
       detected location values listed on this payload.
       
      string region = 6 [json_name = "region", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRegionBytes in interface EventLocationOrBuilder
      Returns:
      The bytes for region.
    • getCountry

      public String getCountry()
       The only required value for an event locality payload. If not provided by the client, this value will be reliably
       detected (on a best-effort basis) and filled in on behalf of the client by the telemetry system.
       
      string country = 7 [json_name = "country", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCountry in interface EventLocationOrBuilder
      Returns:
      The country.
    • getCountryBytes

      public com.google.protobuf.ByteString getCountryBytes()
       The only required value for an event locality payload. If not provided by the client, this value will be reliably
       detected (on a best-effort basis) and filled in on behalf of the client by the telemetry system.
       
      string country = 7 [json_name = "country", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCountryBytes in interface EventLocationOrBuilder
      Returns:
      The bytes for country.
    • getTag

      public String getTag()
       Specifies the geo-hash tag value associated with this event location. This value is typically calculated by the
       service based on available geographic input material.
       
      string tag = 8 [json_name = "tag", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTag in interface EventLocationOrBuilder
      Returns:
      The tag.
    • getTagBytes

      public com.google.protobuf.ByteString getTagBytes()
       Specifies the geo-hash tag value associated with this event location. This value is typically calculated by the
       service based on available geographic input material.
       
      string tag = 8 [json_name = "tag", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTagBytes in interface EventLocationOrBuilder
      Returns:
      The bytes for tag.
    • getEdge

      public String getEdge()
       Detected edge region (state or province) for this event. This value is indicated by the edge CDN service, and
       specifies the edge region where traffic first entered the network.
       
      string edge = 9 [json_name = "edge", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEdge in interface EventLocationOrBuilder
      Returns:
      The edge.
    • getEdgeBytes

      public com.google.protobuf.ByteString getEdgeBytes()
       Detected edge region (state or province) for this event. This value is indicated by the edge CDN service, and
       specifies the edge region where traffic first entered the network.
       
      string edge = 9 [json_name = "edge", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEdgeBytes in interface EventLocationOrBuilder
      Returns:
      The bytes for edge.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static EventLocation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventLocation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventLocation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventLocation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventLocation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventLocation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EventLocation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EventLocation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EventLocation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EventLocation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EventLocation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public EventLocation.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static EventLocation.Builder newBuilder()
    • newBuilder

      public static EventLocation.Builder newBuilder(EventLocation prototype)
    • toBuilder

      public EventLocation.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected EventLocation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static EventLocation getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<EventLocation> parser()
    • getParserForType

      public com.google.protobuf.Parser<EventLocation> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public EventLocation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder