public static final class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder extends GeneratedMessageV3.Builder<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder> implements InterconnectAttachmentGroupsOperationalStatusAttachmentStatusOrBuilderThe 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.BuilderStatic 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 |
|
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 |
|
clearAdminEnabled()
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder clearAdminEnabled()Output only. 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()Output only. 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 |
|
clearIsActive()
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder clearIsActive()Output only. 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 |
|
clearStatus()
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder clearStatus()Output only. Whether this Attachment is active, and if so, whether BGP is up. 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 |
|
getAdminEnabled()
public boolean getAdminEnabled()Output only. 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()Output only. The URL of the Attachment being described.
optional string attachment = 183982371;
| Returns | |
|---|---|
| Type | Description |
String |
The attachment. |
getAttachmentBytes()
public ByteString getAttachmentBytes()Output only. 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 |
|
getIsActive()
public String getIsActive()Output only. 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()Output only. 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()Output only. Whether this Attachment is active, and if so, whether BGP is up. Check the Status enum for the list of possible values.
optional string status = 181260274;
| Returns | |
|---|---|
| Type | Description |
String |
The status. |
getStatusBytes()
public ByteString getStatusBytes()Output only. Whether this Attachment is active, and if so, whether BGP is up. 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()Output only. 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()Output only. 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()Output only. 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()Output only. Whether this Attachment is active, and if so, whether BGP is up. 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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder |
|
setAdminEnabled(boolean value)
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setAdminEnabled(boolean value)Output only. Whether this Attachment is enabled. This becomes false when the customer drains their Attachment.
optional bool admin_enabled = 445675089;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe adminEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder |
This builder for chaining. |
setAttachment(String value)
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setAttachment(String value)Output only. The URL of the Attachment being described.
optional string attachment = 183982371;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe attachment to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder |
This builder for chaining. |
setAttachmentBytes(ByteString value)
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setAttachmentBytes(ByteString value)Output only. The URL of the Attachment being described.
optional string attachment = 183982371;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe 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 |
|
setIsActive(String value)
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setIsActive(String value)Output only. 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 |
StringThe isActive to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder |
This builder for chaining. |
setIsActiveBytes(ByteString value)
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setIsActiveBytes(ByteString value)Output only. 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 |
ByteStringThe 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 |
|
setStatus(String value)
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setStatus(String value)Output only. Whether this Attachment is active, and if so, whether BGP is up. Check the Status enum for the list of possible values.
optional string status = 181260274;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe status to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder |
This builder for chaining. |
setStatusBytes(ByteString value)
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setStatusBytes(ByteString value)Output only. Whether this Attachment is active, and if so, whether BGP is up. Check the Status enum for the list of possible values.
optional string status = 181260274;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe 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 |
|