Class InterconnectAttachmentInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentInfo.Builder>
com.google.cloud.networkmanagement.v1beta1.InterconnectAttachmentInfo.Builder
All Implemented Interfaces:
InterconnectAttachmentInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InterconnectAttachmentInfo

public static final class InterconnectAttachmentInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentInfo.Builder> implements InterconnectAttachmentInfoOrBuilder
 For display only. Metadata associated with an Interconnect attachment.
 
Protobuf type google.cloud.networkmanagement.v1beta1.InterconnectAttachmentInfo
  • 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<InterconnectAttachmentInfo.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<InterconnectAttachmentInfo.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<InterconnectAttachmentInfo.Builder>
    • getDefaultInstanceForType

      public InterconnectAttachmentInfo 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

      public InterconnectAttachmentInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public InterconnectAttachmentInfo.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<InterconnectAttachmentInfo.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<InterconnectAttachmentInfo.Builder>
    • mergeFrom

      public InterconnectAttachmentInfo.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<InterconnectAttachmentInfo.Builder>
      Throws:
      IOException
    • getDisplayName

      public String getDisplayName()
       Name of an Interconnect attachment.
       
      string display_name = 1;
      Specified by:
      getDisplayName in interface InterconnectAttachmentInfoOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Name of an Interconnect attachment.
       
      string display_name = 1;
      Specified by:
      getDisplayNameBytes in interface InterconnectAttachmentInfoOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public InterconnectAttachmentInfo.Builder setDisplayName(String value)
       Name of an Interconnect attachment.
       
      string display_name = 1;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public InterconnectAttachmentInfo.Builder clearDisplayName()
       Name of an Interconnect attachment.
       
      string display_name = 1;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public InterconnectAttachmentInfo.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Name of an Interconnect attachment.
       
      string display_name = 1;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getUri

      public String getUri()
       URI of an Interconnect attachment.
       
      string uri = 2;
      Specified by:
      getUri in interface InterconnectAttachmentInfoOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       URI of an Interconnect attachment.
       
      string uri = 2;
      Specified by:
      getUriBytes in interface InterconnectAttachmentInfoOrBuilder
      Returns:
      The bytes for uri.
    • setUri

       URI of an Interconnect attachment.
       
      string uri = 2;
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

       URI of an Interconnect attachment.
       
      string uri = 2;
      Returns:
      This builder for chaining.
    • setUriBytes

      public InterconnectAttachmentInfo.Builder setUriBytes(com.google.protobuf.ByteString value)
       URI of an Interconnect attachment.
       
      string uri = 2;
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • getInterconnectUri

      public String getInterconnectUri()
       URI of the Interconnect where the Interconnect attachment is
       configured.
       
      string interconnect_uri = 3;
      Specified by:
      getInterconnectUri in interface InterconnectAttachmentInfoOrBuilder
      Returns:
      The interconnectUri.
    • getInterconnectUriBytes

      public com.google.protobuf.ByteString getInterconnectUriBytes()
       URI of the Interconnect where the Interconnect attachment is
       configured.
       
      string interconnect_uri = 3;
      Specified by:
      getInterconnectUriBytes in interface InterconnectAttachmentInfoOrBuilder
      Returns:
      The bytes for interconnectUri.
    • setInterconnectUri

      public InterconnectAttachmentInfo.Builder setInterconnectUri(String value)
       URI of the Interconnect where the Interconnect attachment is
       configured.
       
      string interconnect_uri = 3;
      Parameters:
      value - The interconnectUri to set.
      Returns:
      This builder for chaining.
    • clearInterconnectUri

      public InterconnectAttachmentInfo.Builder clearInterconnectUri()
       URI of the Interconnect where the Interconnect attachment is
       configured.
       
      string interconnect_uri = 3;
      Returns:
      This builder for chaining.
    • setInterconnectUriBytes

      public InterconnectAttachmentInfo.Builder setInterconnectUriBytes(com.google.protobuf.ByteString value)
       URI of the Interconnect where the Interconnect attachment is
       configured.
       
      string interconnect_uri = 3;
      Parameters:
      value - The bytes for interconnectUri to set.
      Returns:
      This builder for chaining.
    • getRegion

      public String getRegion()
       Name of a Google Cloud region where the Interconnect attachment is
       configured.
       
      string region = 4;
      Specified by:
      getRegion in interface InterconnectAttachmentInfoOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public com.google.protobuf.ByteString getRegionBytes()
       Name of a Google Cloud region where the Interconnect attachment is
       configured.
       
      string region = 4;
      Specified by:
      getRegionBytes in interface InterconnectAttachmentInfoOrBuilder
      Returns:
      The bytes for region.
    • setRegion

      public InterconnectAttachmentInfo.Builder setRegion(String value)
       Name of a Google Cloud region where the Interconnect attachment is
       configured.
       
      string region = 4;
      Parameters:
      value - The region to set.
      Returns:
      This builder for chaining.
    • clearRegion

      public InterconnectAttachmentInfo.Builder clearRegion()
       Name of a Google Cloud region where the Interconnect attachment is
       configured.
       
      string region = 4;
      Returns:
      This builder for chaining.
    • setRegionBytes

      public InterconnectAttachmentInfo.Builder setRegionBytes(com.google.protobuf.ByteString value)
       Name of a Google Cloud region where the Interconnect attachment is
       configured.
       
      string region = 4;
      Parameters:
      value - The bytes for region to set.
      Returns:
      This builder for chaining.
    • getCloudRouterUri

      public String getCloudRouterUri()
       URI of the Cloud Router to be used for dynamic routing.
       
      string cloud_router_uri = 5;
      Specified by:
      getCloudRouterUri in interface InterconnectAttachmentInfoOrBuilder
      Returns:
      The cloudRouterUri.
    • getCloudRouterUriBytes

      public com.google.protobuf.ByteString getCloudRouterUriBytes()
       URI of the Cloud Router to be used for dynamic routing.
       
      string cloud_router_uri = 5;
      Specified by:
      getCloudRouterUriBytes in interface InterconnectAttachmentInfoOrBuilder
      Returns:
      The bytes for cloudRouterUri.
    • setCloudRouterUri

      public InterconnectAttachmentInfo.Builder setCloudRouterUri(String value)
       URI of the Cloud Router to be used for dynamic routing.
       
      string cloud_router_uri = 5;
      Parameters:
      value - The cloudRouterUri to set.
      Returns:
      This builder for chaining.
    • clearCloudRouterUri

      public InterconnectAttachmentInfo.Builder clearCloudRouterUri()
       URI of the Cloud Router to be used for dynamic routing.
       
      string cloud_router_uri = 5;
      Returns:
      This builder for chaining.
    • setCloudRouterUriBytes

      public InterconnectAttachmentInfo.Builder setCloudRouterUriBytes(com.google.protobuf.ByteString value)
       URI of the Cloud Router to be used for dynamic routing.
       
      string cloud_router_uri = 5;
      Parameters:
      value - The bytes for cloudRouterUri to set.
      Returns:
      This builder for chaining.
    • getTypeValue

      public int getTypeValue()
       The type of interconnect attachment this is.
       
      .google.cloud.networkmanagement.v1beta1.InterconnectAttachmentInfo.Type type = 6;
      Specified by:
      getTypeValue in interface InterconnectAttachmentInfoOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public InterconnectAttachmentInfo.Builder setTypeValue(int value)
       The type of interconnect attachment this is.
       
      .google.cloud.networkmanagement.v1beta1.InterconnectAttachmentInfo.Type type = 6;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

       The type of interconnect attachment this is.
       
      .google.cloud.networkmanagement.v1beta1.InterconnectAttachmentInfo.Type type = 6;
      Specified by:
      getType in interface InterconnectAttachmentInfoOrBuilder
      Returns:
      The type.
    • setType

       The type of interconnect attachment this is.
       
      .google.cloud.networkmanagement.v1beta1.InterconnectAttachmentInfo.Type type = 6;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

       The type of interconnect attachment this is.
       
      .google.cloud.networkmanagement.v1beta1.InterconnectAttachmentInfo.Type type = 6;
      Returns:
      This builder for chaining.
    • getL2AttachmentMatchedIpAddress

      public String getL2AttachmentMatchedIpAddress()
       Appliance IP address that was matched for L2_DEDICATED attachments.
       
      string l2_attachment_matched_ip_address = 7 [(.google.api.field_info) = { ... }
      Specified by:
      getL2AttachmentMatchedIpAddress in interface InterconnectAttachmentInfoOrBuilder
      Returns:
      The l2AttachmentMatchedIpAddress.
    • getL2AttachmentMatchedIpAddressBytes

      public com.google.protobuf.ByteString getL2AttachmentMatchedIpAddressBytes()
       Appliance IP address that was matched for L2_DEDICATED attachments.
       
      string l2_attachment_matched_ip_address = 7 [(.google.api.field_info) = { ... }
      Specified by:
      getL2AttachmentMatchedIpAddressBytes in interface InterconnectAttachmentInfoOrBuilder
      Returns:
      The bytes for l2AttachmentMatchedIpAddress.
    • setL2AttachmentMatchedIpAddress

      public InterconnectAttachmentInfo.Builder setL2AttachmentMatchedIpAddress(String value)
       Appliance IP address that was matched for L2_DEDICATED attachments.
       
      string l2_attachment_matched_ip_address = 7 [(.google.api.field_info) = { ... }
      Parameters:
      value - The l2AttachmentMatchedIpAddress to set.
      Returns:
      This builder for chaining.
    • clearL2AttachmentMatchedIpAddress

      public InterconnectAttachmentInfo.Builder clearL2AttachmentMatchedIpAddress()
       Appliance IP address that was matched for L2_DEDICATED attachments.
       
      string l2_attachment_matched_ip_address = 7 [(.google.api.field_info) = { ... }
      Returns:
      This builder for chaining.
    • setL2AttachmentMatchedIpAddressBytes

      public InterconnectAttachmentInfo.Builder setL2AttachmentMatchedIpAddressBytes(com.google.protobuf.ByteString value)
       Appliance IP address that was matched for L2_DEDICATED attachments.
       
      string l2_attachment_matched_ip_address = 7 [(.google.api.field_info) = { ... }
      Parameters:
      value - The bytes for l2AttachmentMatchedIpAddress to set.
      Returns:
      This builder for chaining.