Class InterconnectAttachmentConfigurationConstraints (1.49.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
TypeDescription
int

BGP_PEER_ASN_RANGES_FIELD_NUMBER

public static final int BGP_PEER_ASN_RANGES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InterconnectAttachmentConfigurationConstraints getDefaultInstance()
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints

getDescriptor()

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

newBuilder()

public static InterconnectAttachmentConfigurationConstraints.Builder newBuilder()
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

newBuilder(InterconnectAttachmentConfigurationConstraints prototype)

public static InterconnectAttachmentConfigurationConstraints.Builder newBuilder(InterconnectAttachmentConfigurationConstraints prototype)
Parameter
NameDescription
prototypeInterconnectAttachmentConfigurationConstraints
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

parseDelimitedFrom(InputStream input)

public static InterconnectAttachmentConfigurationConstraints parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentConfigurationConstraints parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InterconnectAttachmentConfigurationConstraints parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentConfigurationConstraints parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InterconnectAttachmentConfigurationConstraints parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentConfigurationConstraints parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InterconnectAttachmentConfigurationConstraints parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentConfigurationConstraints parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InterconnectAttachmentConfigurationConstraints parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentConfigurationConstraints parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InterconnectAttachmentConfigurationConstraints parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentConfigurationConstraints parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<InterconnectAttachmentConfigurationConstraints> parser()
Returns
TypeDescription
Parser<InterconnectAttachmentConfigurationConstraints>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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

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

getParserForType()

public Parser<InterconnectAttachmentConfigurationConstraints> getParserForType()
Returns
TypeDescription
Parser<InterconnectAttachmentConfigurationConstraints>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the bgpMd5 field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InterconnectAttachmentConfigurationConstraints.Builder newBuilderForType()
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InterconnectAttachmentConfigurationConstraints.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InterconnectAttachmentConfigurationConstraints.Builder toBuilder()
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraints.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException