Class InterconnectOutageNotification.Builder (1.52.0)

public static final class InterconnectOutageNotification.Builder extends GeneratedMessageV3.Builder<InterconnectOutageNotification.Builder> implements InterconnectOutageNotificationOrBuilder

Description of a planned outage on this Interconnect.

Protobuf type google.cloud.compute.v1.InterconnectOutageNotification

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAffectedCircuits(String value)

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;

Parameter
Name Description
value String

The affectedCircuits to add.

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

addAffectedCircuitsBytes(ByteString value)

public InterconnectOutageNotification.Builder addAffectedCircuitsBytes(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;

Parameter
Name Description
value ByteString

The bytes of the affectedCircuits to add.

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

addAllAffectedCircuits(Iterable<String> values)

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;

Parameter
Name Description
values Iterable<String>

The affectedCircuits to add.

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InterconnectOutageNotification.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InterconnectOutageNotification.Builder
Overrides

build()

public InterconnectOutageNotification build()
Returns
Type Description
InterconnectOutageNotification

buildPartial()

public InterconnectOutageNotification buildPartial()
Returns
Type Description
InterconnectOutageNotification

clear()

public InterconnectOutageNotification.Builder clear()
Returns
Type Description
InterconnectOutageNotification.Builder
Overrides

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
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

clearDescription()

public InterconnectOutageNotification.Builder clearDescription()

A description about the purpose of the outage.

optional string description = 422937596;

Returns
Type Description
InterconnectOutageNotification.Builder

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
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InterconnectOutageNotification.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InterconnectOutageNotification.Builder
Overrides

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
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

clearName()

public InterconnectOutageNotification.Builder clearName()

Unique identifier for this outage notification.

optional string name = 3373707;

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectOutageNotification.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InterconnectOutageNotification.Builder
Overrides

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
Type Description
InterconnectOutageNotification.Builder

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
Type Description
InterconnectOutageNotification.Builder

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
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

clone()

public InterconnectOutageNotification.Builder clone()
Returns
Type Description
InterconnectOutageNotification.Builder
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;

Returns
Type Description
ProtocolStringList

A list containing the affectedCircuits.

getDefaultInstanceForType()

public InterconnectOutageNotification getDefaultInstanceForType()
Returns
Type Description
InterconnectOutageNotification

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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

public long 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()

public String 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.

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()

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
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.

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()

public boolean 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectOutageNotification other)

public InterconnectOutageNotification.Builder mergeFrom(InterconnectOutageNotification other)
Parameter
Name Description
other InterconnectOutageNotification
Returns
Type Description
InterconnectOutageNotification.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InterconnectOutageNotification.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectOutageNotification.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InterconnectOutageNotification.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InterconnectOutageNotification.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectOutageNotification.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InterconnectOutageNotification.Builder
Overrides

setAffectedCircuits(int index, String value)

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
Name Description
index int

The index to set the value at.

value String

The affectedCircuits to set.

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

setDescription(String value)

public InterconnectOutageNotification.Builder setDescription(String value)

A description about the purpose of the outage.

optional string description = 422937596;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public InterconnectOutageNotification.Builder setDescriptionBytes(ByteString value)

A description about the purpose of the outage.

optional string description = 422937596;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

setEndTime(long value)

public InterconnectOutageNotification.Builder setEndTime(long value)

Scheduled end time for the outage (milliseconds since Unix epoch).

optional int64 end_time = 114938801;

Parameter
Name Description
value long

The endTime to set.

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectOutageNotification.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InterconnectOutageNotification.Builder
Overrides

setIssueType(String value)

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;

Parameter
Name Description
value String

The issueType to set.

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

setIssueTypeBytes(ByteString value)

public InterconnectOutageNotification.Builder setIssueTypeBytes(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;

Parameter
Name Description
value ByteString

The bytes for issueType to set.

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

setName(String value)

public InterconnectOutageNotification.Builder setName(String value)

Unique identifier for this outage notification.

optional string name = 3373707;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

setNameBytes(ByteString value)

public InterconnectOutageNotification.Builder setNameBytes(ByteString value)

Unique identifier for this outage notification.

optional string name = 3373707;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InterconnectOutageNotification.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InterconnectOutageNotification.Builder
Overrides

setSource(String value)

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;

Parameter
Name Description
value String

The source to set.

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

setSourceBytes(ByteString value)

public InterconnectOutageNotification.Builder setSourceBytes(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;

Parameter
Name Description
value ByteString

The bytes for source to set.

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

setStartTime(long value)

public InterconnectOutageNotification.Builder setStartTime(long value)

Scheduled start time for the outage (milliseconds since Unix epoch).

optional int64 start_time = 37467274;

Parameter
Name Description
value long

The startTime to set.

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

setState(String value)

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;

Parameter
Name Description
value String

The state to set.

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

setStateBytes(ByteString value)

public InterconnectOutageNotification.Builder setStateBytes(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;

Parameter
Name Description
value ByteString

The bytes for state to set.

Returns
Type Description
InterconnectOutageNotification.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectOutageNotification.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InterconnectOutageNotification.Builder
Overrides