Class OrganizationEvent.Builder (0.7.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.servicehealth.v1.EventImpact>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.servicehealth.v1.EventUpdate>
Returns
TypeDescription
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
NameDescription
valueEventImpact
Returns
TypeDescription
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
NameDescription
builderForValueEventImpact.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEventImpact
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEventImpact.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
EventImpact.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OrganizationEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueEventUpdate
Returns
TypeDescription
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
NameDescription
builderForValueEventUpdate.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEventUpdate
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEventUpdate.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
EventUpdate.Builder

build()

public OrganizationEvent build()
Returns
TypeDescription
OrganizationEvent

buildPartial()

public OrganizationEvent buildPartial()
Returns
TypeDescription
OrganizationEvent

clear()

public OrganizationEvent.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
OrganizationEvent.Builder

clearField(Descriptors.FieldDescriptor field)

public OrganizationEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
OrganizationEvent.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public OrganizationEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
OrganizationEvent.Builder

clone()

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

The enum numeric value on the wire for category.

getDefaultInstanceForType()

public OrganizationEvent getDefaultInstanceForType()
Returns
TypeDescription
OrganizationEvent

getDescription()

public String getDescription()

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

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

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Output only. Brief description for the event.

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

Returns
TypeDescription
ByteString

The bytes for title.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time the update was posted.

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

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time the update was posted.

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

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time the update was posted.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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
NameDescription
valueTimestamp
Returns
TypeDescription
OrganizationEvent.Builder

mergeFrom(OrganizationEvent other)

public OrganizationEvent.Builder mergeFrom(OrganizationEvent other)
Parameter
NameDescription
otherOrganizationEvent
Returns
TypeDescription
OrganizationEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public OrganizationEvent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
OrganizationEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OrganizationEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueOrganizationEvent.EventCategory

The category to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for category to set.

Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueOrganizationEvent.DetailedCategory

The detailedCategory to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for detailedCategory to set.

Returns
TypeDescription
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
NameDescription
valueOrganizationEvent.DetailedState

The detailedState to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for detailedState to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
indexint
valueEventImpact
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEventImpact.Builder
Returns
TypeDescription
OrganizationEvent.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public OrganizationEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The parentEvent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parentEvent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueOrganizationEvent.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
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
NameDescription
valueString

The title to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for title to set.

Returns
TypeDescription
OrganizationEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final OrganizationEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
indexint
valueEventUpdate
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEventUpdate.Builder
Returns
TypeDescription
OrganizationEvent.Builder