Class EventUpdate (0.2.0)

public final class EventUpdate extends GeneratedMessageV3 implements EventUpdateOrBuilder

Records an update made to the event.

Protobuf type google.cloud.servicehealth.v1.EventUpdate

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

SYMPTOM_FIELD_NUMBER

public static final int SYMPTOM_FIELD_NUMBER
Field Value
TypeDescription
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

WORKAROUND_FIELD_NUMBER

public static final int WORKAROUND_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EventUpdate getDefaultInstance()
Returns
TypeDescription
EventUpdate

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EventUpdate.Builder newBuilder()
Returns
TypeDescription
EventUpdate.Builder

newBuilder(EventUpdate prototype)

public static EventUpdate.Builder newBuilder(EventUpdate prototype)
Parameter
NameDescription
prototypeEventUpdate
Returns
TypeDescription
EventUpdate.Builder

parseDelimitedFrom(InputStream input)

public static EventUpdate parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EventUpdate
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EventUpdate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventUpdate
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EventUpdate parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EventUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EventUpdate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EventUpdate parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EventUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EventUpdate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EventUpdate parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EventUpdate
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EventUpdate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventUpdate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EventUpdate parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EventUpdate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EventUpdate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventUpdate
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EventUpdate parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EventUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EventUpdate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EventUpdate> parser()
Returns
TypeDescription
Parser<EventUpdate>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EventUpdate getDefaultInstanceForType()
Returns
TypeDescription
EventUpdate

getDescription()

public String getDescription()

Output only. Free-form, human-readable description.

string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. Free-form, human-readable description.

string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for description.

getParserForType()

public Parser<EventUpdate> getParserForType()
Returns
TypeDescription
Parser<EventUpdate>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSymptom()

public String getSymptom()

Output only. Symptoms of the event, if available.

string symptom = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The symptom.

getSymptomBytes()

public ByteString getSymptomBytes()

Output only. Symptoms of the event, if available.

string symptom = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for symptom.

getTitle()

public String getTitle()

Output only. Brief title for the event.

string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Output only. Brief title for the event.

string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for title.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time the update was posted.

.google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time the update was posted.

.google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getWorkaround()

public String getWorkaround()

Output only. Workaround steps to remediate the event impact, if available.

string workaround = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The workaround.

getWorkaroundBytes()

public ByteString getWorkaroundBytes()

Output only. Workaround steps to remediate the event impact, if available.

string workaround = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for workaround.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time the update was posted.

.google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EventUpdate.Builder newBuilderForType()
Returns
TypeDescription
EventUpdate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EventUpdate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EventUpdate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EventUpdate.Builder toBuilder()
Returns
TypeDescription
EventUpdate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException