Class InterconnectOutageNotification.Builder (1.51.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
TypeDescription
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
NameDescription
valueString

The affectedCircuits to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the affectedCircuits to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The affectedCircuits to add.

Returns
TypeDescription
InterconnectOutageNotification.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InterconnectOutageNotification.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InterconnectOutageNotification.Builder
Overrides

build()

public InterconnectOutageNotification build()
Returns
TypeDescription
InterconnectOutageNotification

buildPartial()

public InterconnectOutageNotification buildPartial()
Returns
TypeDescription
InterconnectOutageNotification

clear()

public InterconnectOutageNotification.Builder clear()
Returns
TypeDescription
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
TypeDescription
InterconnectOutageNotification.Builder

This builder for chaining.

clearDescription()

public InterconnectOutageNotification.Builder clearDescription()

A description about the purpose of the outage.

optional string description = 422937596;

Returns
TypeDescription
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
TypeDescription
InterconnectOutageNotification.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InterconnectOutageNotification.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
InterconnectOutageNotification.Builder

This builder for chaining.

clearName()

public InterconnectOutageNotification.Builder clearName()

Unique identifier for this outage notification.

optional string name = 3373707;

Returns
TypeDescription
InterconnectOutageNotification.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectOutageNotification.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
InterconnectOutageNotification.Builder

This builder for chaining.

clone()

public InterconnectOutageNotification.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the affectedCircuits.

getDefaultInstanceForType()

public InterconnectOutageNotification getDefaultInstanceForType()
Returns
TypeDescription
InterconnectOutageNotification

getDescription()

public String getDescription()

A description about the purpose of the outage.

optional string description = 422937596;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A description about the purpose of the outage.

optional string description = 422937596;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public long getEndTime()

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

optional int64 end_time = 114938801;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for issueType.

getName()

public String getName()

Unique identifier for this outage notification.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Unique identifier for this outage notification.

optional string name = 3373707;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for state.

hasDescription()

public boolean hasDescription()

A description about the purpose of the outage.

optional string description = 422937596;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the issueType field is set.

hasName()

public boolean hasName()

Unique identifier for this outage notification.

optional string name = 3373707;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the state field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectOutageNotification other)

public InterconnectOutageNotification.Builder mergeFrom(InterconnectOutageNotification other)
Parameter
NameDescription
otherInterconnectOutageNotification
Returns
TypeDescription
InterconnectOutageNotification.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InterconnectOutageNotification.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectOutageNotification.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InterconnectOutageNotification.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InterconnectOutageNotification.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectOutageNotification.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The affectedCircuits to set.

Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valuelong

The endTime to set.

Returns
TypeDescription
InterconnectOutageNotification.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectOutageNotification.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The issueType to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for issueType to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The source to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for source to set.

Returns
TypeDescription
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
NameDescription
valuelong

The startTime to set.

Returns
TypeDescription
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
NameDescription
valueString

The state to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for state to set.

Returns
TypeDescription
InterconnectOutageNotification.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectOutageNotification.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InterconnectOutageNotification.Builder
Overrides