Class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder (1.74.0)

public static final class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder extends GeneratedMessageV3.Builder<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder> implements InterconnectAttachmentGroupsOperationalStatusAttachmentStatusOrBuilder

The status of one Attachment in the group. List order is arbitrary.

Protobuf type google.cloud.compute.v1.InterconnectAttachmentGroupsOperationalStatusAttachmentStatus

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus build()
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus

buildPartial()

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus buildPartial()
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus

clear()

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

clearAdminEnabled()

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder clearAdminEnabled()

Whether this Attachment is enabled. This becomes false when the customer drains their Attachment.

optional bool admin_enabled = 445675089;

Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder

This builder for chaining.

clearAttachment()

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder clearAttachment()

The URL of the Attachment being described.

optional string attachment = 183982371;

Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIsActive()

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder clearIsActive()

Whether this Attachment is participating in the redundant configuration. This will be ACTIVE if and only if the status below is CONNECTION_UP. Any INACTIVE Attachments are excluded from the analysis that generates operational.availabilitySLA. Check the IsActive enum for the list of possible values.

optional string is_active = 114830267;

Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStatus()

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder clearStatus()

Whether this Attachment is active, and if so, whether BGP is up. This is based on the statuses available in the Pantheon UI here: http://google3/java/com/google/cloud/boq/clientapi/gce/hybrid/api/interconnect_models.proto Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder

This builder for chaining.

clone()

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder clone()
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder
Overrides

getAdminEnabled()

public boolean getAdminEnabled()

Whether this Attachment is enabled. This becomes false when the customer drains their Attachment.

optional bool admin_enabled = 445675089;

Returns
Type Description
boolean

The adminEnabled.

getAttachment()

public String getAttachment()

The URL of the Attachment being described.

optional string attachment = 183982371;

Returns
Type Description
String

The attachment.

getAttachmentBytes()

public ByteString getAttachmentBytes()

The URL of the Attachment being described.

optional string attachment = 183982371;

Returns
Type Description
ByteString

The bytes for attachment.

getDefaultInstanceForType()

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus getDefaultInstanceForType()
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus

getDescriptorForType()

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

getIsActive()

public String getIsActive()

Whether this Attachment is participating in the redundant configuration. This will be ACTIVE if and only if the status below is CONNECTION_UP. Any INACTIVE Attachments are excluded from the analysis that generates operational.availabilitySLA. Check the IsActive enum for the list of possible values.

optional string is_active = 114830267;

Returns
Type Description
String

The isActive.

getIsActiveBytes()

public ByteString getIsActiveBytes()

Whether this Attachment is participating in the redundant configuration. This will be ACTIVE if and only if the status below is CONNECTION_UP. Any INACTIVE Attachments are excluded from the analysis that generates operational.availabilitySLA. Check the IsActive enum for the list of possible values.

optional string is_active = 114830267;

Returns
Type Description
ByteString

The bytes for isActive.

getStatus()

public String getStatus()

Whether this Attachment is active, and if so, whether BGP is up. This is based on the statuses available in the Pantheon UI here: http://google3/java/com/google/cloud/boq/clientapi/gce/hybrid/api/interconnect_models.proto Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

Whether this Attachment is active, and if so, whether BGP is up. This is based on the statuses available in the Pantheon UI here: http://google3/java/com/google/cloud/boq/clientapi/gce/hybrid/api/interconnect_models.proto Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
ByteString

The bytes for status.

hasAdminEnabled()

public boolean hasAdminEnabled()

Whether this Attachment is enabled. This becomes false when the customer drains their Attachment.

optional bool admin_enabled = 445675089;

Returns
Type Description
boolean

Whether the adminEnabled field is set.

hasAttachment()

public boolean hasAttachment()

The URL of the Attachment being described.

optional string attachment = 183982371;

Returns
Type Description
boolean

Whether the attachment field is set.

hasIsActive()

public boolean hasIsActive()

Whether this Attachment is participating in the redundant configuration. This will be ACTIVE if and only if the status below is CONNECTION_UP. Any INACTIVE Attachments are excluded from the analysis that generates operational.availabilitySLA. Check the IsActive enum for the list of possible values.

optional string is_active = 114830267;

Returns
Type Description
boolean

Whether the isActive field is set.

hasStatus()

public boolean hasStatus()

Whether this Attachment is active, and if so, whether BGP is up. This is based on the statuses available in the Pantheon UI here: http://google3/java/com/google/cloud/boq/clientapi/gce/hybrid/api/interconnect_models.proto Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectAttachmentGroupsOperationalStatusAttachmentStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAdminEnabled(boolean value)

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setAdminEnabled(boolean value)

Whether this Attachment is enabled. This becomes false when the customer drains their Attachment.

optional bool admin_enabled = 445675089;

Parameter
Name Description
value boolean

The adminEnabled to set.

Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder

This builder for chaining.

setAttachment(String value)

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setAttachment(String value)

The URL of the Attachment being described.

optional string attachment = 183982371;

Parameter
Name Description
value String

The attachment to set.

Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder

This builder for chaining.

setAttachmentBytes(ByteString value)

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setAttachmentBytes(ByteString value)

The URL of the Attachment being described.

optional string attachment = 183982371;

Parameter
Name Description
value ByteString

The bytes for attachment to set.

Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIsActive(String value)

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setIsActive(String value)

Whether this Attachment is participating in the redundant configuration. This will be ACTIVE if and only if the status below is CONNECTION_UP. Any INACTIVE Attachments are excluded from the analysis that generates operational.availabilitySLA. Check the IsActive enum for the list of possible values.

optional string is_active = 114830267;

Parameter
Name Description
value String

The isActive to set.

Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder

This builder for chaining.

setIsActiveBytes(ByteString value)

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setIsActiveBytes(ByteString value)

Whether this Attachment is participating in the redundant configuration. This will be ACTIVE if and only if the status below is CONNECTION_UP. Any INACTIVE Attachments are excluded from the analysis that generates operational.availabilitySLA. Check the IsActive enum for the list of possible values.

optional string is_active = 114830267;

Parameter
Name Description
value ByteString

The bytes for isActive to set.

Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder

This builder for chaining.

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

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

setStatus(String value)

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setStatus(String value)

Whether this Attachment is active, and if so, whether BGP is up. This is based on the statuses available in the Pantheon UI here: http://google3/java/com/google/cloud/boq/clientapi/gce/hybrid/api/interconnect_models.proto Check the Status enum for the list of possible values.

optional string status = 181260274;

Parameter
Name Description
value String

The status to set.

Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder

This builder for chaining.

setStatusBytes(ByteString value)

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setStatusBytes(ByteString value)

Whether this Attachment is active, and if so, whether BGP is up. This is based on the statuses available in the Pantheon UI here: http://google3/java/com/google/cloud/boq/clientapi/gce/hybrid/api/interconnect_models.proto Check the Status enum for the list of possible values.

optional string status = 181260274;

Parameter
Name Description
value ByteString

The bytes for status to set.

Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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