Class NetworkAttachmentsScopedList.Builder

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

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

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

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

      public NetworkAttachmentsScopedList.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<NetworkAttachmentsScopedList.Builder>
      Throws:
      IOException
    • getNetworkAttachmentsList

      public List<NetworkAttachment> getNetworkAttachmentsList()
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
      Specified by:
      getNetworkAttachmentsList in interface NetworkAttachmentsScopedListOrBuilder
    • getNetworkAttachmentsCount

      public int getNetworkAttachmentsCount()
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
      Specified by:
      getNetworkAttachmentsCount in interface NetworkAttachmentsScopedListOrBuilder
    • getNetworkAttachments

      public NetworkAttachment getNetworkAttachments(int index)
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
      Specified by:
      getNetworkAttachments in interface NetworkAttachmentsScopedListOrBuilder
    • setNetworkAttachments

      public NetworkAttachmentsScopedList.Builder setNetworkAttachments(int index, NetworkAttachment value)
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
    • setNetworkAttachments

      public NetworkAttachmentsScopedList.Builder setNetworkAttachments(int index, NetworkAttachment.Builder builderForValue)
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
    • addNetworkAttachments

      public NetworkAttachmentsScopedList.Builder addNetworkAttachments(NetworkAttachment value)
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
    • addNetworkAttachments

      public NetworkAttachmentsScopedList.Builder addNetworkAttachments(int index, NetworkAttachment value)
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
    • addNetworkAttachments

      public NetworkAttachmentsScopedList.Builder addNetworkAttachments(NetworkAttachment.Builder builderForValue)
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
    • addNetworkAttachments

      public NetworkAttachmentsScopedList.Builder addNetworkAttachments(int index, NetworkAttachment.Builder builderForValue)
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
    • addAllNetworkAttachments

      public NetworkAttachmentsScopedList.Builder addAllNetworkAttachments(Iterable<? extends NetworkAttachment> values)
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
    • clearNetworkAttachments

      public NetworkAttachmentsScopedList.Builder clearNetworkAttachments()
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
    • removeNetworkAttachments

      public NetworkAttachmentsScopedList.Builder removeNetworkAttachments(int index)
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
    • getNetworkAttachmentsBuilder

      public NetworkAttachment.Builder getNetworkAttachmentsBuilder(int index)
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
    • getNetworkAttachmentsOrBuilder

      public NetworkAttachmentOrBuilder getNetworkAttachmentsOrBuilder(int index)
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
      Specified by:
      getNetworkAttachmentsOrBuilder in interface NetworkAttachmentsScopedListOrBuilder
    • getNetworkAttachmentsOrBuilderList

      public List<? extends NetworkAttachmentOrBuilder> getNetworkAttachmentsOrBuilderList()
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
      Specified by:
      getNetworkAttachmentsOrBuilderList in interface NetworkAttachmentsScopedListOrBuilder
    • addNetworkAttachmentsBuilder

      public NetworkAttachment.Builder addNetworkAttachmentsBuilder()
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
    • addNetworkAttachmentsBuilder

      public NetworkAttachment.Builder addNetworkAttachmentsBuilder(int index)
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
    • getNetworkAttachmentsBuilderList

      public List<NetworkAttachment.Builder> getNetworkAttachmentsBuilderList()
       A list of NetworkAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
    • hasWarning

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

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

      public NetworkAttachmentsScopedList.Builder setWarning(Warning value)
       Informational warning which replaces the list of
       network attachments when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • setWarning

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

      public NetworkAttachmentsScopedList.Builder mergeWarning(Warning value)
       Informational warning which replaces the list of
       network attachments when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • clearWarning

      public NetworkAttachmentsScopedList.Builder clearWarning()
       Informational warning which replaces the list of
       network attachments 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
       network attachments when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningOrBuilder

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