Package com.google.cloud.compute.v1
Class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder>
com.google.cloud.compute.v1.InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder
- All Implemented Interfaces:
InterconnectAttachmentGroupsOperationalStatusAttachmentStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InterconnectAttachmentGroupsOperationalStatusAttachmentStatus
public static final class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder>
implements InterconnectAttachmentGroupsOperationalStatusAttachmentStatusOrBuilder
The status of one Attachment in the group. List order is arbitrary.Protobuf type
google.cloud.compute.v1.InterconnectAttachmentGroupsOperationalStatusAttachmentStatus-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.booleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAdminEnabled(boolean value) Output only.setAttachment(String value) Output only.setAttachmentBytes(com.google.protobuf.ByteString value) Output only.setIsActive(String value) Output only.setIsActiveBytes(com.google.protobuf.ByteString value) Output only.Output only.setStatusBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder>
-
mergeFrom
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder>- Throws:
IOException
-
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;- Specified by:
hasAdminEnabledin interfaceInterconnectAttachmentGroupsOperationalStatusAttachmentStatusOrBuilder- Returns:
- Whether the adminEnabled field is set.
-
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;- Specified by:
getAdminEnabledin interfaceInterconnectAttachmentGroupsOperationalStatusAttachmentStatusOrBuilder- Returns:
- The adminEnabled.
-
setAdminEnabled
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;- Parameters:
value- The adminEnabled to set.- Returns:
- This builder for chaining.
-
clearAdminEnabled
Output only. Whether this Attachment is enabled. This becomes false when the customer drains their Attachment.
optional bool admin_enabled = 445675089;- Returns:
- This builder for chaining.
-
hasAttachment
public boolean hasAttachment()Output only. The URL of the Attachment being described.
optional string attachment = 183982371;- Specified by:
hasAttachmentin interfaceInterconnectAttachmentGroupsOperationalStatusAttachmentStatusOrBuilder- Returns:
- Whether the attachment field is set.
-
getAttachment
Output only. The URL of the Attachment being described.
optional string attachment = 183982371;- Specified by:
getAttachmentin interfaceInterconnectAttachmentGroupsOperationalStatusAttachmentStatusOrBuilder- Returns:
- The attachment.
-
getAttachmentBytes
public com.google.protobuf.ByteString getAttachmentBytes()Output only. The URL of the Attachment being described.
optional string attachment = 183982371;- Specified by:
getAttachmentBytesin interfaceInterconnectAttachmentGroupsOperationalStatusAttachmentStatusOrBuilder- Returns:
- The bytes for attachment.
-
setAttachment
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setAttachment(String value) Output only. The URL of the Attachment being described.
optional string attachment = 183982371;- Parameters:
value- The attachment to set.- Returns:
- This builder for chaining.
-
clearAttachment
Output only. The URL of the Attachment being described.
optional string attachment = 183982371;- Returns:
- This builder for chaining.
-
setAttachmentBytes
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setAttachmentBytes(com.google.protobuf.ByteString value) Output only. The URL of the Attachment being described.
optional string attachment = 183982371;- Parameters:
value- The bytes for attachment to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasIsActivein interfaceInterconnectAttachmentGroupsOperationalStatusAttachmentStatusOrBuilder- Returns:
- Whether the isActive field is set.
-
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;- Specified by:
getIsActivein interfaceInterconnectAttachmentGroupsOperationalStatusAttachmentStatusOrBuilder- Returns:
- The isActive.
-
getIsActiveBytes
public com.google.protobuf.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;- Specified by:
getIsActiveBytesin interfaceInterconnectAttachmentGroupsOperationalStatusAttachmentStatusOrBuilder- Returns:
- The bytes for isActive.
-
setIsActive
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;- Parameters:
value- The isActive to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setIsActiveBytes
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setIsActiveBytes(com.google.protobuf.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;- Parameters:
value- The bytes for isActive to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasStatusin interfaceInterconnectAttachmentGroupsOperationalStatusAttachmentStatusOrBuilder- Returns:
- Whether the status field is set.
-
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;- Specified by:
getStatusin interfaceInterconnectAttachmentGroupsOperationalStatusAttachmentStatusOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.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;- Specified by:
getStatusBytesin interfaceInterconnectAttachmentGroupsOperationalStatusAttachmentStatusOrBuilder- Returns:
- The bytes for status.
-
setStatus
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;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setStatusBytes
public InterconnectAttachmentGroupsOperationalStatusAttachmentStatus.Builder setStatusBytes(com.google.protobuf.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;- Parameters:
value- The bytes for status to set.- Returns:
- This builder for chaining.
-