Class EventUpdate.Builder (0.2.0)

public static final class EventUpdate.Builder extends GeneratedMessageV3.Builder<EventUpdate.Builder> implements EventUpdateOrBuilder

Records an update made to the event.

Protobuf type google.cloud.servicehealth.v1.EventUpdate

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EventUpdate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EventUpdate.Builder
Overrides

build()

public EventUpdate build()
Returns
TypeDescription
EventUpdate

buildPartial()

public EventUpdate buildPartial()
Returns
TypeDescription
EventUpdate

clear()

public EventUpdate.Builder clear()
Returns
TypeDescription
EventUpdate.Builder
Overrides

clearDescription()

public EventUpdate.Builder clearDescription()

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

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

Returns
TypeDescription
EventUpdate.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EventUpdate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EventUpdate.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EventUpdate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EventUpdate.Builder
Overrides

clearSymptom()

public EventUpdate.Builder clearSymptom()

Output only. Symptoms of the event, if available.

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

Returns
TypeDescription
EventUpdate.Builder

This builder for chaining.

clearTitle()

public EventUpdate.Builder clearTitle()

Output only. Brief title for the event.

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

Returns
TypeDescription
EventUpdate.Builder

This builder for chaining.

clearUpdateTime()

public EventUpdate.Builder clearUpdateTime()

Output only. The time the update was posted.

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

Returns
TypeDescription
EventUpdate.Builder

clearWorkaround()

public EventUpdate.Builder clearWorkaround()

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

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

Returns
TypeDescription
EventUpdate.Builder

This builder for chaining.

clone()

public EventUpdate.Builder clone()
Returns
TypeDescription
EventUpdate.Builder
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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time the update was posted.

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

Returns
TypeDescription
Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EventUpdate other)

public EventUpdate.Builder mergeFrom(EventUpdate other)
Parameter
NameDescription
otherEventUpdate
Returns
TypeDescription
EventUpdate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EventUpdate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventUpdate.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EventUpdate.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EventUpdate.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EventUpdate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EventUpdate.Builder
Overrides

mergeUpdateTime(Timestamp value)

public EventUpdate.Builder mergeUpdateTime(Timestamp value)

Output only. The time the update was posted.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
EventUpdate.Builder

setDescription(String value)

public EventUpdate.Builder setDescription(String value)

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

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

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
EventUpdate.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public EventUpdate.Builder setDescriptionBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
EventUpdate.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EventUpdate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EventUpdate.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EventUpdate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EventUpdate.Builder
Overrides

setSymptom(String value)

public EventUpdate.Builder setSymptom(String value)

Output only. Symptoms of the event, if available.

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

Parameter
NameDescription
valueString

The symptom to set.

Returns
TypeDescription
EventUpdate.Builder

This builder for chaining.

setSymptomBytes(ByteString value)

public EventUpdate.Builder setSymptomBytes(ByteString value)

Output only. Symptoms of the event, if available.

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

Parameter
NameDescription
valueByteString

The bytes for symptom to set.

Returns
TypeDescription
EventUpdate.Builder

This builder for chaining.

setTitle(String value)

public EventUpdate.Builder setTitle(String value)

Output only. Brief title for the event.

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

Parameter
NameDescription
valueString

The title to set.

Returns
TypeDescription
EventUpdate.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public EventUpdate.Builder setTitleBytes(ByteString value)

Output only. Brief title for the event.

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

Parameter
NameDescription
valueByteString

The bytes for title to set.

Returns
TypeDescription
EventUpdate.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final EventUpdate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EventUpdate.Builder
Overrides

setUpdateTime(Timestamp value)

public EventUpdate.Builder setUpdateTime(Timestamp value)

Output only. The time the update was posted.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
EventUpdate.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public EventUpdate.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time the update was posted.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
EventUpdate.Builder

setWorkaround(String value)

public EventUpdate.Builder setWorkaround(String value)

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

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

Parameter
NameDescription
valueString

The workaround to set.

Returns
TypeDescription
EventUpdate.Builder

This builder for chaining.

setWorkaroundBytes(ByteString value)

public EventUpdate.Builder setWorkaroundBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for workaround to set.

Returns
TypeDescription
EventUpdate.Builder

This builder for chaining.