Class StoragePoolTypesScopedList.Builder

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

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

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

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

      public StoragePoolTypesScopedList.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<StoragePoolTypesScopedList.Builder>
      Throws:
      IOException
    • getStoragePoolTypesList

      public List<StoragePoolType> getStoragePoolTypesList()
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
      Specified by:
      getStoragePoolTypesList in interface StoragePoolTypesScopedListOrBuilder
    • getStoragePoolTypesCount

      public int getStoragePoolTypesCount()
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
      Specified by:
      getStoragePoolTypesCount in interface StoragePoolTypesScopedListOrBuilder
    • getStoragePoolTypes

      public StoragePoolType getStoragePoolTypes(int index)
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
      Specified by:
      getStoragePoolTypes in interface StoragePoolTypesScopedListOrBuilder
    • setStoragePoolTypes

      public StoragePoolTypesScopedList.Builder setStoragePoolTypes(int index, StoragePoolType value)
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
    • setStoragePoolTypes

      public StoragePoolTypesScopedList.Builder setStoragePoolTypes(int index, StoragePoolType.Builder builderForValue)
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
    • addStoragePoolTypes

      public StoragePoolTypesScopedList.Builder addStoragePoolTypes(StoragePoolType value)
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
    • addStoragePoolTypes

      public StoragePoolTypesScopedList.Builder addStoragePoolTypes(int index, StoragePoolType value)
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
    • addStoragePoolTypes

      public StoragePoolTypesScopedList.Builder addStoragePoolTypes(StoragePoolType.Builder builderForValue)
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
    • addStoragePoolTypes

      public StoragePoolTypesScopedList.Builder addStoragePoolTypes(int index, StoragePoolType.Builder builderForValue)
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
    • addAllStoragePoolTypes

      public StoragePoolTypesScopedList.Builder addAllStoragePoolTypes(Iterable<? extends StoragePoolType> values)
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
    • clearStoragePoolTypes

      public StoragePoolTypesScopedList.Builder clearStoragePoolTypes()
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
    • removeStoragePoolTypes

      public StoragePoolTypesScopedList.Builder removeStoragePoolTypes(int index)
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
    • getStoragePoolTypesBuilder

      public StoragePoolType.Builder getStoragePoolTypesBuilder(int index)
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
    • getStoragePoolTypesOrBuilder

      public StoragePoolTypeOrBuilder getStoragePoolTypesOrBuilder(int index)
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
      Specified by:
      getStoragePoolTypesOrBuilder in interface StoragePoolTypesScopedListOrBuilder
    • getStoragePoolTypesOrBuilderList

      public List<? extends StoragePoolTypeOrBuilder> getStoragePoolTypesOrBuilderList()
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
      Specified by:
      getStoragePoolTypesOrBuilderList in interface StoragePoolTypesScopedListOrBuilder
    • addStoragePoolTypesBuilder

      public StoragePoolType.Builder addStoragePoolTypesBuilder()
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
    • addStoragePoolTypesBuilder

      public StoragePoolType.Builder addStoragePoolTypesBuilder(int index)
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
    • getStoragePoolTypesBuilderList

      public List<StoragePoolType.Builder> getStoragePoolTypesBuilderList()
       [Output Only] A list of storage pool types contained in this scope.
       
      repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482;
    • hasWarning

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

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

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

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

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

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