Class InterconnectAttachmentsScopedList.Builder

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

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

      public InterconnectAttachmentsScopedList 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 InterconnectAttachmentsScopedList buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public InterconnectAttachmentsScopedList.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<InterconnectAttachmentsScopedList.Builder>
      Throws:
      IOException
    • getInterconnectAttachmentsList

      public List<InterconnectAttachment> getInterconnectAttachmentsList()
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
      Specified by:
      getInterconnectAttachmentsList in interface InterconnectAttachmentsScopedListOrBuilder
    • getInterconnectAttachmentsCount

      public int getInterconnectAttachmentsCount()
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
      Specified by:
      getInterconnectAttachmentsCount in interface InterconnectAttachmentsScopedListOrBuilder
    • getInterconnectAttachments

      public InterconnectAttachment getInterconnectAttachments(int index)
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
      Specified by:
      getInterconnectAttachments in interface InterconnectAttachmentsScopedListOrBuilder
    • setInterconnectAttachments

      public InterconnectAttachmentsScopedList.Builder setInterconnectAttachments(int index, InterconnectAttachment value)
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
    • setInterconnectAttachments

      public InterconnectAttachmentsScopedList.Builder setInterconnectAttachments(int index, InterconnectAttachment.Builder builderForValue)
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
    • addInterconnectAttachments

      public InterconnectAttachmentsScopedList.Builder addInterconnectAttachments(InterconnectAttachment value)
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
    • addInterconnectAttachments

      public InterconnectAttachmentsScopedList.Builder addInterconnectAttachments(int index, InterconnectAttachment value)
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
    • addInterconnectAttachments

      public InterconnectAttachmentsScopedList.Builder addInterconnectAttachments(InterconnectAttachment.Builder builderForValue)
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
    • addInterconnectAttachments

      public InterconnectAttachmentsScopedList.Builder addInterconnectAttachments(int index, InterconnectAttachment.Builder builderForValue)
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
    • addAllInterconnectAttachments

      public InterconnectAttachmentsScopedList.Builder addAllInterconnectAttachments(Iterable<? extends InterconnectAttachment> values)
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
    • clearInterconnectAttachments

      public InterconnectAttachmentsScopedList.Builder clearInterconnectAttachments()
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
    • removeInterconnectAttachments

      public InterconnectAttachmentsScopedList.Builder removeInterconnectAttachments(int index)
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
    • getInterconnectAttachmentsBuilder

      public InterconnectAttachment.Builder getInterconnectAttachmentsBuilder(int index)
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
    • getInterconnectAttachmentsOrBuilder

      public InterconnectAttachmentOrBuilder getInterconnectAttachmentsOrBuilder(int index)
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
      Specified by:
      getInterconnectAttachmentsOrBuilder in interface InterconnectAttachmentsScopedListOrBuilder
    • getInterconnectAttachmentsOrBuilderList

      public List<? extends InterconnectAttachmentOrBuilder> getInterconnectAttachmentsOrBuilderList()
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
      Specified by:
      getInterconnectAttachmentsOrBuilderList in interface InterconnectAttachmentsScopedListOrBuilder
    • addInterconnectAttachmentsBuilder

      public InterconnectAttachment.Builder addInterconnectAttachmentsBuilder()
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
    • addInterconnectAttachmentsBuilder

      public InterconnectAttachment.Builder addInterconnectAttachmentsBuilder(int index)
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
    • getInterconnectAttachmentsBuilderList

      public List<InterconnectAttachment.Builder> getInterconnectAttachmentsBuilderList()
       A list of interconnect attachments contained in this scope.
       
      repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;
    • hasWarning

      public boolean hasWarning()
       Informational warning which replaces the list of addresses when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      hasWarning in interface InterconnectAttachmentsScopedListOrBuilder
      Returns:
      Whether the warning field is set.
    • getWarning

      public Warning getWarning()
       Informational warning which replaces the list of addresses when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarning in interface InterconnectAttachmentsScopedListOrBuilder
      Returns:
      The warning.
    • setWarning

       Informational warning which replaces the list of addresses when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • setWarning

      public InterconnectAttachmentsScopedList.Builder setWarning(Warning.Builder builderForValue)
       Informational warning which replaces the list of addresses when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • mergeWarning

       Informational warning which replaces the list of addresses when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • clearWarning

       Informational warning which replaces the list of addresses when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningBuilder

      public Warning.Builder getWarningBuilder()
       Informational warning which replaces the list of addresses when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningOrBuilder

      public WarningOrBuilder getWarningOrBuilder()
       Informational warning which replaces the list of addresses when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarningOrBuilder in interface InterconnectAttachmentsScopedListOrBuilder