Package com.google.cloud.compute.v1
Interface InterconnectOutageNotificationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InterconnectOutageNotification
,InterconnectOutageNotification.Builder
public interface InterconnectOutageNotificationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
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.ByteString
getAffectedCircuitsBytes(int index)
If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.int
getAffectedCircuitsCount()
If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.List<String>
getAffectedCircuitsList()
If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.String
getDescription()
A description about the purpose of the outage.com.google.protobuf.ByteString
getDescriptionBytes()
A description about the purpose of the outage.long
getEndTime()
Scheduled end time for the outage (milliseconds since Unix epoch).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.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.String
getName()
Unique identifier for this outage notification.com.google.protobuf.ByteString
getNameBytes()
Unique identifier for this outage notification.String
getSource()
The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.com.google.protobuf.ByteString
getSourceBytes()
The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.long
getStartTime()
Scheduled start time for the outage (milliseconds since Unix epoch).String
getState()
State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.com.google.protobuf.ByteString
getStateBytes()
State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.boolean
hasDescription()
A description about the purpose of the outage.boolean
hasEndTime()
Scheduled end time for the outage (milliseconds since Unix epoch).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.boolean
hasName()
Unique identifier for this outage notification.boolean
hasSource()
The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.boolean
hasStartTime()
Scheduled start time for the outage (milliseconds since Unix epoch).boolean
hasState()
State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAffectedCircuitsList
List<String> 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;
- Returns:
- A list containing the affectedCircuits.
-
getAffectedCircuitsCount
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;
- Returns:
- The count of affectedCircuits.
-
getAffectedCircuits
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The affectedCircuits at the given index.
-
getAffectedCircuitsBytes
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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the affectedCircuits at the given index.
-
hasDescription
boolean hasDescription()
A description about the purpose of the outage.
optional string description = 422937596;
- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()
A description about the purpose of the outage.
optional string description = 422937596;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
A description about the purpose of the outage.
optional string description = 422937596;
- Returns:
- The bytes for description.
-
hasEndTime
boolean hasEndTime()
Scheduled end time for the outage (milliseconds since Unix epoch).
optional int64 end_time = 114938801;
- Returns:
- Whether the endTime field is set.
-
getEndTime
long getEndTime()
Scheduled end time for the outage (milliseconds since Unix epoch).
optional int64 end_time = 114938801;
- Returns:
- The endTime.
-
hasIssueType
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;
- Returns:
- Whether the issueType field is set.
-
getIssueType
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;
- Returns:
- The issueType.
-
getIssueTypeBytes
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;
- Returns:
- The bytes for issueType.
-
hasName
boolean hasName()
Unique identifier for this outage notification.
optional string name = 3373707;
- Returns:
- Whether the name field is set.
-
getName
String getName()
Unique identifier for this outage notification.
optional string name = 3373707;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Unique identifier for this outage notification.
optional string name = 3373707;
- Returns:
- The bytes for name.
-
hasSource
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;
- Returns:
- Whether the source field is set.
-
getSource
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;
- Returns:
- The source.
-
getSourceBytes
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;
- Returns:
- The bytes for source.
-
hasStartTime
boolean hasStartTime()
Scheduled start time for the outage (milliseconds since Unix epoch).
optional int64 start_time = 37467274;
- Returns:
- Whether the startTime field is set.
-
getStartTime
long getStartTime()
Scheduled start time for the outage (milliseconds since Unix epoch).
optional int64 start_time = 37467274;
- Returns:
- The startTime.
-
hasState
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;
- Returns:
- Whether the state field is set.
-
getState
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;
- Returns:
- The state.
-
getStateBytes
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;
- Returns:
- The bytes for state.
-
-