Class InterconnectOutageNotification.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectOutageNotification.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectOutageNotification.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectOutageNotification.Builder>
      • 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.
      • setAffectedCircuits

        public InterconnectOutageNotification.Builder setAffectedCircuits​(int index,
                                                                          String value)
         If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
         
        repeated string affected_circuits = 177717013;
        Parameters:
        index - The index to set the value at.
        value - The affectedCircuits to set.
        Returns:
        This builder for chaining.
      • addAffectedCircuits

        public InterconnectOutageNotification.Builder addAffectedCircuits​(String value)
         If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
         
        repeated string affected_circuits = 177717013;
        Parameters:
        value - The affectedCircuits to add.
        Returns:
        This builder for chaining.
      • addAllAffectedCircuits

        public InterconnectOutageNotification.Builder addAllAffectedCircuits​(Iterable<String> values)
         If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
         
        repeated string affected_circuits = 177717013;
        Parameters:
        values - The affectedCircuits to add.
        Returns:
        This builder for chaining.
      • clearAffectedCircuits

        public InterconnectOutageNotification.Builder clearAffectedCircuits()
         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:
        This builder for chaining.
      • addAffectedCircuitsBytes

        public InterconnectOutageNotification.Builder addAffectedCircuitsBytes​(com.google.protobuf.ByteString value)
         If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
         
        repeated string affected_circuits = 177717013;
        Parameters:
        value - The bytes of the affectedCircuits to add.
        Returns:
        This builder for chaining.
      • 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.
      • 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.
      • setDescription

        public InterconnectOutageNotification.Builder setDescription​(String value)
         A description about the purpose of the outage.
         
        optional string description = 422937596;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public InterconnectOutageNotification.Builder clearDescription()
         A description about the purpose of the outage.
         
        optional string description = 422937596;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public InterconnectOutageNotification.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         A description about the purpose of the outage.
         
        optional string description = 422937596;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • 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.
      • setEndTime

        public InterconnectOutageNotification.Builder setEndTime​(long value)
         Scheduled end time for the outage (milliseconds since Unix epoch).
         
        optional int64 end_time = 114938801;
        Parameters:
        value - The endTime to set.
        Returns:
        This builder for chaining.
      • clearEndTime

        public InterconnectOutageNotification.Builder clearEndTime()
         Scheduled end time for the outage (milliseconds since Unix epoch).
         
        optional int64 end_time = 114938801;
        Returns:
        This builder for chaining.
      • 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.
      • setIssueType

        public InterconnectOutageNotification.Builder setIssueType​(String value)
         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;
        Parameters:
        value - The issueType to set.
        Returns:
        This builder for chaining.
      • clearIssueType

        public InterconnectOutageNotification.Builder clearIssueType()
         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:
        This builder for chaining.
      • setIssueTypeBytes

        public InterconnectOutageNotification.Builder setIssueTypeBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for issueType to set.
        Returns:
        This builder for chaining.
      • 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.
      • 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.
      • setName

        public InterconnectOutageNotification.Builder setName​(String value)
         Unique identifier for this outage notification.
         
        optional string name = 3373707;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public InterconnectOutageNotification.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Unique identifier for this outage notification.
         
        optional string name = 3373707;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • 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.
      • setSource

        public InterconnectOutageNotification.Builder setSource​(String value)
         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;
        Parameters:
        value - The source to set.
        Returns:
        This builder for chaining.
      • clearSource

        public InterconnectOutageNotification.Builder clearSource()
         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:
        This builder for chaining.
      • setSourceBytes

        public InterconnectOutageNotification.Builder setSourceBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for source to set.
        Returns:
        This builder for chaining.
      • 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.
      • setStartTime

        public InterconnectOutageNotification.Builder setStartTime​(long value)
         Scheduled start time for the outage (milliseconds since Unix epoch).
         
        optional int64 start_time = 37467274;
        Parameters:
        value - The startTime to set.
        Returns:
        This builder for chaining.
      • clearStartTime

        public InterconnectOutageNotification.Builder clearStartTime()
         Scheduled start time for the outage (milliseconds since Unix epoch).
         
        optional int64 start_time = 37467274;
        Returns:
        This builder for chaining.
      • 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.
      • setState

        public InterconnectOutageNotification.Builder setState​(String value)
         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;
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public InterconnectOutageNotification.Builder clearState()
         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:
        This builder for chaining.
      • setStateBytes

        public InterconnectOutageNotification.Builder setStateBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for state to set.
        Returns:
        This builder for chaining.