public final class InterconnectOutageNotification extends GeneratedMessageV3 implements InterconnectOutageNotificationOrBuilder
Description of a planned outage on this Interconnect.
Protobuf type google.cloud.compute.v1.InterconnectOutageNotification
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static InterconnectOutageNotification.Builder newBuilder()
newBuilder(InterconnectOutageNotification prototype)
public static InterconnectOutageNotification.Builder newBuilder(InterconnectOutageNotification prototype)
public static InterconnectOutageNotification parseDelimitedFrom(InputStream input)
public static InterconnectOutageNotification parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static InterconnectOutageNotification parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InterconnectOutageNotification parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static InterconnectOutageNotification parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InterconnectOutageNotification parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InterconnectOutageNotification parseFrom(CodedInputStream input)
public static InterconnectOutageNotification parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InterconnectOutageNotification parseFrom(InputStream input)
public static InterconnectOutageNotification parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static InterconnectOutageNotification parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InterconnectOutageNotification parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<InterconnectOutageNotification> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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;
getDefaultInstanceForType()
public InterconnectOutageNotification getDefaultInstanceForType()
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 |
---|
Type | Description |
ByteString | The bytes for issueType.
|
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()
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()
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public InterconnectOutageNotification.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InterconnectOutageNotification.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public InterconnectOutageNotification.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides