Class InterconnectAttachmentConfigurationConstraints

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraints
All Implemented Interfaces:
InterconnectAttachmentConfigurationConstraintsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class InterconnectAttachmentConfigurationConstraints extends com.google.protobuf.GeneratedMessage implements InterconnectAttachmentConfigurationConstraintsOrBuilder
 
Protobuf type google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraints
See Also:
  • Field Details

    • BGP_MD5_FIELD_NUMBER

      public static final int BGP_MD5_FIELD_NUMBER
      See Also:
    • BGP_PEER_ASN_RANGES_FIELD_NUMBER

      public static final int BGP_PEER_ASN_RANGES_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasBgpMd5

      public boolean hasBgpMd5()
       Output only. [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;
      Specified by:
      hasBgpMd5 in interface InterconnectAttachmentConfigurationConstraintsOrBuilder
      Returns:
      Whether the bgpMd5 field is set.
    • getBgpMd5

      public String getBgpMd5()
       Output only. [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;
      Specified by:
      getBgpMd5 in interface InterconnectAttachmentConfigurationConstraintsOrBuilder
      Returns:
      The bgpMd5.
    • getBgpMd5Bytes

      public com.google.protobuf.ByteString getBgpMd5Bytes()
       Output only. [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;
      Specified by:
      getBgpMd5Bytes in interface InterconnectAttachmentConfigurationConstraintsOrBuilder
      Returns:
      The bytes for bgpMd5.
    • getBgpPeerAsnRangesList

       Output only. [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;
      Specified by:
      getBgpPeerAsnRangesList in interface InterconnectAttachmentConfigurationConstraintsOrBuilder
    • getBgpPeerAsnRangesOrBuilderList

      public List<? extends InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeOrBuilder> getBgpPeerAsnRangesOrBuilderList()
       Output only. [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;
      Specified by:
      getBgpPeerAsnRangesOrBuilderList in interface InterconnectAttachmentConfigurationConstraintsOrBuilder
    • getBgpPeerAsnRangesCount

      public int getBgpPeerAsnRangesCount()
       Output only. [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;
      Specified by:
      getBgpPeerAsnRangesCount in interface InterconnectAttachmentConfigurationConstraintsOrBuilder
    • getBgpPeerAsnRanges

      public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange getBgpPeerAsnRanges(int index)
       Output only. [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;
      Specified by:
      getBgpPeerAsnRanges in interface InterconnectAttachmentConfigurationConstraintsOrBuilder
    • getBgpPeerAsnRangesOrBuilder

      public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeOrBuilder getBgpPeerAsnRangesOrBuilder(int index)
       Output only. [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;
      Specified by:
      getBgpPeerAsnRangesOrBuilder in interface InterconnectAttachmentConfigurationConstraintsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static InterconnectAttachmentConfigurationConstraints parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InterconnectAttachmentConfigurationConstraints parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InterconnectAttachmentConfigurationConstraints parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InterconnectAttachmentConfigurationConstraints parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InterconnectAttachmentConfigurationConstraints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InterconnectAttachmentConfigurationConstraints parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      Throws:
      IOException
    • parseFrom

      public static InterconnectAttachmentConfigurationConstraints parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InterconnectAttachmentConfigurationConstraints parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InterconnectAttachmentConfigurationConstraints parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InterconnectAttachmentConfigurationConstraints parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InterconnectAttachmentConfigurationConstraints parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected InterconnectAttachmentConfigurationConstraints.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static InterconnectAttachmentConfigurationConstraints getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<InterconnectAttachmentConfigurationConstraints> parser()
    • getParserForType

      public com.google.protobuf.Parser<InterconnectAttachmentConfigurationConstraints> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public InterconnectAttachmentConfigurationConstraints getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder