public final class SearchSignalsRequest extends GeneratedMessageV3 implements SearchSignalsRequestOrBuilder
Request for the SearchSignals method.Protobuf type
google.cloud.irm.v1alpha2.SearchSignalsRequest| Modifier and Type | Class and Description |
|---|---|
static class |
SearchSignalsRequest.Builder
Request for the SearchSignals method.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
PAGE_SIZE_FIELD_NUMBER |
static int |
PAGE_TOKEN_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
QUERY_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, 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, newIntList, newLongList, 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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int PARENT_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public String getParent()
Required. The resource name of the hosting Stackdriver project which requested incidents belong to.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface SearchSignalsRequestOrBuilderpublic ByteString getParentBytes()
Required. The resource name of the hosting Stackdriver project which requested incidents belong to.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface SearchSignalsRequestOrBuilderpublic String getQuery()
An expression that defines which signals to return. Search atoms can be used to match certain specific fields. Otherwise, plain text will match text fields in the signal. Search atoms: * `start` - (timestamp) The time the signal was created. * `title` - The title of the signal. * `signal_state` - `open` or `closed`. State of the signal. (e.g., `signal_state:open`) Timestamp formats: * yyyy-MM-dd - an absolute date, treated as a calendar-day-wide window. In other words, the "<" operator will match dates before that date, the ">" operator will match dates after that date, and the ":" operator will match the entire day. * yyyy-MM-ddTHH:mm - Same as above, but with minute resolution. * yyyy-MM-ddTHH:mm:ss - Same as above, but with second resolution. * Nd (e.g. 7d) - a relative number of days ago, treated as a moment in time (as opposed to a day-wide span) a multiple of 24 hours ago (as opposed to calendar days). In the case of daylight savings time, it will apply the current timezone to both ends of the range. Note that exact matching (e.g. `start:7d`) is unlikely to be useful because that would only match signals created precisely at a particular instant in time. The absolute timestamp formats (everything starting with a year) can optionally be followed with a UTC offset in +/-hh:mm format. Also, the 'T' separating dates and times can optionally be replaced with a space. Note that any timestamp containing a space or colon will need to be quoted. Examples: * `foo` - matches signals containing the word "foo" * `"foo bar"` - matches signals containing the phrase "foo bar" * `foo bar` or `foo AND bar` - matches signals containing the words "foo" and "bar" * `foo -bar` or `foo AND NOT bar` - matches signals containing the word "foo" but not the word "bar" * `foo OR bar` - matches signals containing the word "foo" or the word "bar" * `start>2018-11-28` - matches signals which started after November 11, 2018. * `start<=2018-11-28` - matches signals which started on or before November 11, 2018. * `start:2018-11-28` - matches signals which started on November 11, 2018. * `start>"2018-11-28 01:02:03+04:00"` - matches signals which started after November 11, 2018 at 1:02:03 AM according to the UTC+04 time zone. * `start>7d` - matches signals which started after the point in time 7*24 hours ago * `start>180d` - similar to 7d, but likely to cross the daylight savings time boundary, so the end time will be 1 hour different from "now." * `foo AND start>90d AND stage<resolved` - unresolved signals from the past 90 days containing the word "foo"
string query = 2;getQuery in interface SearchSignalsRequestOrBuilderpublic ByteString getQueryBytes()
An expression that defines which signals to return. Search atoms can be used to match certain specific fields. Otherwise, plain text will match text fields in the signal. Search atoms: * `start` - (timestamp) The time the signal was created. * `title` - The title of the signal. * `signal_state` - `open` or `closed`. State of the signal. (e.g., `signal_state:open`) Timestamp formats: * yyyy-MM-dd - an absolute date, treated as a calendar-day-wide window. In other words, the "<" operator will match dates before that date, the ">" operator will match dates after that date, and the ":" operator will match the entire day. * yyyy-MM-ddTHH:mm - Same as above, but with minute resolution. * yyyy-MM-ddTHH:mm:ss - Same as above, but with second resolution. * Nd (e.g. 7d) - a relative number of days ago, treated as a moment in time (as opposed to a day-wide span) a multiple of 24 hours ago (as opposed to calendar days). In the case of daylight savings time, it will apply the current timezone to both ends of the range. Note that exact matching (e.g. `start:7d`) is unlikely to be useful because that would only match signals created precisely at a particular instant in time. The absolute timestamp formats (everything starting with a year) can optionally be followed with a UTC offset in +/-hh:mm format. Also, the 'T' separating dates and times can optionally be replaced with a space. Note that any timestamp containing a space or colon will need to be quoted. Examples: * `foo` - matches signals containing the word "foo" * `"foo bar"` - matches signals containing the phrase "foo bar" * `foo bar` or `foo AND bar` - matches signals containing the words "foo" and "bar" * `foo -bar` or `foo AND NOT bar` - matches signals containing the word "foo" but not the word "bar" * `foo OR bar` - matches signals containing the word "foo" or the word "bar" * `start>2018-11-28` - matches signals which started after November 11, 2018. * `start<=2018-11-28` - matches signals which started on or before November 11, 2018. * `start:2018-11-28` - matches signals which started on November 11, 2018. * `start>"2018-11-28 01:02:03+04:00"` - matches signals which started after November 11, 2018 at 1:02:03 AM according to the UTC+04 time zone. * `start>7d` - matches signals which started after the point in time 7*24 hours ago * `start>180d` - similar to 7d, but likely to cross the daylight savings time boundary, so the end time will be 1 hour different from "now." * `foo AND start>90d AND stage<resolved` - unresolved signals from the past 90 days containing the word "foo"
string query = 2;getQueryBytes in interface SearchSignalsRequestOrBuilderpublic int getPageSize()
Maximum number of `signals` to return in the response.
int32 page_size = 3;getPageSize in interface SearchSignalsRequestOrBuilderpublic String getPageToken()
Page token from an earlier query, as returned in `next_page_token`. All field values except for page_size and page_token should be the same as the original query (may return an error or unexpected data otherwise).
string page_token = 4;getPageToken in interface SearchSignalsRequestOrBuilderpublic ByteString getPageTokenBytes()
Page token from an earlier query, as returned in `next_page_token`. All field values except for page_size and page_token should be the same as the original query (may return an error or unexpected data otherwise).
string page_token = 4;getPageTokenBytes in interface SearchSignalsRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static SearchSignalsRequest parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SearchSignalsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SearchSignalsRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SearchSignalsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SearchSignalsRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SearchSignalsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SearchSignalsRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static SearchSignalsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SearchSignalsRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SearchSignalsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SearchSignalsRequest parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static SearchSignalsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SearchSignalsRequest.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static SearchSignalsRequest.Builder newBuilder()
public static SearchSignalsRequest.Builder newBuilder(SearchSignalsRequest prototype)
public SearchSignalsRequest.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected SearchSignalsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static SearchSignalsRequest getDefaultInstance()
public static Parser<SearchSignalsRequest> parser()
public Parser<SearchSignalsRequest> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public SearchSignalsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.