public static final class InterconnectAttachmentConfigurationConstraints.Builder extends GeneratedMessageV3.Builder<InterconnectAttachmentConfigurationConstraints.Builder> implements InterconnectAttachmentConfigurationConstraintsOrBuilder
Protobuf type google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraints
Inherited Members
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()
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 |
---|
Name | Description |
values | Iterable<? 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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InterconnectAttachmentConfigurationConstraints.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InterconnectAttachmentConfigurationConstraints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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 |
---|
Type | Description |
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 |
---|
Type | Description |
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
List<? extends com.google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeOrBuilder> | |
getDefaultInstanceForType()
public InterconnectAttachmentConfigurationConstraints getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
boolean | Whether the bgpMd5 field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InterconnectAttachmentConfigurationConstraints other)
public InterconnectAttachmentConfigurationConstraints.Builder mergeFrom(InterconnectAttachmentConfigurationConstraints other)
public InterconnectAttachmentConfigurationConstraints.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InterconnectAttachmentConfigurationConstraints.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectAttachmentConfigurationConstraints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
value | String
The bgpMd5 to set.
|
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 |
---|
Name | Description |
value | ByteString
The bytes for bgpMd5 to set.
|
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)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InterconnectAttachmentConfigurationConstraints.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectAttachmentConfigurationConstraints.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides