public final class Signal extends GeneratedMessageV3 implements SignalOrBuilder
A signal is a message calling attention to a (potential) incident. An example is a page based on a Stackdriver Alerting policy.Protobuf type
google.cloud.irm.v1alpha2.Signal| Modifier and Type | Class and Description |
|---|---|
static class |
Signal.Builder
A signal is a message calling attention to a (potential) incident.
|
static class |
Signal.SignalArtifact
An artifact associated with the Signal.
|
static interface |
Signal.SignalArtifactOrBuilder |
static class |
Signal.State
Describes whether the alerting condition is still firing.
|
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 |
CLOSE_TIME_FIELD_NUMBER |
static int |
CONTENT_FIELD_NUMBER |
static int |
CONTENT_TYPE_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
CREATOR_FIELD_NUMBER |
static int |
DETECT_TIME_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
INCIDENT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SIGNAL_ARTIFACTS_FIELD_NUMBER |
static int |
SIGNAL_STATE_FIELD_NUMBER |
static int |
TITLE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Timestamp |
getCloseTime()
Output only.
|
TimestampOrBuilder |
getCloseTimeOrBuilder()
Output only.
|
String |
getContent()
Full message of the signal.
|
ByteString |
getContentBytes()
Full message of the signal.
|
String |
getContentType()
Content type string.
|
ByteString |
getContentTypeBytes()
Content type string.
|
Timestamp |
getCreateTime()
Output only.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
User |
getCreator()
Output only.
|
UserOrBuilder |
getCreatorOrBuilder()
Output only.
|
static Signal |
getDefaultInstance() |
Signal |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Timestamp |
getDetectTime()
The time this Signal was first detected.
|
TimestampOrBuilder |
getDetectTimeOrBuilder()
The time this Signal was first detected.
|
String |
getEtag()
Etag to validate the object is unchanged for a read-modify-write operation.
|
ByteString |
getEtagBytes()
Etag to validate the object is unchanged for a read-modify-write operation.
|
String |
getIncident()
Resource name of the incident this signal is currently assigned to.
|
ByteString |
getIncidentBytes()
Resource name of the incident this signal is currently assigned to.
|
String |
getName()
Resource name of the signal, for example,
"projects/{project_id_or_number}/signals/{signal_id}".
|
ByteString |
getNameBytes()
Resource name of the signal, for example,
"projects/{project_id_or_number}/signals/{signal_id}".
|
Parser<Signal> |
getParserForType() |
int |
getSerializedSize() |
Signal.SignalArtifact |
getSignalArtifacts(int index)
A set of artifacts to additional resources for this Signal.
|
int |
getSignalArtifactsCount()
A set of artifacts to additional resources for this Signal.
|
List<Signal.SignalArtifact> |
getSignalArtifactsList()
A set of artifacts to additional resources for this Signal.
|
Signal.SignalArtifactOrBuilder |
getSignalArtifactsOrBuilder(int index)
A set of artifacts to additional resources for this Signal.
|
List<? extends Signal.SignalArtifactOrBuilder> |
getSignalArtifactsOrBuilderList()
A set of artifacts to additional resources for this Signal.
|
Signal.State |
getSignalState()
The state of this signal.
|
int |
getSignalStateValue()
The state of this signal.
|
String |
getTitle()
One-line summary of the signal.
|
ByteString |
getTitleBytes()
One-line summary of the signal.
|
UnknownFieldSet |
getUnknownFields() |
boolean |
hasCloseTime()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasCreator()
Output only.
|
boolean |
hasDetectTime()
The time this Signal was first detected.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Signal.Builder |
newBuilder() |
static Signal.Builder |
newBuilder(Signal prototype) |
Signal.Builder |
newBuilderForType() |
protected Signal.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static Signal |
parseDelimitedFrom(InputStream input) |
static Signal |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Signal |
parseFrom(byte[] data) |
static Signal |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Signal |
parseFrom(ByteBuffer data) |
static Signal |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Signal |
parseFrom(ByteString data) |
static Signal |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Signal |
parseFrom(CodedInputStream input) |
static Signal |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Signal |
parseFrom(InputStream input) |
static Signal |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Signal> |
parser() |
Signal.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
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, 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 NAME_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
public static final int INCIDENT_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int CLOSE_TIME_FIELD_NUMBER
public static final int DETECT_TIME_FIELD_NUMBER
public static final int CREATOR_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
public static final int CONTENT_TYPE_FIELD_NUMBER
public static final int CONTENT_FIELD_NUMBER
public static final int SIGNAL_STATE_FIELD_NUMBER
public static final int SIGNAL_ARTIFACTS_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 getName()
Resource name of the signal, for example,
"projects/{project_id_or_number}/signals/{signal_id}".
string name = 1;getName in interface SignalOrBuilderpublic ByteString getNameBytes()
Resource name of the signal, for example,
"projects/{project_id_or_number}/signals/{signal_id}".
string name = 1;getNameBytes in interface SignalOrBuilderpublic String getEtag()
Etag to validate the object is unchanged for a read-modify-write operation. An empty etag will overwrite other changes.
string etag = 2;getEtag in interface SignalOrBuilderpublic ByteString getEtagBytes()
Etag to validate the object is unchanged for a read-modify-write operation. An empty etag will overwrite other changes.
string etag = 2;getEtagBytes in interface SignalOrBuilderpublic String getIncident()
Resource name of the incident this signal is currently assigned to. May be empty if signal is unassigned.
string incident = 3;getIncident in interface SignalOrBuilderpublic ByteString getIncidentBytes()
Resource name of the incident this signal is currently assigned to. May be empty if signal is unassigned.
string incident = 3;getIncidentBytes in interface SignalOrBuilderpublic boolean hasCreateTime()
Output only. Time this signal was created.
.google.protobuf.Timestamp create_time = 4;hasCreateTime in interface SignalOrBuilderpublic Timestamp getCreateTime()
Output only. Time this signal was created.
.google.protobuf.Timestamp create_time = 4;getCreateTime in interface SignalOrBuilderpublic TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time this signal was created.
.google.protobuf.Timestamp create_time = 4;getCreateTimeOrBuilder in interface SignalOrBuilderpublic boolean hasCloseTime()
Output only. Time this signal was closed. This field is not populated while the signal is still firing.
.google.protobuf.Timestamp close_time = 10;hasCloseTime in interface SignalOrBuilderpublic Timestamp getCloseTime()
Output only. Time this signal was closed. This field is not populated while the signal is still firing.
.google.protobuf.Timestamp close_time = 10;getCloseTime in interface SignalOrBuilderpublic TimestampOrBuilder getCloseTimeOrBuilder()
Output only. Time this signal was closed. This field is not populated while the signal is still firing.
.google.protobuf.Timestamp close_time = 10;getCloseTimeOrBuilder in interface SignalOrBuilderpublic boolean hasDetectTime()
The time this Signal was first detected. This is identical to create_time for Signals created by Stackdriver Alerting.
.google.protobuf.Timestamp detect_time = 15;hasDetectTime in interface SignalOrBuilderpublic Timestamp getDetectTime()
The time this Signal was first detected. This is identical to create_time for Signals created by Stackdriver Alerting.
.google.protobuf.Timestamp detect_time = 15;getDetectTime in interface SignalOrBuilderpublic TimestampOrBuilder getDetectTimeOrBuilder()
The time this Signal was first detected. This is identical to create_time for Signals created by Stackdriver Alerting.
.google.protobuf.Timestamp detect_time = 15;getDetectTimeOrBuilder in interface SignalOrBuilderpublic boolean hasCreator()
Output only. The user that created this signal for manually created signals. Empty if this signal was generated by a system (for example, Stackdriver Alerting).
.google.cloud.irm.v1alpha2.User creator = 5;hasCreator in interface SignalOrBuilderpublic User getCreator()
Output only. The user that created this signal for manually created signals. Empty if this signal was generated by a system (for example, Stackdriver Alerting).
.google.cloud.irm.v1alpha2.User creator = 5;getCreator in interface SignalOrBuilderpublic UserOrBuilder getCreatorOrBuilder()
Output only. The user that created this signal for manually created signals. Empty if this signal was generated by a system (for example, Stackdriver Alerting).
.google.cloud.irm.v1alpha2.User creator = 5;getCreatorOrBuilder in interface SignalOrBuilderpublic String getTitle()
One-line summary of the signal. Immutable.
string title = 6;getTitle in interface SignalOrBuilderpublic ByteString getTitleBytes()
One-line summary of the signal. Immutable.
string title = 6;getTitleBytes in interface SignalOrBuilderpublic String getContentType()
Content type string. 'text/plain' is currently the only supported content type for Signals created via the API. Signals created by Stackdriver Alerting support 'text/html' as well. Immutable for Signals created by Stackdriver Alerting.
string content_type = 7;getContentType in interface SignalOrBuilderpublic ByteString getContentTypeBytes()
Content type string. 'text/plain' is currently the only supported content type for Signals created via the API. Signals created by Stackdriver Alerting support 'text/html' as well. Immutable for Signals created by Stackdriver Alerting.
string content_type = 7;getContentTypeBytes in interface SignalOrBuilderpublic String getContent()
Full message of the signal. Immutable for Signals created by Stackdriver Alerting.
string content = 8;getContent in interface SignalOrBuilderpublic ByteString getContentBytes()
Full message of the signal. Immutable for Signals created by Stackdriver Alerting.
string content = 8;getContentBytes in interface SignalOrBuilderpublic int getSignalStateValue()
The state of this signal. For Signals created by Stackdriver Alerting this field is output only.
.google.cloud.irm.v1alpha2.Signal.State signal_state = 9;getSignalStateValue in interface SignalOrBuilderpublic Signal.State getSignalState()
The state of this signal. For Signals created by Stackdriver Alerting this field is output only.
.google.cloud.irm.v1alpha2.Signal.State signal_state = 9;getSignalState in interface SignalOrBuilderpublic List<Signal.SignalArtifact> getSignalArtifactsList()
A set of artifacts to additional resources for this Signal. For example, a link to Stackdriver logging for the Signal. Immutable for Signals created by Stackdriver Alerting.
repeated .google.cloud.irm.v1alpha2.Signal.SignalArtifact signal_artifacts = 16;getSignalArtifactsList in interface SignalOrBuilderpublic List<? extends Signal.SignalArtifactOrBuilder> getSignalArtifactsOrBuilderList()
A set of artifacts to additional resources for this Signal. For example, a link to Stackdriver logging for the Signal. Immutable for Signals created by Stackdriver Alerting.
repeated .google.cloud.irm.v1alpha2.Signal.SignalArtifact signal_artifacts = 16;getSignalArtifactsOrBuilderList in interface SignalOrBuilderpublic int getSignalArtifactsCount()
A set of artifacts to additional resources for this Signal. For example, a link to Stackdriver logging for the Signal. Immutable for Signals created by Stackdriver Alerting.
repeated .google.cloud.irm.v1alpha2.Signal.SignalArtifact signal_artifacts = 16;getSignalArtifactsCount in interface SignalOrBuilderpublic Signal.SignalArtifact getSignalArtifacts(int index)
A set of artifacts to additional resources for this Signal. For example, a link to Stackdriver logging for the Signal. Immutable for Signals created by Stackdriver Alerting.
repeated .google.cloud.irm.v1alpha2.Signal.SignalArtifact signal_artifacts = 16;getSignalArtifacts in interface SignalOrBuilderpublic Signal.SignalArtifactOrBuilder getSignalArtifactsOrBuilder(int index)
A set of artifacts to additional resources for this Signal. For example, a link to Stackdriver logging for the Signal. Immutable for Signals created by Stackdriver Alerting.
repeated .google.cloud.irm.v1alpha2.Signal.SignalArtifact signal_artifacts = 16;getSignalArtifactsOrBuilder in interface SignalOrBuilderpublic 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 Signal parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Signal parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Signal parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Signal parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Signal parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Signal parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Signal parseFrom(InputStream input) throws IOException
IOExceptionpublic static Signal parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Signal parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Signal parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Signal parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static Signal parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Signal.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Signal.Builder newBuilder()
public static Signal.Builder newBuilder(Signal prototype)
public Signal.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Signal.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Signal getDefaultInstance()
public Parser<Signal> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Signal getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.