Class InterconnectAttachmentConfigurationConstraints.Builder (1.46.0)

public static final class InterconnectAttachmentConfigurationConstraints.Builder extends GeneratedMessageV3.Builder<InterconnectAttachmentConfigurationConstraints.Builder> implements InterconnectAttachmentConfigurationConstraintsOrBuilder

Protobuf type google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraints

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InterconnectAttachmentConfigurationConstraints.Builder
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllBgpPeerAsnRanges(Iterable<? extends InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange> values)

public InterconnectAttachmentConfigurationConstraints.Builder addAllBgpPeerAsnRanges(Iterable<? extends InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange> values)

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange>

addBgpPeerAsnRanges(InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange value)

public InterconnectAttachmentConfigurationConstraints.Builder addBgpPeerAsnRanges(InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange value)

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

addBgpPeerAsnRanges(InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder builderForValue)

public InterconnectAttachmentConfigurationConstraints.Builder addBgpPeerAsnRanges(InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder builderForValue)

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

addBgpPeerAsnRanges(int index, InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange value)

public InterconnectAttachmentConfigurationConstraints.Builder addBgpPeerAsnRanges(int index, InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange value)

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

addBgpPeerAsnRanges(int index, InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder builderForValue)

public InterconnectAttachmentConfigurationConstraints.Builder addBgpPeerAsnRanges(int index, InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder builderForValue)

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

addBgpPeerAsnRangesBuilder()

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder addBgpPeerAsnRangesBuilder()

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

addBgpPeerAsnRangesBuilder(int index)

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder addBgpPeerAsnRangesBuilder(int index)

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

Parameter
NameDescription
indexint

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectAttachmentConfigurationConstraints build()

buildPartial()

public InterconnectAttachmentConfigurationConstraints buildPartial()

clear()

public InterconnectAttachmentConfigurationConstraints.Builder clear()
Overrides

clearBgpMd5()

public InterconnectAttachmentConfigurationConstraints.Builder clearBgpMd5()

[Output Only] Whether the attachment's BGP session requires/allows/disallows BGP MD5 authentication. This can take one of the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud Interconnect connection to a remote cloud provider that requires BGP MD5 authentication has the interconnectRemoteLocation attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and that property is propagated to the attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is returned if MD5 is requested. Check the BgpMd5 enum for the list of possible values.

optional string bgp_md5 = 373093386;

Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

This builder for chaining.

clearBgpPeerAsnRanges()

public InterconnectAttachmentConfigurationConstraints.Builder clearBgpPeerAsnRanges()

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

clearField(Descriptors.FieldDescriptor field)

public InterconnectAttachmentConfigurationConstraints.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectAttachmentConfigurationConstraints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Overrides

clone()

public InterconnectAttachmentConfigurationConstraints.Builder clone()
Overrides

getBgpMd5()

public String getBgpMd5()

[Output Only] Whether the attachment's BGP session requires/allows/disallows BGP MD5 authentication. This can take one of the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud Interconnect connection to a remote cloud provider that requires BGP MD5 authentication has the interconnectRemoteLocation attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and that property is propagated to the attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is returned if MD5 is requested. Check the BgpMd5 enum for the list of possible values.

optional string bgp_md5 = 373093386;

Returns
TypeDescription
String

The bgpMd5.

getBgpMd5Bytes()

public ByteString getBgpMd5Bytes()

[Output Only] Whether the attachment's BGP session requires/allows/disallows BGP MD5 authentication. This can take one of the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud Interconnect connection to a remote cloud provider that requires BGP MD5 authentication has the interconnectRemoteLocation attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and that property is propagated to the attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is returned if MD5 is requested. Check the BgpMd5 enum for the list of possible values.

optional string bgp_md5 = 373093386;

Returns
TypeDescription
ByteString

The bytes for bgpMd5.

getBgpPeerAsnRanges(int index)

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange getBgpPeerAsnRanges(int index)

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

Parameter
NameDescription
indexint

getBgpPeerAsnRangesBuilder(int index)

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder getBgpPeerAsnRangesBuilder(int index)

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

Parameter
NameDescription
indexint

getBgpPeerAsnRangesBuilderList()

public List<InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder> getBgpPeerAsnRangesBuilderList()

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

Returns
TypeDescription
List<Builder>

getBgpPeerAsnRangesCount()

public int getBgpPeerAsnRangesCount()

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

Returns
TypeDescription
int

getBgpPeerAsnRangesList()

public List<InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange> getBgpPeerAsnRangesList()

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

getBgpPeerAsnRangesOrBuilder(int index)

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeOrBuilder getBgpPeerAsnRangesOrBuilder(int index)

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

Parameter
NameDescription
indexint

getBgpPeerAsnRangesOrBuilderList()

public List<? extends InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeOrBuilder> getBgpPeerAsnRangesOrBuilderList()

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeOrBuilder>

getDefaultInstanceForType()

public InterconnectAttachmentConfigurationConstraints getDefaultInstanceForType()

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasBgpMd5()

public boolean hasBgpMd5()

[Output Only] Whether the attachment's BGP session requires/allows/disallows BGP MD5 authentication. This can take one of the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud Interconnect connection to a remote cloud provider that requires BGP MD5 authentication has the interconnectRemoteLocation attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and that property is propagated to the attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is returned if MD5 is requested. Check the BgpMd5 enum for the list of possible values.

optional string bgp_md5 = 373093386;

Returns
TypeDescription
boolean

Whether the bgpMd5 field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectAttachmentConfigurationConstraints other)

public InterconnectAttachmentConfigurationConstraints.Builder mergeFrom(InterconnectAttachmentConfigurationConstraints other)

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InterconnectAttachmentConfigurationConstraints.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectAttachmentConfigurationConstraints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides

removeBgpPeerAsnRanges(int index)

public InterconnectAttachmentConfigurationConstraints.Builder removeBgpPeerAsnRanges(int index)

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

Parameter
NameDescription
indexint

setBgpMd5(String value)

public InterconnectAttachmentConfigurationConstraints.Builder setBgpMd5(String value)

[Output Only] Whether the attachment's BGP session requires/allows/disallows BGP MD5 authentication. This can take one of the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud Interconnect connection to a remote cloud provider that requires BGP MD5 authentication has the interconnectRemoteLocation attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and that property is propagated to the attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is returned if MD5 is requested. Check the BgpMd5 enum for the list of possible values.

optional string bgp_md5 = 373093386;

Parameter
NameDescription
valueString

The bgpMd5 to set.

Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

This builder for chaining.

setBgpMd5Bytes(ByteString value)

public InterconnectAttachmentConfigurationConstraints.Builder setBgpMd5Bytes(ByteString value)

[Output Only] Whether the attachment's BGP session requires/allows/disallows BGP MD5 authentication. This can take one of the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud Interconnect connection to a remote cloud provider that requires BGP MD5 authentication has the interconnectRemoteLocation attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and that property is propagated to the attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is returned if MD5 is requested. Check the BgpMd5 enum for the list of possible values.

optional string bgp_md5 = 373093386;

Parameter
NameDescription
valueByteString

The bytes for bgpMd5 to set.

Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

This builder for chaining.

setBgpPeerAsnRanges(int index, InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange value)

public InterconnectAttachmentConfigurationConstraints.Builder setBgpPeerAsnRanges(int index, InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange value)

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

setBgpPeerAsnRanges(int index, InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder builderForValue)

public InterconnectAttachmentConfigurationConstraints.Builder setBgpPeerAsnRanges(int index, InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder builderForValue)

[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.

repeated .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370;

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectAttachmentConfigurationConstraints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

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

public InterconnectAttachmentConfigurationConstraints.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectAttachmentConfigurationConstraints.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides