Class Proto.Event

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.riemann.riemann.Proto.Event
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Proto.EventOrBuilder, Serializable
Enclosing class:
Proto

public static final class Proto.Event extends com.google.protobuf.GeneratedMessageV3 implements Proto.EventOrBuilder
Protobuf type Event
See Also:
  • Field Details

  • Method Details

    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields 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
    • hasTime

      public boolean hasTime()
      optional int64 time = 1;
      Specified by:
      hasTime in interface Proto.EventOrBuilder
    • getTime

      public long getTime()
      optional int64 time = 1;
      Specified by:
      getTime in interface Proto.EventOrBuilder
    • hasState

      public boolean hasState()
      optional string state = 2;
      Specified by:
      hasState in interface Proto.EventOrBuilder
    • getState

      public String getState()
      optional string state = 2;
      Specified by:
      getState in interface Proto.EventOrBuilder
    • getStateBytes

      public com.google.protobuf.ByteString getStateBytes()
      optional string state = 2;
      Specified by:
      getStateBytes in interface Proto.EventOrBuilder
    • hasService

      public boolean hasService()
      optional string service = 3;
      Specified by:
      hasService in interface Proto.EventOrBuilder
    • getService

      public String getService()
      optional string service = 3;
      Specified by:
      getService in interface Proto.EventOrBuilder
    • getServiceBytes

      public com.google.protobuf.ByteString getServiceBytes()
      optional string service = 3;
      Specified by:
      getServiceBytes in interface Proto.EventOrBuilder
    • hasHost

      public boolean hasHost()
      optional string host = 4;
      Specified by:
      hasHost in interface Proto.EventOrBuilder
    • getHost

      public String getHost()
      optional string host = 4;
      Specified by:
      getHost in interface Proto.EventOrBuilder
    • getHostBytes

      public com.google.protobuf.ByteString getHostBytes()
      optional string host = 4;
      Specified by:
      getHostBytes in interface Proto.EventOrBuilder
    • hasDescription

      public boolean hasDescription()
      optional string description = 5;
      Specified by:
      hasDescription in interface Proto.EventOrBuilder
    • getDescription

      public String getDescription()
      optional string description = 5;
      Specified by:
      getDescription in interface Proto.EventOrBuilder
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      optional string description = 5;
      Specified by:
      getDescriptionBytes in interface Proto.EventOrBuilder
    • getTagsList

      public com.google.protobuf.ProtocolStringList getTagsList()
      repeated string tags = 7;
      Specified by:
      getTagsList in interface Proto.EventOrBuilder
    • getTagsCount

      public int getTagsCount()
      repeated string tags = 7;
      Specified by:
      getTagsCount in interface Proto.EventOrBuilder
    • getTags

      public String getTags(int index)
      repeated string tags = 7;
      Specified by:
      getTags in interface Proto.EventOrBuilder
    • getTagsBytes

      public com.google.protobuf.ByteString getTagsBytes(int index)
      repeated string tags = 7;
      Specified by:
      getTagsBytes in interface Proto.EventOrBuilder
    • hasTtl

      public boolean hasTtl()
      optional float ttl = 8;
      Specified by:
      hasTtl in interface Proto.EventOrBuilder
    • getTtl

      public float getTtl()
      optional float ttl = 8;
      Specified by:
      getTtl in interface Proto.EventOrBuilder
    • getAttributesList

      public List<Proto.Attribute> getAttributesList()
      repeated .Attribute attributes = 9;
      Specified by:
      getAttributesList in interface Proto.EventOrBuilder
    • getAttributesOrBuilderList

      public List<? extends Proto.AttributeOrBuilder> getAttributesOrBuilderList()
      repeated .Attribute attributes = 9;
      Specified by:
      getAttributesOrBuilderList in interface Proto.EventOrBuilder
    • getAttributesCount

      public int getAttributesCount()
      repeated .Attribute attributes = 9;
      Specified by:
      getAttributesCount in interface Proto.EventOrBuilder
    • getAttributes

      public Proto.Attribute getAttributes(int index)
      repeated .Attribute attributes = 9;
      Specified by:
      getAttributes in interface Proto.EventOrBuilder
    • getAttributesOrBuilder

      public Proto.AttributeOrBuilder getAttributesOrBuilder(int index)
      repeated .Attribute attributes = 9;
      Specified by:
      getAttributesOrBuilder in interface Proto.EventOrBuilder
    • hasTimeMicros

      public boolean hasTimeMicros()
      optional int64 time_micros = 10;
      Specified by:
      hasTimeMicros in interface Proto.EventOrBuilder
    • getTimeMicros

      public long getTimeMicros()
      optional int64 time_micros = 10;
      Specified by:
      getTimeMicros in interface Proto.EventOrBuilder
    • hasMetricSint64

      public boolean hasMetricSint64()
      optional sint64 metric_sint64 = 13;
      Specified by:
      hasMetricSint64 in interface Proto.EventOrBuilder
    • getMetricSint64

      public long getMetricSint64()
      optional sint64 metric_sint64 = 13;
      Specified by:
      getMetricSint64 in interface Proto.EventOrBuilder
    • hasMetricD

      public boolean hasMetricD()
      optional double metric_d = 14;
      Specified by:
      hasMetricD in interface Proto.EventOrBuilder
    • getMetricD

      public double getMetricD()
      optional double metric_d = 14;
      Specified by:
      getMetricD in interface Proto.EventOrBuilder
    • hasMetricF

      public boolean hasMetricF()
      optional float metric_f = 15;
      Specified by:
      hasMetricF in interface Proto.EventOrBuilder
    • getMetricF

      public float getMetricF()
      optional float metric_f = 15;
      Specified by:
      getMetricF in interface Proto.EventOrBuilder
    • 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 Proto.Event parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Proto.Event parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Proto.Event parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Proto.Event.Builder newBuilder()
    • newBuilder

      public static Proto.Event.Builder newBuilder(Proto.Event prototype)
    • toBuilder

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

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

      public static Proto.Event getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Proto.Event> 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 Proto.Event getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder