Package com.google.cloud.compute.v1
Class InterconnectOutageNotification
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.InterconnectOutageNotification
- All Implemented Interfaces:
InterconnectOutageNotificationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class InterconnectOutageNotification
extends com.google.protobuf.GeneratedMessage
implements InterconnectOutageNotificationOrBuilder
Description of a planned outage on this Interconnect.Protobuf type
google.cloud.compute.v1.InterconnectOutageNotification- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDescription of a planned outage on this Interconnect.static enumForm 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 windowstatic enumThe party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.static enumState of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAffectedCircuits(int index) If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.com.google.protobuf.ByteStringgetAffectedCircuitsBytes(int index) If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.intIf issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.com.google.protobuf.ProtocolStringListIf issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.A description about the purpose of the outage.com.google.protobuf.ByteStringA description about the purpose of the outage.static final com.google.protobuf.Descriptors.DescriptorlongScheduled end time for the outage (milliseconds since Unix epoch).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 windowcom.google.protobuf.ByteStringForm 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 windowgetName()Unique identifier for this outage notification.com.google.protobuf.ByteStringUnique identifier for this outage notification.com.google.protobuf.Parser<InterconnectOutageNotification>intThe party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.com.google.protobuf.ByteStringThe party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.longScheduled start time for the outage (milliseconds since Unix epoch).getState()State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.com.google.protobuf.ByteStringState of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.booleanA description about the purpose of the outage.booleanScheduled end time for the outage (milliseconds since Unix epoch).inthashCode()booleanForm 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 windowbooleanhasName()Unique identifier for this outage notification.booleanThe party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.booleanScheduled start time for the outage (milliseconds since Unix epoch).booleanhasState()State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(InterconnectOutageNotification prototype) protected InterconnectOutageNotification.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<InterconnectOutageNotification>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
AFFECTED_CIRCUITS_FIELD_NUMBER
public static final int AFFECTED_CIRCUITS_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER- See Also:
-
ISSUE_TYPE_FIELD_NUMBER
public static final int ISSUE_TYPE_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getAffectedCircuitsList
public com.google.protobuf.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;- Specified by:
getAffectedCircuitsListin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- A list containing the affectedCircuits.
-
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;- Specified by:
getAffectedCircuitsCountin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The count of affectedCircuits.
-
getAffectedCircuits
If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
repeated string affected_circuits = 177717013;- Specified by:
getAffectedCircuitsin interfaceInterconnectOutageNotificationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The affectedCircuits at the given index.
-
getAffectedCircuitsBytes
public 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;- Specified by:
getAffectedCircuitsBytesin interfaceInterconnectOutageNotificationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the affectedCircuits at the given index.
-
hasDescription
public boolean hasDescription()A description about the purpose of the outage.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
A description about the purpose of the outage.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A description about the purpose of the outage.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The bytes for description.
-
hasEndTime
public boolean hasEndTime()Scheduled end time for the outage (milliseconds since Unix epoch).
optional int64 end_time = 114938801;- Specified by:
hasEndTimein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public long getEndTime()Scheduled end time for the outage (milliseconds since Unix epoch).
optional int64 end_time = 114938801;- Specified by:
getEndTimein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The endTime.
-
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;- Specified by:
hasIssueTypein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- Whether the issueType field is set.
-
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;- Specified by:
getIssueTypein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The issueType.
-
getIssueTypeBytes
public 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;- Specified by:
getIssueTypeBytesin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The bytes for issueType.
-
hasName
public boolean hasName()Unique identifier for this outage notification.
optional string name = 3373707;- Specified by:
hasNamein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- Whether the name field is set.
-
getName
Unique identifier for this outage notification.
optional string name = 3373707;- Specified by:
getNamein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Unique identifier for this outage notification.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The bytes for name.
-
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;- Specified by:
hasSourcein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- Whether the source field is set.
-
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;- Specified by:
getSourcein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The source.
-
getSourceBytes
public 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;- Specified by:
getSourceBytesin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The bytes for source.
-
hasStartTime
public boolean hasStartTime()Scheduled start time for the outage (milliseconds since Unix epoch).
optional int64 start_time = 37467274;- Specified by:
hasStartTimein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public long getStartTime()Scheduled start time for the outage (milliseconds since Unix epoch).
optional int64 start_time = 37467274;- Specified by:
getStartTimein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The startTime.
-
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;- Specified by:
hasStatein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- Whether the state field is set.
-
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;- Specified by:
getStatein interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The state.
-
getStateBytes
public 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;- Specified by:
getStateBytesin interfaceInterconnectOutageNotificationOrBuilder- Returns:
- The bytes for state.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static InterconnectOutageNotification parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InterconnectOutageNotification parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InterconnectOutageNotification parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InterconnectOutageNotification parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InterconnectOutageNotification parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InterconnectOutageNotification parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static InterconnectOutageNotification parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static InterconnectOutageNotification parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static InterconnectOutageNotification parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static InterconnectOutageNotification parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static InterconnectOutageNotification parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static InterconnectOutageNotification.Builder newBuilder(InterconnectOutageNotification prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InterconnectOutageNotification.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-