Class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus (1.74.0)

public final class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus extends GeneratedMessageV3 implements InterconnectAttachmentGroupsOperationalStatusAttachmentStatusOrBuilder

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

Protobuf type google.cloud.compute.v1.InterconnectAttachmentGroupsOperationalStatusAttachmentStatus

Inheritance

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

Static Fields

ADMIN_ENABLED_FIELD_NUMBER

public static final int ADMIN_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

ATTACHMENT_FIELD_NUMBER

public static final int ATTACHMENT_FIELD_NUMBER
Field Value
Type Description
int

IS_ACTIVE_FIELD_NUMBER

public static final int IS_ACTIVE_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InterconnectAttachmentGroupsOperationalStatusAttachmentStatus getDefaultInstance()
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus

getDescriptor()

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

newBuilder()

public static InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder newBuilder()
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder

newBuilder(InterconnectAttachmentGroupsOperationalStatusAttachmentStatus prototype)

public static InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder newBuilder(InterconnectAttachmentGroupsOperationalStatusAttachmentStatus prototype)
Parameter
Name Description
prototype InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder

parseDelimitedFrom(InputStream input)

public static InterconnectAttachmentGroupsOperationalStatusAttachmentStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentGroupsOperationalStatusAttachmentStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InterconnectAttachmentGroupsOperationalStatusAttachmentStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentGroupsOperationalStatusAttachmentStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InterconnectAttachmentGroupsOperationalStatusAttachmentStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentGroupsOperationalStatusAttachmentStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InterconnectAttachmentGroupsOperationalStatusAttachmentStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentGroupsOperationalStatusAttachmentStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InterconnectAttachmentGroupsOperationalStatusAttachmentStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentGroupsOperationalStatusAttachmentStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InterconnectAttachmentGroupsOperationalStatusAttachmentStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentGroupsOperationalStatusAttachmentStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus> parser()
Returns
Type Description
Parser<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus> getParserForType()
Returns
Type Description
Parser<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder newBuilderForType()
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder toBuilder()
Returns
Type Description
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException