public final class InterconnectOutageNotification extends GeneratedMessageV3 implements InterconnectOutageNotificationOrBuilder
Description of a planned outage on this Interconnect.
Protobuf type google.cloud.compute.v1.InterconnectOutageNotification
Static Fields
AFFECTED_CIRCUITS_FIELD_NUMBER
public static final int AFFECTED_CIRCUITS_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value
ISSUE_TYPE_FIELD_NUMBER
public static final int ISSUE_TYPE_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static InterconnectOutageNotification getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static InterconnectOutageNotification.Builder newBuilder()
Returns
newBuilder(InterconnectOutageNotification prototype)
public static InterconnectOutageNotification.Builder newBuilder(InterconnectOutageNotification prototype)
Parameter
Returns
public static InterconnectOutageNotification parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InterconnectOutageNotification parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static InterconnectOutageNotification parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InterconnectOutageNotification parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static InterconnectOutageNotification parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InterconnectOutageNotification parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InterconnectOutageNotification parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InterconnectOutageNotification parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InterconnectOutageNotification parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InterconnectOutageNotification parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static InterconnectOutageNotification parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InterconnectOutageNotification parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<InterconnectOutageNotification> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAffectedCircuits(int index)
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;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The affectedCircuits at the given index.
|
getAffectedCircuitsBytes(int index)
public 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;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the affectedCircuits at the given index.
|
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;
Returns
Type | Description |
int | The count of affectedCircuits.
|
getAffectedCircuitsList()
public 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;
Returns
getDefaultInstanceForType()
public InterconnectOutageNotification getDefaultInstanceForType()
Returns
getDescription()
public String getDescription()
A description about the purpose of the outage.
optional string description = 422937596;
Returns
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
A description about the purpose of the outage.
optional string description = 422937596;
Returns
Type | Description |
ByteString | The bytes for description.
|
getEndTime()
Scheduled end time for the outage (milliseconds since Unix epoch).
optional int64 end_time = 114938801;
Returns
Type | Description |
long | The endTime.
|
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;
Returns
Type | Description |
String | The issueType.
|
getIssueTypeBytes()
public 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
getName()
Unique identifier for this outage notification.
optional string name = 3373707;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Unique identifier for this outage notification.
optional string name = 3373707;
Returns
getParserForType()
public Parser<InterconnectOutageNotification> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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;
Returns
Type | Description |
String | The source.
|
getSourceBytes()
public 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
getStartTime()
public long getStartTime()
Scheduled start time for the outage (milliseconds since Unix epoch).
optional int64 start_time = 37467274;
Returns
Type | Description |
long | The startTime.
|
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
Type | Description |
String | The state.
|
getStateBytes()
public 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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasDescription()
public boolean hasDescription()
A description about the purpose of the outage.
optional string description = 422937596;
Returns
Type | Description |
boolean | Whether the description field is set.
|
hasEndTime()
public boolean hasEndTime()
Scheduled end time for the outage (milliseconds since Unix epoch).
optional int64 end_time = 114938801;
Returns
Type | Description |
boolean | Whether the endTime field is set.
|
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;
Returns
Type | Description |
boolean | Whether the issueType field is set.
|
hasName()
Unique identifier for this outage notification.
optional string name = 3373707;
Returns
Type | Description |
boolean | Whether the name field is set.
|
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;
Returns
Type | Description |
boolean | Whether the source field is set.
|
hasStartTime()
public boolean hasStartTime()
Scheduled start time for the outage (milliseconds since Unix epoch).
optional int64 start_time = 37467274;
Returns
Type | Description |
boolean | Whether the startTime field is set.
|
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;
Returns
Type | Description |
boolean | Whether the state field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public InterconnectOutageNotification.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InterconnectOutageNotification.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public InterconnectOutageNotification.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions