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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    Description of a planned outage on this Interconnect.
    static enum 
    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
    static enum 
    The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.
    static enum 
    State 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
    com.google.protobuf.ByteString
    If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
    int
    If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
    com.google.protobuf.ProtocolStringList
    If 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.ByteString
    A description about the purpose of the outage.
    static final com.google.protobuf.Descriptors.Descriptor
     
    long
    Scheduled 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 window
    com.google.protobuf.ByteString
    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
    Unique identifier for this outage notification.
    com.google.protobuf.ByteString
    Unique identifier for this outage notification.
    com.google.protobuf.Parser<InterconnectOutageNotification>
     
    int
     
    The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.
    com.google.protobuf.ByteString
    The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.
    long
    Scheduled start time for the outage (milliseconds since Unix epoch).
    State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.
    com.google.protobuf.ByteString
    State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.
    boolean
    A description about the purpose of the outage.
    boolean
    Scheduled end time for the outage (milliseconds since Unix epoch).
    int
     
    boolean
    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
    boolean
    Unique identifier for this outage notification.
    boolean
    The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google.
    boolean
    Scheduled start time for the outage (milliseconds since Unix epoch).
    boolean
    State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    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, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<InterconnectOutageNotification>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.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:
      getAffectedCircuitsList in interface InterconnectOutageNotificationOrBuilder
      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:
      getAffectedCircuitsCount in interface InterconnectOutageNotificationOrBuilder
      Returns:
      The count of affectedCircuits.
    • getAffectedCircuits

      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;
      Specified by:
      getAffectedCircuits in interface InterconnectOutageNotificationOrBuilder
      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:
      getAffectedCircuitsBytes in interface InterconnectOutageNotificationOrBuilder
      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:
      hasDescription in interface InterconnectOutageNotificationOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       A description about the purpose of the outage.
       
      optional string description = 422937596;
      Specified by:
      getDescription in interface InterconnectOutageNotificationOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       A description about the purpose of the outage.
       
      optional string description = 422937596;
      Specified by:
      getDescriptionBytes in interface InterconnectOutageNotificationOrBuilder
      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:
      hasEndTime in interface InterconnectOutageNotificationOrBuilder
      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:
      getEndTime in interface InterconnectOutageNotificationOrBuilder
      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:
      hasIssueType in interface InterconnectOutageNotificationOrBuilder
      Returns:
      Whether the issueType field is set.
    • 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;
      Specified by:
      getIssueType in interface InterconnectOutageNotificationOrBuilder
      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:
      getIssueTypeBytes in interface InterconnectOutageNotificationOrBuilder
      Returns:
      The bytes for issueType.
    • hasName

      public boolean hasName()
       Unique identifier for this outage notification.
       
      optional string name = 3373707;
      Specified by:
      hasName in interface InterconnectOutageNotificationOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Unique identifier for this outage notification.
       
      optional string name = 3373707;
      Specified by:
      getName in interface InterconnectOutageNotificationOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Unique identifier for this outage notification.
       
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface InterconnectOutageNotificationOrBuilder
      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:
      hasSource in interface InterconnectOutageNotificationOrBuilder
      Returns:
      Whether the source field is set.
    • 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;
      Specified by:
      getSource in interface InterconnectOutageNotificationOrBuilder
      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:
      getSourceBytes in interface InterconnectOutageNotificationOrBuilder
      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:
      hasStartTime in interface InterconnectOutageNotificationOrBuilder
      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:
      getStartTime in interface InterconnectOutageNotificationOrBuilder
      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:
      hasState in interface InterconnectOutageNotificationOrBuilder
      Returns:
      Whether the state field is set.
    • 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;
      Specified by:
      getState in interface InterconnectOutageNotificationOrBuilder
      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:
      getStateBytes in interface InterconnectOutageNotificationOrBuilder
      Returns:
      The bytes for state.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static InterconnectOutageNotification parseFrom(InputStream input) throws IOException
      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

      public InterconnectOutageNotification.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static InterconnectOutageNotification.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected InterconnectOutageNotification.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static InterconnectOutageNotification getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<InterconnectOutageNotification> parser()
    • getParserForType

      public com.google.protobuf.Parser<InterconnectOutageNotification> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public InterconnectOutageNotification getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder