Class InterconnectAttachmentConfigurationConstraints.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentConfigurationConstraints.Builder>
com.google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraints.Builder
All Implemented Interfaces:
InterconnectAttachmentConfigurationConstraintsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InterconnectAttachmentConfigurationConstraints

public static final class InterconnectAttachmentConfigurationConstraints.Builder extends com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentConfigurationConstraints.Builder> implements InterconnectAttachmentConfigurationConstraintsOrBuilder
 
Protobuf type google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraints
  • 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.Builder<InterconnectAttachmentConfigurationConstraints.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentConfigurationConstraints.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentConfigurationConstraints.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public InterconnectAttachmentConfigurationConstraints.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InterconnectAttachmentConfigurationConstraints.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentConfigurationConstraints.Builder>
    • mergeFrom

      public InterconnectAttachmentConfigurationConstraints.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InterconnectAttachmentConfigurationConstraints.Builder>
      Throws:
      IOException
    • 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.
    • setBgpMd5

       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;
      Parameters:
      value - The bgpMd5 to set.
      Returns:
      This builder for chaining.
    • clearBgpMd5

       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;
      Returns:
      This builder for chaining.
    • setBgpMd5Bytes

      public InterconnectAttachmentConfigurationConstraints.Builder setBgpMd5Bytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for bgpMd5 to set.
      Returns:
      This builder for chaining.
    • 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
    • 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
    • setBgpPeerAsnRanges

       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;
    • setBgpPeerAsnRanges

       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;
    • addBgpPeerAsnRanges

       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;
    • addBgpPeerAsnRanges

       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;
    • addBgpPeerAsnRanges

       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;
    • addBgpPeerAsnRanges

       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;
    • addAllBgpPeerAsnRanges

       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;
    • clearBgpPeerAsnRanges

       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;
    • removeBgpPeerAsnRanges

      public InterconnectAttachmentConfigurationConstraints.Builder removeBgpPeerAsnRanges(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;
    • getBgpPeerAsnRangesBuilder

      public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder getBgpPeerAsnRangesBuilder(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;
    • 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
    • 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
    • addBgpPeerAsnRangesBuilder

       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;
    • addBgpPeerAsnRangesBuilder

      public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder addBgpPeerAsnRangesBuilder(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;
    • getBgpPeerAsnRangesBuilderList

       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;