public final class Incident extends com.google.protobuf.GeneratedMessageV3 implements IncidentOrBuilder
appscode.kubernetes.v1beta1.Incident| Modifier and Type | Class and Description |
|---|---|
static class |
Incident.Builder
Protobuf type
appscode.kubernetes.v1beta1.Incident |
static class |
Incident.Event
Protobuf type
appscode.kubernetes.v1beta1.Incident.Event |
static interface |
Incident.EventOrBuilder |
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 |
ACKNOWLEDGED_AT_FIELD_NUMBER |
static int |
EVENTS_FIELD_NUMBER |
static int |
ICINGA_HOST_FIELD_NUMBER |
static int |
ICINGA_SERVICE_FIELD_NUMBER |
static int |
ICINGAWEB_URL_FIELD_NUMBER |
static int |
KUBERNETES_ALERT_NAME_FIELD_NUMBER |
static int |
KUBERNETES_CLUSTER_FIELD_NUMBER |
static int |
KUBERNETES_NAMESPACE_FIELD_NUMBER |
static int |
KUBERNETES_OBJECT_NAME_FIELD_NUMBER |
static int |
KUBERNETES_OBJECT_TYPE_FIELD_NUMBER |
static int |
PHID_FIELD_NUMBER |
static int |
RECOVERED_AT_FIELD_NUMBER |
static int |
REPORTED_AT_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
USER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
long |
getAcknowledgedAt()
Timestamp of first acknowledgement
|
static Incident |
getDefaultInstance() |
Incident |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Incident.Event |
getEvents(int index)
repeated .appscode.kubernetes.v1beta1.Incident.Event events = 16; |
int |
getEventsCount()
repeated .appscode.kubernetes.v1beta1.Incident.Event events = 16; |
java.util.List<Incident.Event> |
getEventsList()
repeated .appscode.kubernetes.v1beta1.Incident.Event events = 16; |
Incident.EventOrBuilder |
getEventsOrBuilder(int index)
repeated .appscode.kubernetes.v1beta1.Incident.Event events = 16; |
java.util.List<? extends Incident.EventOrBuilder> |
getEventsOrBuilderList()
repeated .appscode.kubernetes.v1beta1.Incident.Event events = 16; |
java.lang.String |
getIcingaHost()
optional string icinga_host = 7; |
com.google.protobuf.ByteString |
getIcingaHostBytes()
optional string icinga_host = 7; |
java.lang.String |
getIcingaService()
optional string icinga_service = 8; |
com.google.protobuf.ByteString |
getIcingaServiceBytes()
optional string icinga_service = 8; |
java.lang.String |
getIcingawebUrl()
optional string icingaweb_url = 15; |
com.google.protobuf.ByteString |
getIcingawebUrlBytes()
optional string icingaweb_url = 15; |
java.lang.String |
getKubernetesAlertName()
optional string kubernetes_alert_name = 6; |
com.google.protobuf.ByteString |
getKubernetesAlertNameBytes()
optional string kubernetes_alert_name = 6; |
Uid |
getKubernetesCluster()
optional .appscode.dtypes.Uid kubernetes_cluster = 2; |
UidOrBuilder |
getKubernetesClusterOrBuilder()
optional .appscode.dtypes.Uid kubernetes_cluster = 2; |
java.lang.String |
getKubernetesNamespace()
optional string kubernetes_namespace = 3; |
com.google.protobuf.ByteString |
getKubernetesNamespaceBytes()
optional string kubernetes_namespace = 3; |
java.lang.String |
getKubernetesObjectName()
optional string kubernetes_object_name = 5; |
com.google.protobuf.ByteString |
getKubernetesObjectNameBytes()
optional string kubernetes_object_name = 5; |
java.lang.String |
getKubernetesObjectType()
optional string kubernetes_object_type = 4; |
com.google.protobuf.ByteString |
getKubernetesObjectTypeBytes()
optional string kubernetes_object_type = 4; |
com.google.protobuf.Parser<Incident> |
getParserForType() |
java.lang.String |
getPhid()
optional string phid = 1; |
com.google.protobuf.ByteString |
getPhidBytes()
optional string phid = 1; |
long |
getRecoveredAt()
optional int64 recovered_at = 14; |
long |
getReportedAt()
Timestamp of first reported event
|
int |
getSerializedSize() |
java.lang.String |
getState()
optional string state = 10; |
com.google.protobuf.ByteString |
getStateBytes()
optional string state = 10; |
java.lang.String |
getType()
optional string type = 9; |
com.google.protobuf.ByteString |
getTypeBytes()
optional string type = 9; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Uid |
getUser()
optional .appscode.dtypes.Uid user = 11; |
UidOrBuilder |
getUserOrBuilder()
optional .appscode.dtypes.Uid user = 11; |
int |
hashCode() |
boolean |
hasKubernetesCluster()
optional .appscode.dtypes.Uid kubernetes_cluster = 2; |
boolean |
hasUser()
optional .appscode.dtypes.Uid user = 11; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Incident.Builder |
newBuilder() |
static Incident.Builder |
newBuilder(Incident prototype) |
Incident.Builder |
newBuilderForType() |
protected Incident.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Incident |
parseDelimitedFrom(java.io.InputStream input) |
static Incident |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Incident |
parseFrom(byte[] data) |
static Incident |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Incident |
parseFrom(com.google.protobuf.ByteString data) |
static Incident |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Incident |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Incident |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Incident |
parseFrom(java.io.InputStream input) |
static Incident |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Incident> |
parser() |
Incident.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, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PHID_FIELD_NUMBER
public static final int KUBERNETES_CLUSTER_FIELD_NUMBER
public static final int KUBERNETES_NAMESPACE_FIELD_NUMBER
public static final int KUBERNETES_OBJECT_TYPE_FIELD_NUMBER
public static final int KUBERNETES_OBJECT_NAME_FIELD_NUMBER
public static final int KUBERNETES_ALERT_NAME_FIELD_NUMBER
public static final int ICINGA_HOST_FIELD_NUMBER
public static final int ICINGA_SERVICE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
public static final int REPORTED_AT_FIELD_NUMBER
public static final int ACKNOWLEDGED_AT_FIELD_NUMBER
public static final int RECOVERED_AT_FIELD_NUMBER
public static final int ICINGAWEB_URL_FIELD_NUMBER
public static final int EVENTS_FIELD_NUMBER
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 java.lang.String getPhid()
optional string phid = 1;getPhid in interface IncidentOrBuilderpublic com.google.protobuf.ByteString getPhidBytes()
optional string phid = 1;getPhidBytes in interface IncidentOrBuilderpublic boolean hasKubernetesCluster()
optional .appscode.dtypes.Uid kubernetes_cluster = 2;hasKubernetesCluster in interface IncidentOrBuilderpublic Uid getKubernetesCluster()
optional .appscode.dtypes.Uid kubernetes_cluster = 2;getKubernetesCluster in interface IncidentOrBuilderpublic UidOrBuilder getKubernetesClusterOrBuilder()
optional .appscode.dtypes.Uid kubernetes_cluster = 2;getKubernetesClusterOrBuilder in interface IncidentOrBuilderpublic java.lang.String getKubernetesNamespace()
optional string kubernetes_namespace = 3;getKubernetesNamespace in interface IncidentOrBuilderpublic com.google.protobuf.ByteString getKubernetesNamespaceBytes()
optional string kubernetes_namespace = 3;getKubernetesNamespaceBytes in interface IncidentOrBuilderpublic java.lang.String getKubernetesObjectType()
optional string kubernetes_object_type = 4;getKubernetesObjectType in interface IncidentOrBuilderpublic com.google.protobuf.ByteString getKubernetesObjectTypeBytes()
optional string kubernetes_object_type = 4;getKubernetesObjectTypeBytes in interface IncidentOrBuilderpublic java.lang.String getKubernetesObjectName()
optional string kubernetes_object_name = 5;getKubernetesObjectName in interface IncidentOrBuilderpublic com.google.protobuf.ByteString getKubernetesObjectNameBytes()
optional string kubernetes_object_name = 5;getKubernetesObjectNameBytes in interface IncidentOrBuilderpublic java.lang.String getKubernetesAlertName()
optional string kubernetes_alert_name = 6;getKubernetesAlertName in interface IncidentOrBuilderpublic com.google.protobuf.ByteString getKubernetesAlertNameBytes()
optional string kubernetes_alert_name = 6;getKubernetesAlertNameBytes in interface IncidentOrBuilderpublic java.lang.String getIcingaHost()
optional string icinga_host = 7;getIcingaHost in interface IncidentOrBuilderpublic com.google.protobuf.ByteString getIcingaHostBytes()
optional string icinga_host = 7;getIcingaHostBytes in interface IncidentOrBuilderpublic java.lang.String getIcingaService()
optional string icinga_service = 8;getIcingaService in interface IncidentOrBuilderpublic com.google.protobuf.ByteString getIcingaServiceBytes()
optional string icinga_service = 8;getIcingaServiceBytes in interface IncidentOrBuilderpublic java.lang.String getType()
optional string type = 9;getType in interface IncidentOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
optional string type = 9;getTypeBytes in interface IncidentOrBuilderpublic java.lang.String getState()
optional string state = 10;getState in interface IncidentOrBuilderpublic com.google.protobuf.ByteString getStateBytes()
optional string state = 10;getStateBytes in interface IncidentOrBuilderpublic boolean hasUser()
optional .appscode.dtypes.Uid user = 11;hasUser in interface IncidentOrBuilderpublic Uid getUser()
optional .appscode.dtypes.Uid user = 11;getUser in interface IncidentOrBuilderpublic UidOrBuilder getUserOrBuilder()
optional .appscode.dtypes.Uid user = 11;getUserOrBuilder in interface IncidentOrBuilderpublic long getReportedAt()
Timestamp of first reported event
optional int64 reported_at = 12;getReportedAt in interface IncidentOrBuilderpublic long getAcknowledgedAt()
Timestamp of first acknowledgement
optional int64 acknowledged_at = 13;getAcknowledgedAt in interface IncidentOrBuilderpublic long getRecoveredAt()
optional int64 recovered_at = 14;getRecoveredAt in interface IncidentOrBuilderpublic java.lang.String getIcingawebUrl()
optional string icingaweb_url = 15;getIcingawebUrl in interface IncidentOrBuilderpublic com.google.protobuf.ByteString getIcingawebUrlBytes()
optional string icingaweb_url = 15;getIcingawebUrlBytes in interface IncidentOrBuilderpublic java.util.List<Incident.Event> getEventsList()
repeated .appscode.kubernetes.v1beta1.Incident.Event events = 16;getEventsList in interface IncidentOrBuilderpublic java.util.List<? extends Incident.EventOrBuilder> getEventsOrBuilderList()
repeated .appscode.kubernetes.v1beta1.Incident.Event events = 16;getEventsOrBuilderList in interface IncidentOrBuilderpublic int getEventsCount()
repeated .appscode.kubernetes.v1beta1.Incident.Event events = 16;getEventsCount in interface IncidentOrBuilderpublic Incident.Event getEvents(int index)
repeated .appscode.kubernetes.v1beta1.Incident.Event events = 16;getEvents in interface IncidentOrBuilderpublic Incident.EventOrBuilder getEventsOrBuilder(int index)
repeated .appscode.kubernetes.v1beta1.Incident.Event events = 16;getEventsOrBuilder in interface IncidentOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.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 Incident parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Incident parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Incident parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Incident parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Incident parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Incident parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Incident parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Incident parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Incident parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Incident parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Incident.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Incident.Builder newBuilder()
public static Incident.Builder newBuilder(Incident prototype)
public Incident.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Incident.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Incident getDefaultInstance()
public static com.google.protobuf.Parser<Incident> parser()
public com.google.protobuf.Parser<Incident> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Incident getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder