Class InterconnectOutageNotification (1.59.0)

public final class InterconnectOutageNotification extends GeneratedMessageV3 implements InterconnectOutageNotificationOrBuilder

Description of a planned outage on this Interconnect.

Protobuf type google.cloud.compute.v1.InterconnectOutageNotification

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InterconnectOutageNotification

Static Fields

AFFECTED_CIRCUITS_FIELD_NUMBER

public static final int AFFECTED_CIRCUITS_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

ISSUE_TYPE_FIELD_NUMBER

public static final int ISSUE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_FIELD_NUMBER

public static final int SOURCE_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InterconnectOutageNotification getDefaultInstance()
Returns
Type Description
InterconnectOutageNotification

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static InterconnectOutageNotification.Builder newBuilder()
Returns
Type Description
InterconnectOutageNotification.Builder

newBuilder(InterconnectOutageNotification prototype)

public static InterconnectOutageNotification.Builder newBuilder(InterconnectOutageNotification prototype)
Parameter
Name Description
prototype InterconnectOutageNotification
Returns
Type Description
InterconnectOutageNotification.Builder

parseDelimitedFrom(InputStream input)

public static InterconnectOutageNotification parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InterconnectOutageNotification
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectOutageNotification parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectOutageNotification
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InterconnectOutageNotification parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InterconnectOutageNotification
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InterconnectOutageNotification parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectOutageNotification
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InterconnectOutageNotification parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InterconnectOutageNotification
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InterconnectOutageNotification parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectOutageNotification
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InterconnectOutageNotification parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InterconnectOutageNotification
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectOutageNotification parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectOutageNotification
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InterconnectOutageNotification parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InterconnectOutageNotification
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectOutageNotification parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectOutageNotification
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InterconnectOutageNotification parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InterconnectOutageNotification
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InterconnectOutageNotification parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectOutageNotification
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InterconnectOutageNotification> parser()
Returns
Type Description
Parser<InterconnectOutageNotification>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
ProtocolStringList

A list containing the affectedCircuits.

getDefaultInstanceForType()

public InterconnectOutageNotification getDefaultInstanceForType()
Returns
Type Description
InterconnectOutageNotification

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()

public long 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
Type Description
ByteString

The bytes for issueType.

getName()

public String 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
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<InterconnectOutageNotification> getParserForType()
Returns
Type Description
Parser<InterconnectOutageNotification>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Type Description
ByteString

The bytes for source.

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()

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;

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
Type Description
ByteString

The bytes for state.

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()

public boolean 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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InterconnectOutageNotification.Builder newBuilderForType()
Returns
Type Description
InterconnectOutageNotification.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InterconnectOutageNotification.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InterconnectOutageNotification.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InterconnectOutageNotification.Builder toBuilder()
Returns
Type Description
InterconnectOutageNotification.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException