Class InterconnectAttachmentConfigurationConstraints.Builder (1.42.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

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>
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

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;

Parameter
NameDescription
valueInterconnectAttachmentConfigurationConstraintsBgpPeerASNRange
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

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;

Parameter
NameDescription
builderForValueInterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

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;

Parameters
NameDescription
indexint
valueInterconnectAttachmentConfigurationConstraintsBgpPeerASNRange
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

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;

Parameters
NameDescription
indexint
builderForValueInterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

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;

Returns
TypeDescription
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder

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
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectAttachmentConfigurationConstraints build()
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints

buildPartial()

public InterconnectAttachmentConfigurationConstraints buildPartial()
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints

clear()

public InterconnectAttachmentConfigurationConstraints.Builder clear()
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder
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;

Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public InterconnectAttachmentConfigurationConstraints.Builder clone()
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder
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
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange

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
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder

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;

Returns
TypeDescription
List<InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange>

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
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeOrBuilder

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()
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints

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)
Parameter
NameDescription
otherInterconnectAttachmentConfigurationConstraints
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectAttachmentConfigurationConstraints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder
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
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

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;

Parameters
NameDescription
indexint
valueInterconnectAttachmentConfigurationConstraintsBgpPeerASNRange
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

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;

Parameters
NameDescription
indexint
builderForValueInterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectAttachmentConfigurationConstraints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder
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
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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