Class Event.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
com.google.cloud.servicehealth.v1.Event.Builder
- All Implemented Interfaces:
EventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Event
public static final class Event.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllEventImpacts(Iterable<? extends EventImpact> values) Google Cloud products and locations impacted by the event.addAllUpdates(Iterable<? extends EventUpdate> values) Output only.addEventImpacts(int index, EventImpact value) Google Cloud products and locations impacted by the event.addEventImpacts(int index, EventImpact.Builder builderForValue) Google Cloud products and locations impacted by the event.addEventImpacts(EventImpact value) Google Cloud products and locations impacted by the event.addEventImpacts(EventImpact.Builder builderForValue) Google Cloud products and locations impacted by the event.Google Cloud products and locations impacted by the event.addEventImpactsBuilder(int index) Google Cloud products and locations impacted by the event.addUpdates(int index, EventUpdate value) Output only.addUpdates(int index, EventUpdate.Builder builderForValue) Output only.addUpdates(EventUpdate value) Output only.addUpdates(EventUpdate.Builder builderForValue) Output only.Output only.addUpdatesBuilder(int index) Output only.build()clear()Output only.Output only.Output only.Output only.Output only.Google Cloud products and locations impacted by the event.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.intOutput only.Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getEventImpacts(int index) Google Cloud products and locations impacted by the event.getEventImpactsBuilder(int index) Google Cloud products and locations impacted by the event.Google Cloud products and locations impacted by the event.intGoogle Cloud products and locations impacted by the event.Google Cloud products and locations impacted by the event.getEventImpactsOrBuilder(int index) Google Cloud products and locations impacted by the event.List<? extends EventImpactOrBuilder>Google Cloud products and locations impacted by the event.getName()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getState()Output only.intOutput only.getTitle()Output only.com.google.protobuf.ByteStringOutput only.getUpdates(int index) Output only.getUpdatesBuilder(int index) Output only.Output only.intOutput only.Output only.getUpdatesOrBuilder(int index) Output only.List<? extends EventUpdateOrBuilder>Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeNextUpdateTime(com.google.protobuf.Timestamp value) Output only.mergeStartTime(com.google.protobuf.Timestamp value) Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.removeEventImpacts(int index) Google Cloud products and locations impacted by the event.removeUpdates(int index) Output only.setCategory(Event.EventCategory value) Output only.setCategoryValue(int value) Output only.setDescription(String value) Output only.setDescriptionBytes(com.google.protobuf.ByteString value) Output only.Output only.setDetailedCategoryValue(int value) Output only.Output only.setDetailedStateValue(int value) Output only.setEndTime(com.google.protobuf.Timestamp value) Output only.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setEventImpacts(int index, EventImpact value) Google Cloud products and locations impacted by the event.setEventImpacts(int index, EventImpact.Builder builderForValue) Google Cloud products and locations impacted by the event.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setNextUpdateTime(com.google.protobuf.Timestamp value) Output only.setNextUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setParentEvent(String value) Output only.setParentEventBytes(com.google.protobuf.ByteString value) Output only.setRelevance(Event.Relevance value) Output only.setRelevanceValue(int value) Output only.setStartTime(com.google.protobuf.Timestamp value) Output only.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setState(Event.State value) Output only.setStateValue(int value) Output only.Output only.setTitleBytes(com.google.protobuf.ByteString value) Output only.setUpdates(int index, EventUpdate value) Output only.setUpdates(int index, EventUpdate.Builder builderForValue) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Event.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Event.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Event.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Event.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Event.Builder>
-
mergeFrom
public Event.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Event.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceEventOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceEventOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getTitle
Output only. Brief description for the event.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTitlein interfaceEventOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()Output only. Brief description for the event.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTitleBytesin interfaceEventOrBuilder- Returns:
- The bytes for title.
-
setTitle
Output only. Brief description for the event.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
Output only. Brief description for the event.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setTitleBytes
Output only. Brief description for the event.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for title to set.- Returns:
- This builder for chaining.
-
getDescription
Output only. Free-form, human-readable description.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDescriptionin interfaceEventOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Output only. Free-form, human-readable description.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDescriptionBytesin interfaceEventOrBuilder- Returns:
- The bytes for description.
-
setDescription
Output only. Free-form, human-readable description.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Output only. Free-form, human-readable description.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Output only. Free-form, human-readable description.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getCategoryValuein interfaceEventOrBuilder- Returns:
- The enum numeric value on the wire for category.
-
setCategoryValue
Output only. The category of the event.
.google.cloud.servicehealth.v1.Event.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for category to set.- Returns:
- This builder for chaining.
-
getCategory
Output only. The category of the event.
.google.cloud.servicehealth.v1.Event.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCategoryin interfaceEventOrBuilder- Returns:
- The category.
-
setCategory
Output only. The category of the event.
.google.cloud.servicehealth.v1.Event.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The category to set.- Returns:
- This builder for chaining.
-
clearCategory
Output only. The category of the event.
.google.cloud.servicehealth.v1.Event.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
getDetailedCategoryValuein interfaceEventOrBuilder- Returns:
- The enum numeric value on the wire for detailedCategory.
-
setDetailedCategoryValue
Output only. The detailed category of the event.
.google.cloud.servicehealth.v1.Event.DetailedCategory detailed_category = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for detailedCategory to set.- Returns:
- This builder for chaining.
-
getDetailedCategory
Output only. The detailed category of the event.
.google.cloud.servicehealth.v1.Event.DetailedCategory detailed_category = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDetailedCategoryin interfaceEventOrBuilder- Returns:
- The detailedCategory.
-
setDetailedCategory
Output only. The detailed category of the event.
.google.cloud.servicehealth.v1.Event.DetailedCategory detailed_category = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The detailedCategory to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];- Specified by:
getStateValuein interfaceEventOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The current state of the event.
.google.cloud.servicehealth.v1.Event.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The current state of the event.
.google.cloud.servicehealth.v1.Event.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceEventOrBuilder- Returns:
- The state.
-
setState
Output only. The current state of the event.
.google.cloud.servicehealth.v1.Event.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The current state of the event.
.google.cloud.servicehealth.v1.Event.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
getDetailedStateValuein interfaceEventOrBuilder- Returns:
- The enum numeric value on the wire for detailedState.
-
setDetailedStateValue
Output only. The current detailed state of the incident.
.google.cloud.servicehealth.v1.Event.DetailedState detailed_state = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for detailedState to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getDetailedStatein interfaceEventOrBuilder- Returns:
- The detailedState.
-
setDetailedState
Output only. The current detailed state of the incident.
.google.cloud.servicehealth.v1.Event.DetailedState detailed_state = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The detailedState to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
getEventImpactsList
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;- Specified by:
getEventImpactsListin interfaceEventOrBuilder
-
getEventImpactsCount
public int getEventImpactsCount()Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;- Specified by:
getEventImpactsCountin interfaceEventOrBuilder
-
getEventImpacts
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;- Specified by:
getEventImpactsin interfaceEventOrBuilder
-
setEventImpacts
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
setEventImpacts
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
addEventImpacts
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
addEventImpacts
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
addEventImpacts
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
addEventImpacts
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
addAllEventImpacts
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
clearEventImpacts
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
removeEventImpacts
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
getEventImpactsBuilder
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
getEventImpactsOrBuilder
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;- Specified by:
getEventImpactsOrBuilderin interfaceEventOrBuilder
-
getEventImpactsOrBuilderList
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;- Specified by:
getEventImpactsOrBuilderListin interfaceEventOrBuilder
-
addEventImpactsBuilder
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
addEventImpactsBuilder
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
getEventImpactsBuilderList
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
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];- Specified by:
getRelevanceValuein interfaceEventOrBuilder- Returns:
- The enum numeric value on the wire for relevance.
-
setRelevanceValue
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];- Parameters:
value- The enum numeric value on the wire for relevance to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getRelevancein interfaceEventOrBuilder- Returns:
- The relevance.
-
setRelevance
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];- Parameters:
value- The relevance to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
getUpdatesList
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdatesListin interfaceEventOrBuilder
-
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];- Specified by:
getUpdatesCountin interfaceEventOrBuilder
-
getUpdates
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdatesin interfaceEventOrBuilder
-
setUpdates
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdates
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addUpdates
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addUpdates
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addUpdates
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addUpdates
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllUpdates
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdates
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeUpdates
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdatesBuilder
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdatesOrBuilder
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdatesOrBuilderin interfaceEventOrBuilder
-
getUpdatesOrBuilderList
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdatesOrBuilderListin interfaceEventOrBuilder
-
addUpdatesBuilder
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addUpdatesBuilder
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdatesBuilderList
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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];- Specified by:
getParentEventin interfaceEventOrBuilder- Returns:
- The parentEvent.
-
getParentEventBytes
public com.google.protobuf.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];- Specified by:
getParentEventBytesin interfaceEventOrBuilder- Returns:
- The bytes for parentEvent.
-
setParentEvent
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];- Parameters:
value- The parentEvent to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setParentEventBytes
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];- Parameters:
value- The bytes for parentEvent to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasUpdateTimein interfaceEventOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The time when the event was last modified.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceEventOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The time when the event was last modified.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The time when the event was last modified.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The time when the event was last modified.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The time when the event was last modified.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.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]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time when the event was last modified.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceEventOrBuilder
-
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];- Specified by:
hasStartTimein interfaceEventOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Output only. The start time of the event, if applicable.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimein interfaceEventOrBuilder- Returns:
- The startTime.
-
setStartTime
Output only. The start time of the event, if applicable.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStartTime
Output only. The start time of the event, if applicable.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeStartTime
Output only. The start time of the event, if applicable.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStartTime
Output only. The start time of the event, if applicable.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStartTimeBuilder
public com.google.protobuf.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]; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Output only. The start time of the event, if applicable.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimeOrBuilderin interfaceEventOrBuilder
-
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];- Specified by:
hasEndTimein interfaceEventOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()Output only. The end time of the event, if applicable.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimein interfaceEventOrBuilder- Returns:
- The endTime.
-
setEndTime
Output only. The end time of the event, if applicable.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setEndTime
Output only. The end time of the event, if applicable.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeEndTime
Output only. The end time of the event, if applicable.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearEndTime
Output only. The end time of the event, if applicable.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEndTimeBuilder
public com.google.protobuf.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]; -
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Output only. The end time of the event, if applicable.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimeOrBuilderin interfaceEventOrBuilder
-
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];- Specified by:
hasNextUpdateTimein interfaceEventOrBuilder- Returns:
- Whether the nextUpdateTime field is set.
-
getNextUpdateTime
public com.google.protobuf.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];- Specified by:
getNextUpdateTimein interfaceEventOrBuilder- Returns:
- The nextUpdateTime.
-
setNextUpdateTime
Output only. The time when the next update can be expected.
.google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setNextUpdateTime
Output only. The time when the next update can be expected.
.google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeNextUpdateTime
Output only. The time when the next update can be expected.
.google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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]; -
getNextUpdateTimeBuilder
public com.google.protobuf.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]; -
getNextUpdateTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getNextUpdateTimeOrBuilderin interfaceEventOrBuilder
-