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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EventUpdate.BuilderImplements
EventUpdateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EventUpdate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
build()
public EventUpdate build()
Returns | |
---|---|
Type | Description |
EventUpdate |
buildPartial()
public EventUpdate buildPartial()
Returns | |
---|---|
Type | Description |
EventUpdate |
clear()
public EventUpdate.Builder clear()
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
clearDescription()
public EventUpdate.Builder clearDescription()
Output only. Free-form, human-readable description.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public EventUpdate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public EventUpdate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
clearSymptom()
public EventUpdate.Builder clearSymptom()
Output only. Symptoms of the event, if available.
string symptom = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
EventUpdate.Builder |
This builder for chaining. |
clone()
public EventUpdate.Builder clone()
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
getDefaultInstanceForType()
public EventUpdate getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
EventUpdate |
getDescription()
public String getDescription()
Output only. Free-form, human-readable description.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Output only. Free-form, human-readable description.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getSymptom()
public String getSymptom()
Output only. Symptoms of the event, if available.
string symptom = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
The title. |
getTitleBytes()
public ByteString getTitleBytes()
Output only. Brief title for the event.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(EventUpdate other)
public EventUpdate.Builder mergeFrom(EventUpdate other)
Parameter | |
---|---|
Name | Description |
other |
EventUpdate |
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EventUpdate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public EventUpdate.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventUpdate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
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 | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public EventUpdate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EventUpdate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
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 | |
---|---|
Name | Description |
value |
String The symptom to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for symptom to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The title to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for title to set. |
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final EventUpdate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
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 | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The workaround to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for workaround to set. |
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
This builder for chaining. |