Class InterconnectAttachmentConfigurationConstraints (1.56.0)

public final class InterconnectAttachmentConfigurationConstraints extends GeneratedMessageV3 implements InterconnectAttachmentConfigurationConstraintsOrBuilder

Protobuf type google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraints

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InterconnectAttachmentConfigurationConstraints

Static Fields

BGP_MD5_FIELD_NUMBER

public static final int BGP_MD5_FIELD_NUMBER
Field Value
Type Description
int

BGP_PEER_ASN_RANGES_FIELD_NUMBER

public static final int BGP_PEER_ASN_RANGES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InterconnectAttachmentConfigurationConstraints getDefaultInstance()
Returns
Type Description
InterconnectAttachmentConfigurationConstraints

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static InterconnectAttachmentConfigurationConstraints.Builder newBuilder()
Returns
Type Description
InterconnectAttachmentConfigurationConstraints.Builder

newBuilder(InterconnectAttachmentConfigurationConstraints prototype)

public static InterconnectAttachmentConfigurationConstraints.Builder newBuilder(InterconnectAttachmentConfigurationConstraints prototype)
Parameter
Name Description
prototype InterconnectAttachmentConfigurationConstraints
Returns
Type Description
InterconnectAttachmentConfigurationConstraints.Builder

parseDelimitedFrom(InputStream input)

public static InterconnectAttachmentConfigurationConstraints parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InterconnectAttachmentConfigurationConstraints
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentConfigurationConstraints parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectAttachmentConfigurationConstraints
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InterconnectAttachmentConfigurationConstraints parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InterconnectAttachmentConfigurationConstraints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentConfigurationConstraints parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectAttachmentConfigurationConstraints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InterconnectAttachmentConfigurationConstraints parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InterconnectAttachmentConfigurationConstraints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentConfigurationConstraints parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectAttachmentConfigurationConstraints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InterconnectAttachmentConfigurationConstraints parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InterconnectAttachmentConfigurationConstraints
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentConfigurationConstraints parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectAttachmentConfigurationConstraints
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InterconnectAttachmentConfigurationConstraints parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InterconnectAttachmentConfigurationConstraints
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentConfigurationConstraints parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectAttachmentConfigurationConstraints
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InterconnectAttachmentConfigurationConstraints parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InterconnectAttachmentConfigurationConstraints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentConfigurationConstraints parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectAttachmentConfigurationConstraints
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InterconnectAttachmentConfigurationConstraints> parser()
Returns
Type Description
Parser<InterconnectAttachmentConfigurationConstraints>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange

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;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeOrBuilder>

getDefaultInstanceForType()

public InterconnectAttachmentConfigurationConstraints getDefaultInstanceForType()
Returns
Type Description
InterconnectAttachmentConfigurationConstraints

getParserForType()

public Parser<InterconnectAttachmentConfigurationConstraints> getParserForType()
Returns
Type Description
Parser<InterconnectAttachmentConfigurationConstraints>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InterconnectAttachmentConfigurationConstraints.Builder newBuilderForType()
Returns
Type Description
InterconnectAttachmentConfigurationConstraints.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InterconnectAttachmentConfigurationConstraints.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InterconnectAttachmentConfigurationConstraints.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InterconnectAttachmentConfigurationConstraints.Builder toBuilder()
Returns
Type Description
InterconnectAttachmentConfigurationConstraints.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException