public static final class Event.Builder extends GeneratedMessageV3.Builder<Event.Builder> implements EventOrBuilder
Represents service health events that may affect Google Cloud products. Event resource is a read-only view and does not allow any modifications. All fields are output only.
Protobuf type google.cloud.servicehealth.v1.Event
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Event.BuilderImplements
EventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllEventImpacts(Iterable<? extends EventImpact> values)
public Event.Builder addAllEventImpacts(Iterable<? extends EventImpact> values)
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.servicehealth.v1.EventImpact> |
Returns | |
---|---|
Type | Description |
Event.Builder |
addAllUpdates(Iterable<? extends EventUpdate> values)
public Event.Builder addAllUpdates(Iterable<? extends EventUpdate> values)
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.servicehealth.v1.EventUpdate> |
Returns | |
---|---|
Type | Description |
Event.Builder |
addEventImpacts(EventImpact value)
public Event.Builder addEventImpacts(EventImpact value)
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Parameter | |
---|---|
Name | Description |
value | EventImpact |
Returns | |
---|---|
Type | Description |
Event.Builder |
addEventImpacts(EventImpact.Builder builderForValue)
public Event.Builder addEventImpacts(EventImpact.Builder builderForValue)
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Parameter | |
---|---|
Name | Description |
builderForValue | EventImpact.Builder |
Returns | |
---|---|
Type | Description |
Event.Builder |
addEventImpacts(int index, EventImpact value)
public Event.Builder addEventImpacts(int index, EventImpact value)
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Parameters | |
---|---|
Name | Description |
index | int |
value | EventImpact |
Returns | |
---|---|
Type | Description |
Event.Builder |
addEventImpacts(int index, EventImpact.Builder builderForValue)
public Event.Builder addEventImpacts(int index, EventImpact.Builder builderForValue)
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | EventImpact.Builder |
Returns | |
---|---|
Type | Description |
Event.Builder |
addEventImpactsBuilder()
public EventImpact.Builder addEventImpactsBuilder()
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Returns | |
---|---|
Type | Description |
EventImpact.Builder |
addEventImpactsBuilder(int index)
public EventImpact.Builder addEventImpactsBuilder(int index)
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
EventImpact.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Event.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Event.Builder |
addUpdates(EventUpdate value)
public Event.Builder addUpdates(EventUpdate value)
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | EventUpdate |
Returns | |
---|---|
Type | Description |
Event.Builder |
addUpdates(EventUpdate.Builder builderForValue)
public Event.Builder addUpdates(EventUpdate.Builder builderForValue)
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | EventUpdate.Builder |
Returns | |
---|---|
Type | Description |
Event.Builder |
addUpdates(int index, EventUpdate value)
public Event.Builder addUpdates(int index, EventUpdate value)
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index | int |
value | EventUpdate |
Returns | |
---|---|
Type | Description |
Event.Builder |
addUpdates(int index, EventUpdate.Builder builderForValue)
public Event.Builder addUpdates(int index, EventUpdate.Builder builderForValue)
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | EventUpdate.Builder |
Returns | |
---|---|
Type | Description |
Event.Builder |
addUpdatesBuilder()
public EventUpdate.Builder addUpdatesBuilder()
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
addUpdatesBuilder(int index)
public EventUpdate.Builder addUpdatesBuilder(int index)
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
build()
public Event build()
Returns | |
---|---|
Type | Description |
Event |
buildPartial()
public Event buildPartial()
Returns | |
---|---|
Type | Description |
Event |
clear()
public Event.Builder clear()
Returns | |
---|---|
Type | Description |
Event.Builder |
clearCategory()
public Event.Builder clearCategory()
Output only. The category of the event.
.google.cloud.servicehealth.v1.Event.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
clearDescription()
public Event.Builder clearDescription()
Output only. Free-form, human-readable description.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
clearDetailedCategory()
public Event.Builder clearDetailedCategory()
Output only. The detailed category of the event.
.google.cloud.servicehealth.v1.Event.DetailedCategory detailed_category = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
clearDetailedState()
public Event.Builder clearDetailedState()
Output only. The current detailed state of the incident.
.google.cloud.servicehealth.v1.Event.DetailedState detailed_state = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
clearEndTime()
public Event.Builder clearEndTime()
Output only. The end time of the event, if applicable.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.Builder |
clearEventImpacts()
public Event.Builder clearEventImpacts()
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Returns | |
---|---|
Type | Description |
Event.Builder |
clearField(Descriptors.FieldDescriptor field)
public Event.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Event.Builder |
clearName()
public Event.Builder clearName()
Output only. Identifier. Name of the event. Unique name of the event in
this scope including project and location using the form
projects/{project_id}/locations/{location}/events/{event_id}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
clearNextUpdateTime()
public Event.Builder clearNextUpdateTime()
Output only. The time when the next update can be expected.
.google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Event.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Event.Builder |
clearParentEvent()
public Event.Builder clearParentEvent()
Output only. When detailed_state
=MERGED
, parent_event
contains the
name of the parent event. All further updates will be published to the
parent event.
string parent_event = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
clearRelevance()
public Event.Builder clearRelevance()
Output only. Communicates why a given event is deemed relevant in the context of a given project.
.google.cloud.servicehealth.v1.Event.Relevance relevance = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
clearStartTime()
public Event.Builder clearStartTime()
Output only. The start time of the event, if applicable.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.Builder |
clearState()
public Event.Builder clearState()
Output only. The current state of the event.
.google.cloud.servicehealth.v1.Event.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
clearTitle()
public Event.Builder clearTitle()
Output only. Brief description for the event.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
clearUpdateTime()
public Event.Builder clearUpdateTime()
Output only. The time when the event was last modified.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.Builder |
clearUpdates()
public Event.Builder clearUpdates()
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.Builder |
clone()
public Event.Builder clone()
Returns | |
---|---|
Type | Description |
Event.Builder |
getCategory()
public Event.EventCategory getCategory()
Output only. The category of the event.
.google.cloud.servicehealth.v1.Event.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.EventCategory | The category. |
getCategoryValue()
public int getCategoryValue()
Output only. The category of the event.
.google.cloud.servicehealth.v1.Event.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for category. |
getDefaultInstanceForType()
public Event getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Event |
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 |
getDetailedCategory()
public Event.DetailedCategory getDetailedCategory()
Output only. The detailed category of the event.
.google.cloud.servicehealth.v1.Event.DetailedCategory detailed_category = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.DetailedCategory | The detailedCategory. |
getDetailedCategoryValue()
public int getDetailedCategoryValue()
Output only. The detailed category of the event.
.google.cloud.servicehealth.v1.Event.DetailedCategory detailed_category = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for detailedCategory. |
getDetailedState()
public Event.DetailedState getDetailedState()
Output only. The current detailed state of the incident.
.google.cloud.servicehealth.v1.Event.DetailedState detailed_state = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.DetailedState | The detailedState. |
getDetailedStateValue()
public int getDetailedStateValue()
Output only. The current detailed state of the incident.
.google.cloud.servicehealth.v1.Event.DetailedState detailed_state = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for detailedState. |
getEndTime()
public Timestamp getEndTime()
Output only. The end time of the event, if applicable.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
Output only. The end time of the event, if applicable.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. The end time of the event, if applicable.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getEventImpacts(int index)
public EventImpact getEventImpacts(int index)
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
EventImpact |
getEventImpactsBuilder(int index)
public EventImpact.Builder getEventImpactsBuilder(int index)
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
EventImpact.Builder |
getEventImpactsBuilderList()
public List<EventImpact.Builder> getEventImpactsBuilderList()
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Returns | |
---|---|
Type | Description |
List<Builder> |
getEventImpactsCount()
public int getEventImpactsCount()
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Returns | |
---|---|
Type | Description |
int |
getEventImpactsList()
public List<EventImpact> getEventImpactsList()
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Returns | |
---|---|
Type | Description |
List<EventImpact> |
getEventImpactsOrBuilder(int index)
public EventImpactOrBuilder getEventImpactsOrBuilder(int index)
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
EventImpactOrBuilder |
getEventImpactsOrBuilderList()
public List<? extends EventImpactOrBuilder> getEventImpactsOrBuilderList()
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.servicehealth.v1.EventImpactOrBuilder> |
getName()
public String getName()
Output only. Identifier. Name of the event. Unique name of the event in
this scope including project and location using the form
projects/{project_id}/locations/{location}/events/{event_id}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. Identifier. Name of the event. Unique name of the event in
this scope including project and location using the form
projects/{project_id}/locations/{location}/events/{event_id}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getNextUpdateTime()
public Timestamp getNextUpdateTime()
Output only. The time when the next update can be expected.
.google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The nextUpdateTime. |
getNextUpdateTimeBuilder()
public Timestamp.Builder getNextUpdateTimeBuilder()
Output only. The time when the next update can be expected.
.google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getNextUpdateTimeOrBuilder()
public TimestampOrBuilder getNextUpdateTimeOrBuilder()
Output only. The time when the next update can be expected.
.google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getParentEvent()
public String getParentEvent()
Output only. When detailed_state
=MERGED
, parent_event
contains the
name of the parent event. All further updates will be published to the
parent event.
string parent_event = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The parentEvent. |
getParentEventBytes()
public ByteString getParentEventBytes()
Output only. When detailed_state
=MERGED
, parent_event
contains the
name of the parent event. All further updates will be published to the
parent event.
string parent_event = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for parentEvent. |
getRelevance()
public Event.Relevance getRelevance()
Output only. Communicates why a given event is deemed relevant in the context of a given project.
.google.cloud.servicehealth.v1.Event.Relevance relevance = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.Relevance | The relevance. |
getRelevanceValue()
public int getRelevanceValue()
Output only. Communicates why a given event is deemed relevant in the context of a given project.
.google.cloud.servicehealth.v1.Event.Relevance relevance = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for relevance. |
getStartTime()
public Timestamp getStartTime()
Output only. The start time of the event, if applicable.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Output only. The start time of the event, if applicable.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. The start time of the event, if applicable.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getState()
public Event.State getState()
Output only. The current state of the event.
.google.cloud.servicehealth.v1.Event.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Event.State | The state. |
getStateValue()
public int getStateValue()
Output only. The current state of the event.
.google.cloud.servicehealth.v1.Event.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for state. |
getTitle()
public String getTitle()
Output only. Brief description 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 description 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 when the event was last modified.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The time when the event was last modified.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the event was last modified.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getUpdates(int index)
public EventUpdate getUpdates(int index)
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
EventUpdate |
getUpdatesBuilder(int index)
public EventUpdate.Builder getUpdatesBuilder(int index)
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
EventUpdate.Builder |
getUpdatesBuilderList()
public List<EventUpdate.Builder> getUpdatesBuilderList()
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Builder> |
getUpdatesCount()
public int getUpdatesCount()
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
getUpdatesList()
public List<EventUpdate> getUpdatesList()
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<EventUpdate> |
getUpdatesOrBuilder(int index)
public EventUpdateOrBuilder getUpdatesOrBuilder(int index)
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
EventUpdateOrBuilder |
getUpdatesOrBuilderList()
public List<? extends EventUpdateOrBuilder> getUpdatesOrBuilderList()
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.servicehealth.v1.EventUpdateOrBuilder> |
hasEndTime()
public boolean hasEndTime()
Output only. The end time of the event, if applicable.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the endTime field is set. |
hasNextUpdateTime()
public boolean hasNextUpdateTime()
Output only. The time when the next update can be expected.
.google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the nextUpdateTime field is set. |
hasStartTime()
public boolean hasStartTime()
Output only. The start time of the event, if applicable.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the startTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time when the event was last modified.
.google.protobuf.Timestamp update_time = 12 [(.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 |
mergeEndTime(Timestamp value)
public Event.Builder mergeEndTime(Timestamp value)
Output only. The end time of the event, if applicable.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Event.Builder |
mergeFrom(Event other)
public Event.Builder mergeFrom(Event other)
Parameter | |
---|---|
Name | Description |
other | Event |
Returns | |
---|---|
Type | Description |
Event.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Event.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Event.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Event.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Event.Builder |
mergeNextUpdateTime(Timestamp value)
public Event.Builder mergeNextUpdateTime(Timestamp value)
Output only. The time when the next update can be expected.
.google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Event.Builder |
mergeStartTime(Timestamp value)
public Event.Builder mergeStartTime(Timestamp value)
Output only. The start time of the event, if applicable.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Event.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Event.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Event.Builder |
mergeUpdateTime(Timestamp value)
public Event.Builder mergeUpdateTime(Timestamp value)
Output only. The time when the event was last modified.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Event.Builder |
removeEventImpacts(int index)
public Event.Builder removeEventImpacts(int index)
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Event.Builder |
removeUpdates(int index)
public Event.Builder removeUpdates(int index)
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Event.Builder |
setCategory(Event.EventCategory value)
public Event.Builder setCategory(Event.EventCategory value)
Output only. The category of the event.
.google.cloud.servicehealth.v1.Event.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Event.EventCategory The category to set. |
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
setCategoryValue(int value)
public Event.Builder setCategoryValue(int value)
Output only. The category of the event.
.google.cloud.servicehealth.v1.Event.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for category to set. |
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
setDescription(String value)
public Event.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 |
Event.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Event.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 |
Event.Builder | This builder for chaining. |
setDetailedCategory(Event.DetailedCategory value)
public Event.Builder setDetailedCategory(Event.DetailedCategory value)
Output only. The detailed category of the event.
.google.cloud.servicehealth.v1.Event.DetailedCategory detailed_category = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Event.DetailedCategory The detailedCategory to set. |
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
setDetailedCategoryValue(int value)
public Event.Builder setDetailedCategoryValue(int value)
Output only. The detailed category of the event.
.google.cloud.servicehealth.v1.Event.DetailedCategory detailed_category = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for detailedCategory to set. |
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
setDetailedState(Event.DetailedState value)
public Event.Builder setDetailedState(Event.DetailedState value)
Output only. The current detailed state of the incident.
.google.cloud.servicehealth.v1.Event.DetailedState detailed_state = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Event.DetailedState The detailedState to set. |
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
setDetailedStateValue(int value)
public Event.Builder setDetailedStateValue(int value)
Output only. The current detailed state of the incident.
.google.cloud.servicehealth.v1.Event.DetailedState detailed_state = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for detailedState to set. |
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
setEndTime(Timestamp value)
public Event.Builder setEndTime(Timestamp value)
Output only. The end time of the event, if applicable.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Event.Builder |
setEndTime(Timestamp.Builder builderForValue)
public Event.Builder setEndTime(Timestamp.Builder builderForValue)
Output only. The end time of the event, if applicable.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Event.Builder |
setEventImpacts(int index, EventImpact value)
public Event.Builder setEventImpacts(int index, EventImpact value)
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Parameters | |
---|---|
Name | Description |
index | int |
value | EventImpact |
Returns | |
---|---|
Type | Description |
Event.Builder |
setEventImpacts(int index, EventImpact.Builder builderForValue)
public Event.Builder setEventImpacts(int index, EventImpact.Builder builderForValue)
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | EventImpact.Builder |
Returns | |
---|---|
Type | Description |
Event.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Event.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Event.Builder |
setName(String value)
public Event.Builder setName(String value)
Output only. Identifier. Name of the event. Unique name of the event in
this scope including project and location using the form
projects/{project_id}/locations/{location}/events/{event_id}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Event.Builder setNameBytes(ByteString value)
Output only. Identifier. Name of the event. Unique name of the event in
this scope including project and location using the form
projects/{project_id}/locations/{location}/events/{event_id}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
setNextUpdateTime(Timestamp value)
public Event.Builder setNextUpdateTime(Timestamp value)
Output only. The time when the next update can be expected.
.google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Event.Builder |
setNextUpdateTime(Timestamp.Builder builderForValue)
public Event.Builder setNextUpdateTime(Timestamp.Builder builderForValue)
Output only. The time when the next update can be expected.
.google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Event.Builder |
setParentEvent(String value)
public Event.Builder setParentEvent(String value)
Output only. When detailed_state
=MERGED
, parent_event
contains the
name of the parent event. All further updates will be published to the
parent event.
string parent_event = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The parentEvent to set. |
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
setParentEventBytes(ByteString value)
public Event.Builder setParentEventBytes(ByteString value)
Output only. When detailed_state
=MERGED
, parent_event
contains the
name of the parent event. All further updates will be published to the
parent event.
string parent_event = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for parentEvent to set. |
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
setRelevance(Event.Relevance value)
public Event.Builder setRelevance(Event.Relevance value)
Output only. Communicates why a given event is deemed relevant in the context of a given project.
.google.cloud.servicehealth.v1.Event.Relevance relevance = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Event.Relevance The relevance to set. |
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
setRelevanceValue(int value)
public Event.Builder setRelevanceValue(int value)
Output only. Communicates why a given event is deemed relevant in the context of a given project.
.google.cloud.servicehealth.v1.Event.Relevance relevance = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for relevance to set. |
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Event.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Event.Builder |
setStartTime(Timestamp value)
public Event.Builder setStartTime(Timestamp value)
Output only. The start time of the event, if applicable.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Event.Builder |
setStartTime(Timestamp.Builder builderForValue)
public Event.Builder setStartTime(Timestamp.Builder builderForValue)
Output only. The start time of the event, if applicable.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Event.Builder |
setState(Event.State value)
public Event.Builder setState(Event.State value)
Output only. The current state of the event.
.google.cloud.servicehealth.v1.Event.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Event.State The state to set. |
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
setStateValue(int value)
public Event.Builder setStateValue(int value)
Output only. The current state of the event.
.google.cloud.servicehealth.v1.Event.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
setTitle(String value)
public Event.Builder setTitle(String value)
Output only. Brief description for the event.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The title to set. |
Returns | |
---|---|
Type | Description |
Event.Builder | This builder for chaining. |
setTitleBytes(ByteString value)
public Event.Builder setTitleBytes(ByteString value)
Output only. Brief description 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 |
Event.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Event.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Event.Builder |
setUpdateTime(Timestamp value)
public Event.Builder setUpdateTime(Timestamp value)
Output only. The time when the event was last modified.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Event.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Event.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The time when the event was last modified.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Event.Builder |
setUpdates(int index, EventUpdate value)
public Event.Builder setUpdates(int index, EventUpdate value)
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index | int |
value | EventUpdate |
Returns | |
---|---|
Type | Description |
Event.Builder |
setUpdates(int index, EventUpdate.Builder builderForValue)
public Event.Builder setUpdates(int index, EventUpdate.Builder builderForValue)
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | EventUpdate.Builder |
Returns | |
---|---|
Type | Description |
Event.Builder |