Class DisksScopedList.Builder

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

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

      public DisksScopedList.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<DisksScopedList.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<DisksScopedList.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public DisksScopedList.Builder mergeFrom(DisksScopedList other)
    • isInitialized

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

      public DisksScopedList.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<DisksScopedList.Builder>
      Throws:
      IOException
    • getDisksList

      public List<Disk> getDisksList()
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
      Specified by:
      getDisksList in interface DisksScopedListOrBuilder
    • getDisksCount

      public int getDisksCount()
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
      Specified by:
      getDisksCount in interface DisksScopedListOrBuilder
    • getDisks

      public Disk getDisks(int index)
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
      Specified by:
      getDisks in interface DisksScopedListOrBuilder
    • setDisks

      public DisksScopedList.Builder setDisks(int index, Disk value)
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
    • setDisks

      public DisksScopedList.Builder setDisks(int index, Disk.Builder builderForValue)
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
    • addDisks

      public DisksScopedList.Builder addDisks(Disk value)
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
    • addDisks

      public DisksScopedList.Builder addDisks(int index, Disk value)
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
    • addDisks

      public DisksScopedList.Builder addDisks(Disk.Builder builderForValue)
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
    • addDisks

      public DisksScopedList.Builder addDisks(int index, Disk.Builder builderForValue)
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
    • addAllDisks

      public DisksScopedList.Builder addAllDisks(Iterable<? extends Disk> values)
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
    • clearDisks

      public DisksScopedList.Builder clearDisks()
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
    • removeDisks

      public DisksScopedList.Builder removeDisks(int index)
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
    • getDisksBuilder

      public Disk.Builder getDisksBuilder(int index)
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
    • getDisksOrBuilder

      public DiskOrBuilder getDisksOrBuilder(int index)
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
      Specified by:
      getDisksOrBuilder in interface DisksScopedListOrBuilder
    • getDisksOrBuilderList

      public List<? extends DiskOrBuilder> getDisksOrBuilderList()
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
      Specified by:
      getDisksOrBuilderList in interface DisksScopedListOrBuilder
    • addDisksBuilder

      public Disk.Builder addDisksBuilder()
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
    • addDisksBuilder

      public Disk.Builder addDisksBuilder(int index)
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
    • getDisksBuilderList

      public List<Disk.Builder> getDisksBuilderList()
       [Output Only] A list of disks contained in this scope.
       
      repeated .google.cloud.compute.v1.Disk disks = 95594102;
    • hasWarning

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

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

      public DisksScopedList.Builder setWarning(Warning value)
       [Output Only] Informational warning which replaces the list of disks when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • setWarning

      public DisksScopedList.Builder setWarning(Warning.Builder builderForValue)
       [Output Only] Informational warning which replaces the list of disks when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • mergeWarning

      public DisksScopedList.Builder mergeWarning(Warning value)
       [Output Only] Informational warning which replaces the list of disks when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • clearWarning

      public DisksScopedList.Builder clearWarning()
       [Output Only] Informational warning which replaces the list of disks when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningBuilder

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

      public WarningOrBuilder getWarningOrBuilder()
       [Output Only] Informational warning which replaces the list of disks when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarningOrBuilder in interface DisksScopedListOrBuilder