Class InterconnectOutageNotification (1.12.1)

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
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

ISSUE_TYPE_FIELD_NUMBER

public static final int ISSUE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_FIELD_NUMBER

public static final int SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InterconnectOutageNotification getDefaultInstance()
Returns
TypeDescription
InterconnectOutageNotification

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static InterconnectOutageNotification.Builder newBuilder()
Returns
TypeDescription
InterconnectOutageNotification.Builder

newBuilder(InterconnectOutageNotification prototype)

public static InterconnectOutageNotification.Builder newBuilder(InterconnectOutageNotification prototype)
Parameter
NameDescription
prototypeInterconnectOutageNotification
Returns
TypeDescription
InterconnectOutageNotification.Builder

parseDelimitedFrom(InputStream input)

public static InterconnectOutageNotification parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InterconnectOutageNotification
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectOutageNotification parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectOutageNotification
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InterconnectOutageNotification parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InterconnectOutageNotification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InterconnectOutageNotification parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectOutageNotification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InterconnectOutageNotification parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InterconnectOutageNotification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InterconnectOutageNotification parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectOutageNotification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InterconnectOutageNotification parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InterconnectOutageNotification
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectOutageNotification parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectOutageNotification
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InterconnectOutageNotification parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InterconnectOutageNotification
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectOutageNotification parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectOutageNotification
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InterconnectOutageNotification parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InterconnectOutageNotification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InterconnectOutageNotification parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectOutageNotification
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<InterconnectOutageNotification> parser()
Returns
TypeDescription
Parser<InterconnectOutageNotification>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the affectedCircuits.

getDefaultInstanceForType()

public InterconnectOutageNotification getDefaultInstanceForType()
Returns
TypeDescription
InterconnectOutageNotification

getDescription()

public String getDescription()

A description about the purpose of the outage.

optional string description = 422937596;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A description about the purpose of the outage.

optional string description = 422937596;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for issueType.

getName()

public String getName()

Unique identifier for this outage notification.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Unique identifier for this outage notification.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<InterconnectOutageNotification> getParserForType()
Returns
TypeDescription
Parser<InterconnectOutageNotification>
Overrides

getSerializedSize()

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

The bytes for state.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasDescription()

public boolean hasDescription()

A description about the purpose of the outage.

optional string description = 422937596;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the issueType field is set.

hasName()

public boolean hasName()

Unique identifier for this outage notification.

optional string name = 3373707;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the state field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InterconnectOutageNotification.Builder newBuilderForType()
Returns
TypeDescription
InterconnectOutageNotification.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InterconnectOutageNotification.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InterconnectOutageNotification.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InterconnectOutageNotification.Builder toBuilder()
Returns
TypeDescription
InterconnectOutageNotification.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException