Class Proto.Msg

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

public static final class Proto.Msg extends com.google.protobuf.GeneratedMessageV3 implements Proto.MsgOrBuilder
Protobuf type Msg
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type Msg

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final com.google.protobuf.Parser<Proto.Msg>
    Deprecated.
    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
     
    static Proto.Msg
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    optional string error = 3;
    com.google.protobuf.ByteString
    optional string error = 3;
    getEvents(int index)
    repeated .Event events = 6;
    int
    repeated .Event events = 6;
    repeated .Event events = 6;
    getEventsOrBuilder(int index)
    repeated .Event events = 6;
    repeated .Event events = 6;
    boolean
    optional bool ok = 2;
    com.google.protobuf.Parser<Proto.Msg>
     
    optional .Query query = 5;
    optional .Query query = 5;
    int
     
    getStates(int index)
    repeated .State states = 4;
    int
    repeated .State states = 4;
    repeated .State states = 4;
    getStatesOrBuilder(int index)
    repeated .State states = 4;
    repeated .State states = 4;
    final com.google.protobuf.UnknownFieldSet
     
    boolean
    optional string error = 3;
    int
     
    boolean
    optional bool ok = 2;
    boolean
    optional .Query query = 5;
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(Proto.Msg prototype)
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    static Proto.Msg
     
    static Proto.Msg
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Proto.Msg
    parseFrom(byte[] data)
     
    static Proto.Msg
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Proto.Msg
    parseFrom(com.google.protobuf.ByteString data)
     
    static Proto.Msg
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Proto.Msg
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Proto.Msg
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Proto.Msg
     
    static Proto.Msg
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Proto.Msg
     
    static Proto.Msg
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Proto.Msg>
     
     
    void
    writeTo(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, 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, hasField, hasOneof
  • 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
    • hasOk

      public boolean hasOk()
      optional bool ok = 2;
      Specified by:
      hasOk in interface Proto.MsgOrBuilder
    • getOk

      public boolean getOk()
      optional bool ok = 2;
      Specified by:
      getOk in interface Proto.MsgOrBuilder
    • hasError

      public boolean hasError()
      optional string error = 3;
      Specified by:
      hasError in interface Proto.MsgOrBuilder
    • getError

      public String getError()
      optional string error = 3;
      Specified by:
      getError in interface Proto.MsgOrBuilder
    • getErrorBytes

      public com.google.protobuf.ByteString getErrorBytes()
      optional string error = 3;
      Specified by:
      getErrorBytes in interface Proto.MsgOrBuilder
    • getStatesList

      public List<Proto.State> getStatesList()
      repeated .State states = 4;
      Specified by:
      getStatesList in interface Proto.MsgOrBuilder
    • getStatesOrBuilderList

      public List<? extends Proto.StateOrBuilder> getStatesOrBuilderList()
      repeated .State states = 4;
      Specified by:
      getStatesOrBuilderList in interface Proto.MsgOrBuilder
    • getStatesCount

      public int getStatesCount()
      repeated .State states = 4;
      Specified by:
      getStatesCount in interface Proto.MsgOrBuilder
    • getStates

      public Proto.State getStates(int index)
      repeated .State states = 4;
      Specified by:
      getStates in interface Proto.MsgOrBuilder
    • getStatesOrBuilder

      public Proto.StateOrBuilder getStatesOrBuilder(int index)
      repeated .State states = 4;
      Specified by:
      getStatesOrBuilder in interface Proto.MsgOrBuilder
    • hasQuery

      public boolean hasQuery()
      optional .Query query = 5;
      Specified by:
      hasQuery in interface Proto.MsgOrBuilder
    • getQuery

      public Proto.Query getQuery()
      optional .Query query = 5;
      Specified by:
      getQuery in interface Proto.MsgOrBuilder
    • getQueryOrBuilder

      public Proto.QueryOrBuilder getQueryOrBuilder()
      optional .Query query = 5;
      Specified by:
      getQueryOrBuilder in interface Proto.MsgOrBuilder
    • getEventsList

      public List<Proto.Event> getEventsList()
      repeated .Event events = 6;
      Specified by:
      getEventsList in interface Proto.MsgOrBuilder
    • getEventsOrBuilderList

      public List<? extends Proto.EventOrBuilder> getEventsOrBuilderList()
      repeated .Event events = 6;
      Specified by:
      getEventsOrBuilderList in interface Proto.MsgOrBuilder
    • getEventsCount

      public int getEventsCount()
      repeated .Event events = 6;
      Specified by:
      getEventsCount in interface Proto.MsgOrBuilder
    • getEvents

      public Proto.Event getEvents(int index)
      repeated .Event events = 6;
      Specified by:
      getEvents in interface Proto.MsgOrBuilder
    • getEventsOrBuilder

      public Proto.EventOrBuilder getEventsOrBuilder(int index)
      repeated .Event events = 6;
      Specified by:
      getEventsOrBuilder in interface Proto.MsgOrBuilder
    • 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.Msg parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static Proto.Msg 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.Msg parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Proto.Msg getDefaultInstance()
    • parser

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

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