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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<InterconnectOutageNotification.Builder> implements InterconnectOutageNotificationOrBuilder
Description of a planned outage on this Interconnect.
Protobuf typegoogle.cloud.compute.v1.InterconnectOutageNotification
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InterconnectOutageNotification.BuilderaddAffectedCircuits(String value)If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.InterconnectOutageNotification.BuilderaddAffectedCircuitsBytes(com.google.protobuf.ByteString value)If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.InterconnectOutageNotification.BuilderaddAllAffectedCircuits(Iterable<String> values)If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.InterconnectOutageNotification.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InterconnectOutageNotificationbuild()InterconnectOutageNotificationbuildPartial()InterconnectOutageNotification.Builderclear()InterconnectOutageNotification.BuilderclearAffectedCircuits()If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.InterconnectOutageNotification.BuilderclearDescription()A description about the purpose of the outage.InterconnectOutageNotification.BuilderclearEndTime()Scheduled end time for the outage (milliseconds since Unix epoch).InterconnectOutageNotification.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)InterconnectOutageNotification.BuilderclearIssueType()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.InterconnectOutageNotification.BuilderclearName()Unique identifier for this outage notification.InterconnectOutageNotification.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)InterconnectOutageNotification.BuilderclearSource()The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.InterconnectOutageNotification.BuilderclearStartTime()Scheduled start time for the outage (milliseconds since Unix epoch).InterconnectOutageNotification.BuilderclearState()State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.InterconnectOutageNotification.Builderclone()StringgetAffectedCircuits(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.intgetAffectedCircuitsCount()If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.com.google.protobuf.ProtocolStringListgetAffectedCircuitsList()If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.InterconnectOutageNotificationgetDefaultInstanceForType()StringgetDescription()A description about the purpose of the outage.com.google.protobuf.ByteStringgetDescriptionBytes()A description about the purpose of the outage.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetEndTime()Scheduled end time for the outage (milliseconds since Unix epoch).StringgetIssueType()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.com.google.protobuf.ByteStringgetIssueTypeBytes()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.StringgetName()Unique identifier for this outage notification.com.google.protobuf.ByteStringgetNameBytes()Unique identifier for this outage notification.StringgetSource()The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.com.google.protobuf.ByteStringgetSourceBytes()The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.longgetStartTime()Scheduled start time for the outage (milliseconds since Unix epoch).StringgetState()State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.com.google.protobuf.ByteStringgetStateBytes()State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.booleanhasDescription()A description about the purpose of the outage.booleanhasEndTime()Scheduled end time for the outage (milliseconds since Unix epoch).booleanhasIssueType()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.booleanhasName()Unique identifier for this outage notification.booleanhasSource()The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.booleanhasStartTime()Scheduled 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.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()InterconnectOutageNotification.BuildermergeFrom(InterconnectOutageNotification other)InterconnectOutageNotification.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)InterconnectOutageNotification.BuildermergeFrom(com.google.protobuf.Message other)InterconnectOutageNotification.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)InterconnectOutageNotification.BuildersetAffectedCircuits(int index, String value)If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.InterconnectOutageNotification.BuildersetDescription(String value)A description about the purpose of the outage.InterconnectOutageNotification.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)A description about the purpose of the outage.InterconnectOutageNotification.BuildersetEndTime(long value)Scheduled end time for the outage (milliseconds since Unix epoch).InterconnectOutageNotification.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InterconnectOutageNotification.BuildersetIssueType(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 window.InterconnectOutageNotification.BuildersetIssueTypeBytes(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.InterconnectOutageNotification.BuildersetName(String value)Unique identifier for this outage notification.InterconnectOutageNotification.BuildersetNameBytes(com.google.protobuf.ByteString value)Unique identifier for this outage notification.InterconnectOutageNotification.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)InterconnectOutageNotification.BuildersetSource(String value)The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.InterconnectOutageNotification.BuildersetSourceBytes(com.google.protobuf.ByteString value)The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.InterconnectOutageNotification.BuildersetStartTime(long value)Scheduled start time for the outage (milliseconds since Unix epoch).InterconnectOutageNotification.BuildersetState(String value)State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.InterconnectOutageNotification.BuildersetStateBytes(com.google.protobuf.ByteString value)State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.InterconnectOutageNotification.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectOutageNotification.Builder>
-
clear
public InterconnectOutageNotification.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<InterconnectOutageNotification.Builder>
-
getDefaultInstanceForType
public InterconnectOutageNotification getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public InterconnectOutageNotification build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InterconnectOutageNotification buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InterconnectOutageNotification.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectOutageNotification.Builder>
-
setField
public InterconnectOutageNotification.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectOutageNotification.Builder>
-
clearField
public InterconnectOutageNotification.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectOutageNotification.Builder>
-
clearOneof
public InterconnectOutageNotification.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectOutageNotification.Builder>
-
setRepeatedField
public InterconnectOutageNotification.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectOutageNotification.Builder>
-
addRepeatedField
public InterconnectOutageNotification.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectOutageNotification.Builder>
-
mergeFrom
public InterconnectOutageNotification.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InterconnectOutageNotification.Builder>
-
mergeFrom
public InterconnectOutageNotification.Builder mergeFrom(InterconnectOutageNotification other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String getAffectedCircuits(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:
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
public InterconnectOutageNotification.Builder setAffectedCircuits(int index, String 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:
index- The index to set the value at.value- The affectedCircuits to set.- Returns:
- This builder for chaining.
-
addAffectedCircuits
public InterconnectOutageNotification.Builder addAffectedCircuits(String 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 affectedCircuits to add.- Returns:
- This builder for chaining.
-
addAllAffectedCircuits
public InterconnectOutageNotification.Builder addAllAffectedCircuits(Iterable<String> values)
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
public InterconnectOutageNotification.Builder 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
public String 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
public InterconnectOutageNotification.Builder setDescription(String value)
A description about the purpose of the outage.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public InterconnectOutageNotification.Builder 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
public InterconnectOutageNotification.Builder setEndTime(long value)
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
public InterconnectOutageNotification.Builder 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
public String 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
public InterconnectOutageNotification.Builder 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 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
public InterconnectOutageNotification.Builder 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
public String 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
public InterconnectOutageNotification.Builder setName(String value)
Unique identifier for this outage notification.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public InterconnectOutageNotification.Builder clearName()
Unique identifier for this outage notification.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
public InterconnectOutageNotification.Builder setNameBytes(com.google.protobuf.ByteString value)
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
public String 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
public InterconnectOutageNotification.Builder setSource(String value)
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
public InterconnectOutageNotification.Builder 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
public InterconnectOutageNotification.Builder 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. 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
public InterconnectOutageNotification.Builder setStartTime(long value)
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
public InterconnectOutageNotification.Builder 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
public String 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
public InterconnectOutageNotification.Builder setState(String value)
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
public InterconnectOutageNotification.Builder 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
public InterconnectOutageNotification.Builder setStateBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final InterconnectOutageNotification.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectOutageNotification.Builder>
-
mergeUnknownFields
public final InterconnectOutageNotification.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectOutageNotification.Builder>
-
-