Class OrganizationEvent.Builder (0.22.0)

public static final class OrganizationEvent.Builder extends GeneratedMessageV3.Builder<OrganizationEvent.Builder> implements OrganizationEventOrBuilder

Represents service health events that may affect Google Cloud products used across the organization. It is a read-only view and does not allow any modifications.

Protobuf type google.cloud.servicehealth.v1.OrganizationEvent

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllEventImpacts(Iterable<? extends EventImpact> values)

public OrganizationEvent.Builder addAllEventImpacts(Iterable<? extends EventImpact> values)

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.servicehealth.v1.EventImpact>
Returns
Type Description
OrganizationEvent.Builder

addAllUpdates(Iterable<? extends EventUpdate> values)

public OrganizationEvent.Builder addAllUpdates(Iterable<? extends EventUpdate> values)

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.servicehealth.v1.EventUpdate>
Returns
Type Description
OrganizationEvent.Builder

addEventImpacts(EventImpact value)

public OrganizationEvent.Builder addEventImpacts(EventImpact value)

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value EventImpact
Returns
Type Description
OrganizationEvent.Builder

addEventImpacts(EventImpact.Builder builderForValue)

public OrganizationEvent.Builder addEventImpacts(EventImpact.Builder builderForValue)

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue EventImpact.Builder
Returns
Type Description
OrganizationEvent.Builder

addEventImpacts(int index, EventImpact value)

public OrganizationEvent.Builder addEventImpacts(int index, EventImpact value)

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value EventImpact
Returns
Type Description
OrganizationEvent.Builder

addEventImpacts(int index, EventImpact.Builder builderForValue)

public OrganizationEvent.Builder addEventImpacts(int index, EventImpact.Builder builderForValue)

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue EventImpact.Builder
Returns
Type Description
OrganizationEvent.Builder

addEventImpactsBuilder()

public EventImpact.Builder addEventImpactsBuilder()

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EventImpact.Builder

addEventImpactsBuilder(int index)

public EventImpact.Builder addEventImpactsBuilder(int index)

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
EventImpact.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OrganizationEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OrganizationEvent.Builder
Overrides

addUpdates(EventUpdate value)

public OrganizationEvent.Builder addUpdates(EventUpdate value)

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value EventUpdate
Returns
Type Description
OrganizationEvent.Builder

addUpdates(EventUpdate.Builder builderForValue)

public OrganizationEvent.Builder addUpdates(EventUpdate.Builder builderForValue)

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue EventUpdate.Builder
Returns
Type Description
OrganizationEvent.Builder

addUpdates(int index, EventUpdate value)

public OrganizationEvent.Builder addUpdates(int index, EventUpdate value)

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value EventUpdate
Returns
Type Description
OrganizationEvent.Builder

addUpdates(int index, EventUpdate.Builder builderForValue)

public OrganizationEvent.Builder addUpdates(int index, EventUpdate.Builder builderForValue)

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue EventUpdate.Builder
Returns
Type Description
OrganizationEvent.Builder

addUpdatesBuilder()

public EventUpdate.Builder addUpdatesBuilder()

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EventUpdate.Builder

addUpdatesBuilder(int index)

public EventUpdate.Builder addUpdatesBuilder(int index)

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
EventUpdate.Builder

build()

public OrganizationEvent build()
Returns
Type Description
OrganizationEvent

buildPartial()

public OrganizationEvent buildPartial()
Returns
Type Description
OrganizationEvent

clear()

public OrganizationEvent.Builder clear()
Returns
Type Description
OrganizationEvent.Builder
Overrides

clearCategory()

public OrganizationEvent.Builder clearCategory()

Output only. The category of the event.

.google.cloud.servicehealth.v1.OrganizationEvent.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OrganizationEvent.Builder

This builder for chaining.

clearDescription()

public OrganizationEvent.Builder clearDescription()

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

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

Returns
Type Description
OrganizationEvent.Builder

This builder for chaining.

clearDetailedCategory()

public OrganizationEvent.Builder clearDetailedCategory()

Output only. The detailed category of the event.

.google.cloud.servicehealth.v1.OrganizationEvent.DetailedCategory detailed_category = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OrganizationEvent.Builder

This builder for chaining.

clearDetailedState()

public OrganizationEvent.Builder clearDetailedState()

Output only. The current detailed state of the incident.

.google.cloud.servicehealth.v1.OrganizationEvent.DetailedState detailed_state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OrganizationEvent.Builder

This builder for chaining.

clearEndTime()

public OrganizationEvent.Builder clearEndTime()

Output only. The end time of the event, if applicable.

.google.protobuf.Timestamp end_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OrganizationEvent.Builder

clearEventImpacts()

public OrganizationEvent.Builder clearEventImpacts()

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OrganizationEvent.Builder

clearField(Descriptors.FieldDescriptor field)

public OrganizationEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OrganizationEvent.Builder
Overrides

clearName()

public OrganizationEvent.Builder clearName()

Output only. Identifier. Name of the event. Unique name of the event in this scope including organization ID and location using the form organizations/{organization_id}/locations/{location}/organizationEvents/{event_id}.

organization_id - see Getting your organization resource ID.<br> location - The location to get the service health events from.<br> event_id - Organization event ID to retrieve.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
OrganizationEvent.Builder

This builder for chaining.

clearNextUpdateTime()

public OrganizationEvent.Builder clearNextUpdateTime()

Output only. Incident-only field. The time when the next update can be expected.

.google.protobuf.Timestamp next_update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OrganizationEvent.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public OrganizationEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OrganizationEvent.Builder
Overrides

clearParentEvent()

public OrganizationEvent.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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OrganizationEvent.Builder

This builder for chaining.

clearStartTime()

public OrganizationEvent.Builder clearStartTime()

Output only. The start time of the event, if applicable.

.google.protobuf.Timestamp start_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OrganizationEvent.Builder

clearState()

public OrganizationEvent.Builder clearState()

Output only. The current state of the event.

.google.cloud.servicehealth.v1.OrganizationEvent.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OrganizationEvent.Builder

This builder for chaining.

clearTitle()

public OrganizationEvent.Builder clearTitle()

Output only. Brief description for the event.

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

Returns
Type Description
OrganizationEvent.Builder

This builder for chaining.

clearUpdateTime()

public OrganizationEvent.Builder clearUpdateTime()

Output only. The time the update was posted.

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

Returns
Type Description
OrganizationEvent.Builder

clearUpdates()

public OrganizationEvent.Builder clearUpdates()

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OrganizationEvent.Builder

clone()

public OrganizationEvent.Builder clone()
Returns
Type Description
OrganizationEvent.Builder
Overrides

getCategory()

public OrganizationEvent.EventCategory getCategory()

Output only. The category of the event.

.google.cloud.servicehealth.v1.OrganizationEvent.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OrganizationEvent.EventCategory

The category.

getCategoryValue()

public int getCategoryValue()

Output only. The category of the event.

.google.cloud.servicehealth.v1.OrganizationEvent.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for category.

getDefaultInstanceForType()

public OrganizationEvent getDefaultInstanceForType()
Returns
Type Description
OrganizationEvent

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
Overrides

getDetailedCategory()

public OrganizationEvent.DetailedCategory getDetailedCategory()

Output only. The detailed category of the event.

.google.cloud.servicehealth.v1.OrganizationEvent.DetailedCategory detailed_category = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OrganizationEvent.DetailedCategory

The detailedCategory.

getDetailedCategoryValue()

public int getDetailedCategoryValue()

Output only. The detailed category of the event.

.google.cloud.servicehealth.v1.OrganizationEvent.DetailedCategory detailed_category = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for detailedCategory.

getDetailedState()

public OrganizationEvent.DetailedState getDetailedState()

Output only. The current detailed state of the incident.

.google.cloud.servicehealth.v1.OrganizationEvent.DetailedState detailed_state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OrganizationEvent.DetailedState

The detailedState.

getDetailedStateValue()

public int getDetailedStateValue()

Output only. The current detailed state of the incident.

.google.cloud.servicehealth.v1.OrganizationEvent.DetailedState detailed_state = 16 [(.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 = 13 [(.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 = 13 [(.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 = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getEventImpacts(int index)

public EventImpact getEventImpacts(int index)

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
EventImpact

getEventImpactsBuilder(int index)

public EventImpact.Builder getEventImpactsBuilder(int index)

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
EventImpact.Builder

getEventImpactsBuilderList()

public List<EventImpact.Builder> getEventImpactsBuilderList()

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getEventImpactsCount()

public int getEventImpactsCount()

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getEventImpactsList()

public List<EventImpact> getEventImpactsList()

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<EventImpact>

getEventImpactsOrBuilder(int index)

public EventImpactOrBuilder getEventImpactsOrBuilder(int index)

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
EventImpactOrBuilder

getEventImpactsOrBuilderList()

public List<? extends EventImpactOrBuilder> getEventImpactsOrBuilderList()

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

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 organization ID and location using the form organizations/{organization_id}/locations/{location}/organizationEvents/{event_id}.

organization_id - see Getting your organization resource ID.<br> location - The location to get the service health events from.<br> event_id - Organization event ID to retrieve.

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 organization ID and location using the form organizations/{organization_id}/locations/{location}/organizationEvents/{event_id}.

organization_id - see Getting your organization resource ID.<br> location - The location to get the service health events from.<br> event_id - Organization event ID to retrieve.

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. Incident-only field. The time when the next update can be expected.

.google.protobuf.Timestamp next_update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The nextUpdateTime.

getNextUpdateTimeBuilder()

public Timestamp.Builder getNextUpdateTimeBuilder()

Output only. Incident-only field. The time when the next update can be expected.

.google.protobuf.Timestamp next_update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getNextUpdateTimeOrBuilder()

public TimestampOrBuilder getNextUpdateTimeOrBuilder()

Output only. Incident-only field. The time when the next update can be expected.

.google.protobuf.Timestamp next_update_time = 14 [(.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 = 9 [(.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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for parentEvent.

getStartTime()

public Timestamp getStartTime()

Output only. The start time of the event, if applicable.

.google.protobuf.Timestamp start_time = 12 [(.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 = 12 [(.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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getState()

public OrganizationEvent.State getState()

Output only. The current state of the event.

.google.cloud.servicehealth.v1.OrganizationEvent.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OrganizationEvent.State

The state.

getStateValue()

public int getStateValue()

Output only. The current state of the event.

.google.cloud.servicehealth.v1.OrganizationEvent.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 the update was posted.

.google.protobuf.Timestamp update_time = 11 [(.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 = 11 [(.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 = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getUpdates(int index)

public EventUpdate getUpdates(int index)

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.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. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
EventUpdate.Builder

getUpdatesBuilderList()

public List<EventUpdate.Builder> getUpdatesBuilderList()

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getUpdatesCount()

public int getUpdatesCount()

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getUpdatesList()

public List<EventUpdate> getUpdatesList()

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<EventUpdate>

getUpdatesOrBuilder(int index)

public EventUpdateOrBuilder getUpdatesOrBuilder(int index)

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
EventUpdateOrBuilder

getUpdatesOrBuilderList()

public List<? extends EventUpdateOrBuilder> getUpdatesOrBuilderList()

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.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 = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasNextUpdateTime()

public boolean hasNextUpdateTime()

Output only. Incident-only field. The time when the next update can be expected.

.google.protobuf.Timestamp next_update_time = 14 [(.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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time the update was posted.

.google.protobuf.Timestamp update_time = 11 [(.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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public OrganizationEvent.Builder mergeEndTime(Timestamp value)

Output only. The end time of the event, if applicable.

.google.protobuf.Timestamp end_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
OrganizationEvent.Builder

mergeFrom(OrganizationEvent other)

public OrganizationEvent.Builder mergeFrom(OrganizationEvent other)
Parameter
Name Description
other OrganizationEvent
Returns
Type Description
OrganizationEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OrganizationEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrganizationEvent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OrganizationEvent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OrganizationEvent.Builder
Overrides

mergeNextUpdateTime(Timestamp value)

public OrganizationEvent.Builder mergeNextUpdateTime(Timestamp value)

Output only. Incident-only field. The time when the next update can be expected.

.google.protobuf.Timestamp next_update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
OrganizationEvent.Builder

mergeStartTime(Timestamp value)

public OrganizationEvent.Builder mergeStartTime(Timestamp value)

Output only. The start time of the event, if applicable.

.google.protobuf.Timestamp start_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
OrganizationEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OrganizationEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OrganizationEvent.Builder
Overrides

mergeUpdateTime(Timestamp value)

public OrganizationEvent.Builder mergeUpdateTime(Timestamp value)

Output only. The time the update was posted.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
OrganizationEvent.Builder

removeEventImpacts(int index)

public OrganizationEvent.Builder removeEventImpacts(int index)

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
OrganizationEvent.Builder

removeUpdates(int index)

public OrganizationEvent.Builder removeUpdates(int index)

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
OrganizationEvent.Builder

setCategory(OrganizationEvent.EventCategory value)

public OrganizationEvent.Builder setCategory(OrganizationEvent.EventCategory value)

Output only. The category of the event.

.google.cloud.servicehealth.v1.OrganizationEvent.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value OrganizationEvent.EventCategory

The category to set.

Returns
Type Description
OrganizationEvent.Builder

This builder for chaining.

setCategoryValue(int value)

public OrganizationEvent.Builder setCategoryValue(int value)

Output only. The category of the event.

.google.cloud.servicehealth.v1.OrganizationEvent.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
OrganizationEvent.Builder

This builder for chaining.

setDescription(String value)

public OrganizationEvent.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
OrganizationEvent.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public OrganizationEvent.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
OrganizationEvent.Builder

This builder for chaining.

setDetailedCategory(OrganizationEvent.DetailedCategory value)

public OrganizationEvent.Builder setDetailedCategory(OrganizationEvent.DetailedCategory value)

Output only. The detailed category of the event.

.google.cloud.servicehealth.v1.OrganizationEvent.DetailedCategory detailed_category = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value OrganizationEvent.DetailedCategory

The detailedCategory to set.

Returns
Type Description
OrganizationEvent.Builder

This builder for chaining.

setDetailedCategoryValue(int value)

public OrganizationEvent.Builder setDetailedCategoryValue(int value)

Output only. The detailed category of the event.

.google.cloud.servicehealth.v1.OrganizationEvent.DetailedCategory detailed_category = 17 [(.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
OrganizationEvent.Builder

This builder for chaining.

setDetailedState(OrganizationEvent.DetailedState value)

public OrganizationEvent.Builder setDetailedState(OrganizationEvent.DetailedState value)

Output only. The current detailed state of the incident.

.google.cloud.servicehealth.v1.OrganizationEvent.DetailedState detailed_state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value OrganizationEvent.DetailedState

The detailedState to set.

Returns
Type Description
OrganizationEvent.Builder

This builder for chaining.

setDetailedStateValue(int value)

public OrganizationEvent.Builder setDetailedStateValue(int value)

Output only. The current detailed state of the incident.

.google.cloud.servicehealth.v1.OrganizationEvent.DetailedState detailed_state = 16 [(.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
OrganizationEvent.Builder

This builder for chaining.

setEndTime(Timestamp value)

public OrganizationEvent.Builder setEndTime(Timestamp value)

Output only. The end time of the event, if applicable.

.google.protobuf.Timestamp end_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
OrganizationEvent.Builder

setEndTime(Timestamp.Builder builderForValue)

public OrganizationEvent.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. The end time of the event, if applicable.

.google.protobuf.Timestamp end_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
OrganizationEvent.Builder

setEventImpacts(int index, EventImpact value)

public OrganizationEvent.Builder setEventImpacts(int index, EventImpact value)

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value EventImpact
Returns
Type Description
OrganizationEvent.Builder

setEventImpacts(int index, EventImpact.Builder builderForValue)

public OrganizationEvent.Builder setEventImpacts(int index, EventImpact.Builder builderForValue)

Output only. Represents the Google Cloud products and locations impacted by the event.

repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue EventImpact.Builder
Returns
Type Description
OrganizationEvent.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public OrganizationEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OrganizationEvent.Builder
Overrides

setName(String value)

public OrganizationEvent.Builder setName(String value)

Output only. Identifier. Name of the event. Unique name of the event in this scope including organization ID and location using the form organizations/{organization_id}/locations/{location}/organizationEvents/{event_id}.

organization_id - see Getting your organization resource ID.<br> location - The location to get the service health events from.<br> event_id - Organization event ID to retrieve.

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
OrganizationEvent.Builder

This builder for chaining.

setNameBytes(ByteString value)

public OrganizationEvent.Builder setNameBytes(ByteString value)

Output only. Identifier. Name of the event. Unique name of the event in this scope including organization ID and location using the form organizations/{organization_id}/locations/{location}/organizationEvents/{event_id}.

organization_id - see Getting your organization resource ID.<br> location - The location to get the service health events from.<br> event_id - Organization event ID to retrieve.

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
OrganizationEvent.Builder

This builder for chaining.

setNextUpdateTime(Timestamp value)

public OrganizationEvent.Builder setNextUpdateTime(Timestamp value)

Output only. Incident-only field. The time when the next update can be expected.

.google.protobuf.Timestamp next_update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
OrganizationEvent.Builder

setNextUpdateTime(Timestamp.Builder builderForValue)

public OrganizationEvent.Builder setNextUpdateTime(Timestamp.Builder builderForValue)

Output only. Incident-only field. The time when the next update can be expected.

.google.protobuf.Timestamp next_update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
OrganizationEvent.Builder

setParentEvent(String value)

public OrganizationEvent.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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The parentEvent to set.

Returns
Type Description
OrganizationEvent.Builder

This builder for chaining.

setParentEventBytes(ByteString value)

public OrganizationEvent.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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for parentEvent to set.

Returns
Type Description
OrganizationEvent.Builder

This builder for chaining.

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

public OrganizationEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OrganizationEvent.Builder
Overrides

setStartTime(Timestamp value)

public OrganizationEvent.Builder setStartTime(Timestamp value)

Output only. The start time of the event, if applicable.

.google.protobuf.Timestamp start_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
OrganizationEvent.Builder

setStartTime(Timestamp.Builder builderForValue)

public OrganizationEvent.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. The start time of the event, if applicable.

.google.protobuf.Timestamp start_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
OrganizationEvent.Builder

setState(OrganizationEvent.State value)

public OrganizationEvent.Builder setState(OrganizationEvent.State value)

Output only. The current state of the event.

.google.cloud.servicehealth.v1.OrganizationEvent.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value OrganizationEvent.State

The state to set.

Returns
Type Description
OrganizationEvent.Builder

This builder for chaining.

setStateValue(int value)

public OrganizationEvent.Builder setStateValue(int value)

Output only. The current state of the event.

.google.cloud.servicehealth.v1.OrganizationEvent.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
OrganizationEvent.Builder

This builder for chaining.

setTitle(String value)

public OrganizationEvent.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
OrganizationEvent.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public OrganizationEvent.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
OrganizationEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final OrganizationEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OrganizationEvent.Builder
Overrides

setUpdateTime(Timestamp value)

public OrganizationEvent.Builder setUpdateTime(Timestamp value)

Output only. The time the update was posted.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
OrganizationEvent.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public OrganizationEvent.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time the update was posted.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
OrganizationEvent.Builder

setUpdates(int index, EventUpdate value)

public OrganizationEvent.Builder setUpdates(int index, EventUpdate value)

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value EventUpdate
Returns
Type Description
OrganizationEvent.Builder

setUpdates(int index, EventUpdate.Builder builderForValue)

public OrganizationEvent.Builder setUpdates(int index, EventUpdate.Builder builderForValue)

Output only. Incident-only field. Event updates are correspondence from Google.

repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue EventUpdate.Builder
Returns
Type Description
OrganizationEvent.Builder