Package io.riemann.riemann
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:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<Proto.Event>Deprecated.static final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAttributes(int index) repeated .Attribute attributes = 9;intrepeated .Attribute attributes = 9;repeated .Attribute attributes = 9;getAttributesOrBuilder(int index) repeated .Attribute attributes = 9;List<? extends Proto.AttributeOrBuilder>repeated .Attribute attributes = 9;static Proto.Eventoptional string description = 5;com.google.protobuf.ByteStringoptional string description = 5;static final com.google.protobuf.Descriptors.DescriptorgetHost()optional string host = 4;com.google.protobuf.ByteStringoptional string host = 4;doubleoptional double metric_d = 14;floatoptional float metric_f = 15;longoptional sint64 metric_sint64 = 13;com.google.protobuf.Parser<Proto.Event>intoptional string service = 3;com.google.protobuf.ByteStringoptional string service = 3;getState()optional string state = 2;com.google.protobuf.ByteStringoptional string state = 2;getTags(int index) repeated string tags = 7;com.google.protobuf.ByteStringgetTagsBytes(int index) repeated string tags = 7;intrepeated string tags = 7;com.google.protobuf.ProtocolStringListrepeated string tags = 7;longgetTime()optional int64 time = 1;longoptional int64 time_micros = 10;floatgetTtl()optional float ttl = 8;final com.google.protobuf.UnknownFieldSetbooleanoptional string description = 5;inthashCode()booleanhasHost()optional string host = 4;booleanoptional double metric_d = 14;booleanoptional float metric_f = 15;booleanoptional sint64 metric_sint64 = 13;booleanoptional string service = 3;booleanhasState()optional string state = 2;booleanhasTime()optional int64 time = 1;booleanoptional int64 time_micros = 10;booleanhasTtl()optional float ttl = 8;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Proto.Event.Builderstatic Proto.Event.BuildernewBuilder(Proto.Event prototype) protected Proto.Event.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static Proto.EventparseDelimitedFrom(InputStream input) static Proto.EventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Proto.EventparseFrom(byte[] data) static Proto.EventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Proto.EventparseFrom(com.google.protobuf.ByteString data) static Proto.EventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Proto.EventparseFrom(com.google.protobuf.CodedInputStream input) static Proto.EventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Proto.EventparseFrom(InputStream input) static Proto.EventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Proto.EventparseFrom(ByteBuffer data) static Proto.EventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Proto.Event>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
TIME_FIELD_NUMBER
public static final int TIME_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER- See Also:
-
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
TTL_FIELD_NUMBER
public static final int TTL_FIELD_NUMBER- See Also:
-
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER- See Also:
-
TIME_MICROS_FIELD_NUMBER
public static final int TIME_MICROS_FIELD_NUMBER- See Also:
-
METRIC_SINT64_FIELD_NUMBER
public static final int METRIC_SINT64_FIELD_NUMBER- See Also:
-
METRIC_D_FIELD_NUMBER
public static final int METRIC_D_FIELD_NUMBER- See Also:
-
METRIC_F_FIELD_NUMBER
public static final int METRIC_F_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasTime
public boolean hasTime()optional int64 time = 1;- Specified by:
hasTimein interfaceProto.EventOrBuilder
-
getTime
public long getTime()optional int64 time = 1;- Specified by:
getTimein interfaceProto.EventOrBuilder
-
hasState
public boolean hasState()optional string state = 2;- Specified by:
hasStatein interfaceProto.EventOrBuilder
-
getState
optional string state = 2;- Specified by:
getStatein interfaceProto.EventOrBuilder
-
getStateBytes
public com.google.protobuf.ByteString getStateBytes()optional string state = 2;- Specified by:
getStateBytesin interfaceProto.EventOrBuilder
-
hasService
public boolean hasService()optional string service = 3;- Specified by:
hasServicein interfaceProto.EventOrBuilder
-
getService
optional string service = 3;- Specified by:
getServicein interfaceProto.EventOrBuilder
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()optional string service = 3;- Specified by:
getServiceBytesin interfaceProto.EventOrBuilder
-
hasHost
public boolean hasHost()optional string host = 4;- Specified by:
hasHostin interfaceProto.EventOrBuilder
-
getHost
optional string host = 4;- Specified by:
getHostin interfaceProto.EventOrBuilder
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()optional string host = 4;- Specified by:
getHostBytesin interfaceProto.EventOrBuilder
-
hasDescription
public boolean hasDescription()optional string description = 5;- Specified by:
hasDescriptionin interfaceProto.EventOrBuilder
-
getDescription
optional string description = 5;- Specified by:
getDescriptionin interfaceProto.EventOrBuilder
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()optional string description = 5;- Specified by:
getDescriptionBytesin interfaceProto.EventOrBuilder
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()repeated string tags = 7;- Specified by:
getTagsListin interfaceProto.EventOrBuilder
-
getTagsCount
public int getTagsCount()repeated string tags = 7;- Specified by:
getTagsCountin interfaceProto.EventOrBuilder
-
getTags
repeated string tags = 7;- Specified by:
getTagsin interfaceProto.EventOrBuilder
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) repeated string tags = 7;- Specified by:
getTagsBytesin interfaceProto.EventOrBuilder
-
hasTtl
public boolean hasTtl()optional float ttl = 8;- Specified by:
hasTtlin interfaceProto.EventOrBuilder
-
getTtl
public float getTtl()optional float ttl = 8;- Specified by:
getTtlin interfaceProto.EventOrBuilder
-
getAttributesList
repeated .Attribute attributes = 9;- Specified by:
getAttributesListin interfaceProto.EventOrBuilder
-
getAttributesOrBuilderList
repeated .Attribute attributes = 9;- Specified by:
getAttributesOrBuilderListin interfaceProto.EventOrBuilder
-
getAttributesCount
public int getAttributesCount()repeated .Attribute attributes = 9;- Specified by:
getAttributesCountin interfaceProto.EventOrBuilder
-
getAttributes
repeated .Attribute attributes = 9;- Specified by:
getAttributesin interfaceProto.EventOrBuilder
-
getAttributesOrBuilder
repeated .Attribute attributes = 9;- Specified by:
getAttributesOrBuilderin interfaceProto.EventOrBuilder
-
hasTimeMicros
public boolean hasTimeMicros()optional int64 time_micros = 10;- Specified by:
hasTimeMicrosin interfaceProto.EventOrBuilder
-
getTimeMicros
public long getTimeMicros()optional int64 time_micros = 10;- Specified by:
getTimeMicrosin interfaceProto.EventOrBuilder
-
hasMetricSint64
public boolean hasMetricSint64()optional sint64 metric_sint64 = 13;- Specified by:
hasMetricSint64in interfaceProto.EventOrBuilder
-
getMetricSint64
public long getMetricSint64()optional sint64 metric_sint64 = 13;- Specified by:
getMetricSint64in interfaceProto.EventOrBuilder
-
hasMetricD
public boolean hasMetricD()optional double metric_d = 14;- Specified by:
hasMetricDin interfaceProto.EventOrBuilder
-
getMetricD
public double getMetricD()optional double metric_d = 14;- Specified by:
getMetricDin interfaceProto.EventOrBuilder
-
hasMetricF
public boolean hasMetricF()optional float metric_f = 15;- Specified by:
hasMetricFin interfaceProto.EventOrBuilder
-
getMetricF
public float getMetricF()optional float metric_f = 15;- Specified by:
getMetricFin interfaceProto.EventOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static Proto.Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Proto.Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Proto.Event parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Proto.Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-