Class DiskTypesScopedList.Builder

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

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

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

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

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

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

      public DiskTypesScopedList.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<DiskTypesScopedList.Builder>
      Throws:
      IOException
    • getDiskTypesList

      public List<DiskType> getDiskTypesList()
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
      Specified by:
      getDiskTypesList in interface DiskTypesScopedListOrBuilder
    • getDiskTypesCount

      public int getDiskTypesCount()
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
      Specified by:
      getDiskTypesCount in interface DiskTypesScopedListOrBuilder
    • getDiskTypes

      public DiskType getDiskTypes(int index)
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
      Specified by:
      getDiskTypes in interface DiskTypesScopedListOrBuilder
    • setDiskTypes

      public DiskTypesScopedList.Builder setDiskTypes(int index, DiskType value)
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
    • setDiskTypes

      public DiskTypesScopedList.Builder setDiskTypes(int index, DiskType.Builder builderForValue)
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
    • addDiskTypes

      public DiskTypesScopedList.Builder addDiskTypes(DiskType value)
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
    • addDiskTypes

      public DiskTypesScopedList.Builder addDiskTypes(int index, DiskType value)
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
    • addDiskTypes

      public DiskTypesScopedList.Builder addDiskTypes(DiskType.Builder builderForValue)
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
    • addDiskTypes

      public DiskTypesScopedList.Builder addDiskTypes(int index, DiskType.Builder builderForValue)
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
    • addAllDiskTypes

      public DiskTypesScopedList.Builder addAllDiskTypes(Iterable<? extends DiskType> values)
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
    • clearDiskTypes

      public DiskTypesScopedList.Builder clearDiskTypes()
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
    • removeDiskTypes

      public DiskTypesScopedList.Builder removeDiskTypes(int index)
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
    • getDiskTypesBuilder

      public DiskType.Builder getDiskTypesBuilder(int index)
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
    • getDiskTypesOrBuilder

      public DiskTypeOrBuilder getDiskTypesOrBuilder(int index)
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
      Specified by:
      getDiskTypesOrBuilder in interface DiskTypesScopedListOrBuilder
    • getDiskTypesOrBuilderList

      public List<? extends DiskTypeOrBuilder> getDiskTypesOrBuilderList()
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
      Specified by:
      getDiskTypesOrBuilderList in interface DiskTypesScopedListOrBuilder
    • addDiskTypesBuilder

      public DiskType.Builder addDiskTypesBuilder()
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
    • addDiskTypesBuilder

      public DiskType.Builder addDiskTypesBuilder(int index)
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
    • getDiskTypesBuilderList

      public List<DiskType.Builder> getDiskTypesBuilderList()
       [Output Only] A list of disk types contained in this scope.
       
      repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;
    • hasWarning

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

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

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

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

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

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