Package com.google.cloud.compute.v1
Class InterconnectOutageNotification.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InterconnectOutageNotification.Builder>
com.google.cloud.compute.v1.InterconnectOutageNotification.Builder
- All Implemented Interfaces:
InterconnectOutageNotificationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InterconnectOutageNotification
public static final class InterconnectOutageNotification.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InterconnectOutageNotification.Builder>
implements InterconnectOutageNotificationOrBuilder
Description of a planned outage on this Interconnect.Protobuf type
google.cloud.compute.v1.InterconnectOutageNotification-
Method Summary
Modifier and TypeMethodDescriptionaddAffectedCircuits(String value) If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.addAffectedCircuitsBytes(com.google.protobuf.ByteString value) If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.addAllAffectedCircuits(Iterable<String> values) If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.build()clear()If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.A description about the purpose of the outage.Scheduled end time for the outage (milliseconds since Unix epoch).Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified windowUnique identifier for this outage notification.The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.Scheduled start time for the outage (milliseconds since Unix epoch).State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.getAffectedCircuits(int index) If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.com.google.protobuf.ByteStringgetAffectedCircuitsBytes(int index) If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.intIf issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.com.google.protobuf.ProtocolStringListIf issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.A description about the purpose of the outage.com.google.protobuf.ByteStringA description about the purpose of the outage.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongScheduled end time for the outage (milliseconds since Unix epoch).Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified windowcom.google.protobuf.ByteStringForm this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified windowgetName()Unique identifier for this outage notification.com.google.protobuf.ByteStringUnique identifier for this outage notification.The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.com.google.protobuf.ByteStringThe party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.longScheduled start time for the outage (milliseconds since Unix epoch).getState()State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.com.google.protobuf.ByteStringState of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.booleanA description about the purpose of the outage.booleanScheduled end time for the outage (milliseconds since Unix epoch).booleanForm this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified windowbooleanhasName()Unique identifier for this outage notification.booleanThe party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.booleanScheduled start time for the outage (milliseconds since Unix epoch).booleanhasState()State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAffectedCircuits(int index, String value) If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.setDescription(String value) A description about the purpose of the outage.setDescriptionBytes(com.google.protobuf.ByteString value) A description about the purpose of the outage.setEndTime(long value) Scheduled end time for the outage (milliseconds since Unix epoch).setIssueType(String value) Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified windowsetIssueTypeBytes(com.google.protobuf.ByteString value) Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified windowUnique identifier for this outage notification.setNameBytes(com.google.protobuf.ByteString value) Unique identifier for this outage notification.The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.setSourceBytes(com.google.protobuf.ByteString value) The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.setStartTime(long value) Scheduled start time for the outage (milliseconds since Unix epoch).State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.setStateBytes(com.google.protobuf.ByteString value) State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.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<InterconnectOutageNotification.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<InterconnectOutageNotification.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<InterconnectOutageNotification.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<InterconnectOutageNotification.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InterconnectOutageNotification.Builder>
-
mergeFrom
public InterconnectOutageNotification.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<InterconnectOutageNotification.Builder>- Throws:
IOException
-
getAffectedCircuitsList
public com.google.protobuf.ProtocolStringList getAffectedCircuitsList()If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
repeated string affected_circuits = 177717013;- Specified by:
getAffectedCircuitsListin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- A list containing the affectedCircuits.
-
getAffectedCircuitsCount
public int getAffectedCircuitsCount()If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
repeated string affected_circuits = 177717013;- Specified by:
getAffectedCircuitsCountin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The count of affectedCircuits.
-
getAffectedCircuits
If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
repeated string affected_circuits = 177717013;- Specified by:
getAffectedCircuitsin interfaceInterconnectOutageNotificationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The affectedCircuits at the given index.
-
getAffectedCircuitsBytes
public com.google.protobuf.ByteString getAffectedCircuitsBytes(int index) If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
repeated string affected_circuits = 177717013;- Specified by:
getAffectedCircuitsBytesin interfaceInterconnectOutageNotificationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the affectedCircuits at the given index.
-
setAffectedCircuits
If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
repeated string affected_circuits = 177717013;- Parameters:
index- The index to set the value at.value- The affectedCircuits to set.- Returns:
- This builder for chaining.
-
addAffectedCircuits
If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
repeated string affected_circuits = 177717013;- Parameters:
value- The affectedCircuits to add.- Returns:
- This builder for chaining.
-
addAllAffectedCircuits
If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
repeated string affected_circuits = 177717013;- Parameters:
values- The affectedCircuits to add.- Returns:
- This builder for chaining.
-
clearAffectedCircuits
If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
repeated string affected_circuits = 177717013;- Returns:
- This builder for chaining.
-
addAffectedCircuitsBytes
public InterconnectOutageNotification.Builder addAffectedCircuitsBytes(com.google.protobuf.ByteString value) If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
repeated string affected_circuits = 177717013;- Parameters:
value- The bytes of the affectedCircuits to add.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()A description about the purpose of the outage.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
A description about the purpose of the outage.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A description about the purpose of the outage.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The bytes for description.
-
setDescription
A description about the purpose of the outage.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
A description about the purpose of the outage.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public InterconnectOutageNotification.Builder setDescriptionBytes(com.google.protobuf.ByteString value) A description about the purpose of the outage.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasEndTime
public boolean hasEndTime()Scheduled end time for the outage (milliseconds since Unix epoch).
optional int64 end_time = 114938801;- Specified by:
hasEndTimein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public long getEndTime()Scheduled end time for the outage (milliseconds since Unix epoch).
optional int64 end_time = 114938801;- Specified by:
getEndTimein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The endTime.
-
setEndTime
Scheduled end time for the outage (milliseconds since Unix epoch).
optional int64 end_time = 114938801;- Parameters:
value- The endTime to set.- Returns:
- This builder for chaining.
-
clearEndTime
Scheduled end time for the outage (milliseconds since Unix epoch).
optional int64 end_time = 114938801;- Returns:
- This builder for chaining.
-
hasIssueType
public boolean hasIssueType()Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with "IT_" have been deprecated in favor of the unprefixed values. Check the IssueType enum for the list of possible values.
optional string issue_type = 369639136;- Specified by:
hasIssueTypein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- Whether the issueType field is set.
-
getIssueType
Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with "IT_" have been deprecated in favor of the unprefixed values. Check the IssueType enum for the list of possible values.
optional string issue_type = 369639136;- Specified by:
getIssueTypein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The issueType.
-
getIssueTypeBytes
public com.google.protobuf.ByteString getIssueTypeBytes()Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with "IT_" have been deprecated in favor of the unprefixed values. Check the IssueType enum for the list of possible values.
optional string issue_type = 369639136;- Specified by:
getIssueTypeBytesin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The bytes for issueType.
-
setIssueType
Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with "IT_" have been deprecated in favor of the unprefixed values. Check the IssueType enum for the list of possible values.
optional string issue_type = 369639136;- Parameters:
value- The issueType to set.- Returns:
- This builder for chaining.
-
clearIssueType
Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with "IT_" have been deprecated in favor of the unprefixed values. Check the IssueType enum for the list of possible values.
optional string issue_type = 369639136;- Returns:
- This builder for chaining.
-
setIssueTypeBytes
public InterconnectOutageNotification.Builder setIssueTypeBytes(com.google.protobuf.ByteString value) Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with "IT_" have been deprecated in favor of the unprefixed values. Check the IssueType enum for the list of possible values.
optional string issue_type = 369639136;- Parameters:
value- The bytes for issueType to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()Unique identifier for this outage notification.
optional string name = 3373707;- Specified by:
hasNamein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- Whether the name field is set.
-
getName
Unique identifier for this outage notification.
optional string name = 3373707;- Specified by:
getNamein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Unique identifier for this outage notification.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The bytes for name.
-
setName
Unique identifier for this outage notification.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Unique identifier for this outage notification.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
Unique identifier for this outage notification.
optional string name = 3373707;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasSource
public boolean hasSource()The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE. Check the Source enum for the list of possible values.
optional string source = 177235995;- Specified by:
hasSourcein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- Whether the source field is set.
-
getSource
The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE. Check the Source enum for the list of possible values.
optional string source = 177235995;- Specified by:
getSourcein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE. Check the Source enum for the list of possible values.
optional string source = 177235995;- Specified by:
getSourceBytesin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The bytes for source.
-
setSource
The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE. Check the Source enum for the list of possible values.
optional string source = 177235995;- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE. Check the Source enum for the list of possible values.
optional string source = 177235995;- Returns:
- This builder for chaining.
-
setSourceBytes
The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE. Check the Source enum for the list of possible values.
optional string source = 177235995;- Parameters:
value- The bytes for source to set.- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()Scheduled start time for the outage (milliseconds since Unix epoch).
optional int64 start_time = 37467274;- Specified by:
hasStartTimein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public long getStartTime()Scheduled start time for the outage (milliseconds since Unix epoch).
optional int64 start_time = 37467274;- Specified by:
getStartTimein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The startTime.
-
setStartTime
Scheduled start time for the outage (milliseconds since Unix epoch).
optional int64 start_time = 37467274;- Parameters:
value- The startTime to set.- Returns:
- This builder for chaining.
-
clearStartTime
Scheduled start time for the outage (milliseconds since Unix epoch).
optional int64 start_time = 37467274;- Returns:
- This builder for chaining.
-
hasState
public boolean hasState()State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with "NS_" have been deprecated in favor of the unprefixed values. Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
hasStatein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- Whether the state field is set.
-
getState
State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with "NS_" have been deprecated in favor of the unprefixed values. Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
getStatein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.ByteString getStateBytes()State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with "NS_" have been deprecated in favor of the unprefixed values. Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
getStateBytesin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The bytes for state.
-
setState
State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with "NS_" have been deprecated in favor of the unprefixed values. Check the State enum for the list of possible values.
optional string state = 109757585;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with "NS_" have been deprecated in favor of the unprefixed values. Check the State enum for the list of possible values.
optional string state = 109757585;- Returns:
- This builder for chaining.
-
setStateBytes
State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with "NS_" have been deprecated in favor of the unprefixed values. Check the State enum for the list of possible values.
optional string state = 109757585;- Parameters:
value- The bytes for state to set.- Returns:
- This builder for chaining.
-