Class StoragePoolsScopedList.Builder

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

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

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

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

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

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

      public StoragePoolsScopedList.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<StoragePoolsScopedList.Builder>
      Throws:
      IOException
    • getStoragePoolsList

      public List<StoragePool> getStoragePoolsList()
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
      Specified by:
      getStoragePoolsList in interface StoragePoolsScopedListOrBuilder
    • getStoragePoolsCount

      public int getStoragePoolsCount()
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
      Specified by:
      getStoragePoolsCount in interface StoragePoolsScopedListOrBuilder
    • getStoragePools

      public StoragePool getStoragePools(int index)
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
      Specified by:
      getStoragePools in interface StoragePoolsScopedListOrBuilder
    • setStoragePools

      public StoragePoolsScopedList.Builder setStoragePools(int index, StoragePool value)
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
    • setStoragePools

      public StoragePoolsScopedList.Builder setStoragePools(int index, StoragePool.Builder builderForValue)
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
    • addStoragePools

      public StoragePoolsScopedList.Builder addStoragePools(StoragePool value)
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
    • addStoragePools

      public StoragePoolsScopedList.Builder addStoragePools(int index, StoragePool value)
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
    • addStoragePools

      public StoragePoolsScopedList.Builder addStoragePools(StoragePool.Builder builderForValue)
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
    • addStoragePools

      public StoragePoolsScopedList.Builder addStoragePools(int index, StoragePool.Builder builderForValue)
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
    • addAllStoragePools

      public StoragePoolsScopedList.Builder addAllStoragePools(Iterable<? extends StoragePool> values)
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
    • clearStoragePools

      public StoragePoolsScopedList.Builder clearStoragePools()
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
    • removeStoragePools

      public StoragePoolsScopedList.Builder removeStoragePools(int index)
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
    • getStoragePoolsBuilder

      public StoragePool.Builder getStoragePoolsBuilder(int index)
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
    • getStoragePoolsOrBuilder

      public StoragePoolOrBuilder getStoragePoolsOrBuilder(int index)
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
      Specified by:
      getStoragePoolsOrBuilder in interface StoragePoolsScopedListOrBuilder
    • getStoragePoolsOrBuilderList

      public List<? extends StoragePoolOrBuilder> getStoragePoolsOrBuilderList()
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
      Specified by:
      getStoragePoolsOrBuilderList in interface StoragePoolsScopedListOrBuilder
    • addStoragePoolsBuilder

      public StoragePool.Builder addStoragePoolsBuilder()
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
    • addStoragePoolsBuilder

      public StoragePool.Builder addStoragePoolsBuilder(int index)
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
    • getStoragePoolsBuilderList

      public List<StoragePool.Builder> getStoragePoolsBuilderList()
       [Output Only] A list of storage pool contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515;
    • hasWarning

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

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

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

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

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

      public StoragePoolsScopedList.Builder clearWarning()
       [Output Only] Informational warning which replaces the list of storage pool
       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 storage pool
       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 storage pool
       when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarningOrBuilder in interface StoragePoolsScopedListOrBuilder