public static final class EventLogProto.SearchRequest extends com.google.protobuf.GeneratedMessageV3 implements EventLogProto.SearchRequestOrBuilder
SearchRequest includes all the search parameters (AND of all provided search parameters). Topic == "" means "any topic". From == 0 means "from the first event", and To == 0 means "until now". From and To should be set using the UnixNano() method in package time.Protobuf type
SearchRequest| Modifier and Type | Class and Description |
|---|---|
static class |
EventLogProto.SearchRequest.Builder
SearchRequest includes all the search parameters (AND of all provided search
parameters).
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
EVENTLOGID_FIELD_NUMBER |
static int |
FROM_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static com.google.protobuf.Parser<EventLogProto.SearchRequest> |
PARSER
Deprecated.
|
static int |
TO_FIELD_NUMBER |
static int |
TOPIC_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static EventLogProto.SearchRequest |
getDefaultInstance() |
EventLogProto.SearchRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
TransactionProto.ObjectID |
getEventlogid()
required .ObjectID eventlogid = 1; |
TransactionProto.ObjectIDOrBuilder |
getEventlogidOrBuilder()
required .ObjectID eventlogid = 1; |
long |
getFrom()
Return events where When is > From.
|
com.google.protobuf.ByteString |
getId()
skipchain ID
|
com.google.protobuf.Parser<EventLogProto.SearchRequest> |
getParserForType() |
int |
getSerializedSize() |
long |
getTo()
Return events where When is <= To.
|
String |
getTopic()
Return events where Event.Topic == Topic, if Topic != "".
|
com.google.protobuf.ByteString |
getTopicBytes()
Return events where Event.Topic == Topic, if Topic != "".
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEventlogid()
required .ObjectID eventlogid = 1; |
boolean |
hasFrom()
Return events where When is > From.
|
int |
hashCode() |
boolean |
hasId()
skipchain ID
|
boolean |
hasTo()
Return events where When is <= To.
|
boolean |
hasTopic()
Return events where Event.Topic == Topic, if Topic != "".
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static EventLogProto.SearchRequest.Builder |
newBuilder() |
static EventLogProto.SearchRequest.Builder |
newBuilder(EventLogProto.SearchRequest prototype) |
EventLogProto.SearchRequest.Builder |
newBuilderForType() |
protected EventLogProto.SearchRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static EventLogProto.SearchRequest |
parseDelimitedFrom(InputStream input) |
static EventLogProto.SearchRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EventLogProto.SearchRequest |
parseFrom(byte[] data) |
static EventLogProto.SearchRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EventLogProto.SearchRequest |
parseFrom(ByteBuffer data) |
static EventLogProto.SearchRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EventLogProto.SearchRequest |
parseFrom(com.google.protobuf.ByteString data) |
static EventLogProto.SearchRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EventLogProto.SearchRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EventLogProto.SearchRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EventLogProto.SearchRequest |
parseFrom(InputStream input) |
static EventLogProto.SearchRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EventLogProto.SearchRequest> |
parser() |
EventLogProto.SearchRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int EVENTLOGID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int TOPIC_FIELD_NUMBER
public static final int FROM_FIELD_NUMBER
public static final int TO_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<EventLogProto.SearchRequest> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasEventlogid()
required .ObjectID eventlogid = 1;hasEventlogid in interface EventLogProto.SearchRequestOrBuilderpublic TransactionProto.ObjectID getEventlogid()
required .ObjectID eventlogid = 1;getEventlogid in interface EventLogProto.SearchRequestOrBuilderpublic TransactionProto.ObjectIDOrBuilder getEventlogidOrBuilder()
required .ObjectID eventlogid = 1;getEventlogidOrBuilder in interface EventLogProto.SearchRequestOrBuilderpublic boolean hasId()
skipchain ID
required bytes id = 2;hasId in interface EventLogProto.SearchRequestOrBuilderpublic com.google.protobuf.ByteString getId()
skipchain ID
required bytes id = 2;getId in interface EventLogProto.SearchRequestOrBuilderpublic boolean hasTopic()
Return events where Event.Topic == Topic, if Topic != "".
required string topic = 3;hasTopic in interface EventLogProto.SearchRequestOrBuilderpublic String getTopic()
Return events where Event.Topic == Topic, if Topic != "".
required string topic = 3;getTopic in interface EventLogProto.SearchRequestOrBuilderpublic com.google.protobuf.ByteString getTopicBytes()
Return events where Event.Topic == Topic, if Topic != "".
required string topic = 3;getTopicBytes in interface EventLogProto.SearchRequestOrBuilderpublic boolean hasFrom()
Return events where When is > From.
required sint64 from = 4;hasFrom in interface EventLogProto.SearchRequestOrBuilderpublic long getFrom()
Return events where When is > From.
required sint64 from = 4;getFrom in interface EventLogProto.SearchRequestOrBuilderpublic boolean hasTo()
Return events where When is <= To.
required sint64 to = 5;hasTo in interface EventLogProto.SearchRequestOrBuilderpublic long getTo()
Return events where When is <= To.
required sint64 to = 5;getTo in interface EventLogProto.SearchRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static EventLogProto.SearchRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventLogProto.SearchRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventLogProto.SearchRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventLogProto.SearchRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventLogProto.SearchRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventLogProto.SearchRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventLogProto.SearchRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static EventLogProto.SearchRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EventLogProto.SearchRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static EventLogProto.SearchRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EventLogProto.SearchRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static EventLogProto.SearchRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic EventLogProto.SearchRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static EventLogProto.SearchRequest.Builder newBuilder()
public static EventLogProto.SearchRequest.Builder newBuilder(EventLogProto.SearchRequest prototype)
public EventLogProto.SearchRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected EventLogProto.SearchRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static EventLogProto.SearchRequest getDefaultInstance()
public static com.google.protobuf.Parser<EventLogProto.SearchRequest> parser()
public com.google.protobuf.Parser<EventLogProto.SearchRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public EventLogProto.SearchRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.