Class MachineTypesScopedList.Builder

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

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

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

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

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

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

      public MachineTypesScopedList.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<MachineTypesScopedList.Builder>
      Throws:
      IOException
    • getMachineTypesList

      public List<MachineType> getMachineTypesList()
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
      Specified by:
      getMachineTypesList in interface MachineTypesScopedListOrBuilder
    • getMachineTypesCount

      public int getMachineTypesCount()
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
      Specified by:
      getMachineTypesCount in interface MachineTypesScopedListOrBuilder
    • getMachineTypes

      public MachineType getMachineTypes(int index)
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
      Specified by:
      getMachineTypes in interface MachineTypesScopedListOrBuilder
    • setMachineTypes

      public MachineTypesScopedList.Builder setMachineTypes(int index, MachineType value)
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
    • setMachineTypes

      public MachineTypesScopedList.Builder setMachineTypes(int index, MachineType.Builder builderForValue)
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
    • addMachineTypes

      public MachineTypesScopedList.Builder addMachineTypes(MachineType value)
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
    • addMachineTypes

      public MachineTypesScopedList.Builder addMachineTypes(int index, MachineType value)
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
    • addMachineTypes

      public MachineTypesScopedList.Builder addMachineTypes(MachineType.Builder builderForValue)
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
    • addMachineTypes

      public MachineTypesScopedList.Builder addMachineTypes(int index, MachineType.Builder builderForValue)
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
    • addAllMachineTypes

      public MachineTypesScopedList.Builder addAllMachineTypes(Iterable<? extends MachineType> values)
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
    • clearMachineTypes

      public MachineTypesScopedList.Builder clearMachineTypes()
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
    • removeMachineTypes

      public MachineTypesScopedList.Builder removeMachineTypes(int index)
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
    • getMachineTypesBuilder

      public MachineType.Builder getMachineTypesBuilder(int index)
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
    • getMachineTypesOrBuilder

      public MachineTypeOrBuilder getMachineTypesOrBuilder(int index)
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
      Specified by:
      getMachineTypesOrBuilder in interface MachineTypesScopedListOrBuilder
    • getMachineTypesOrBuilderList

      public List<? extends MachineTypeOrBuilder> getMachineTypesOrBuilderList()
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
      Specified by:
      getMachineTypesOrBuilderList in interface MachineTypesScopedListOrBuilder
    • addMachineTypesBuilder

      public MachineType.Builder addMachineTypesBuilder()
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
    • addMachineTypesBuilder

      public MachineType.Builder addMachineTypesBuilder(int index)
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
    • getMachineTypesBuilderList

      public List<MachineType.Builder> getMachineTypesBuilderList()
       [Output Only] A list of machine types contained in this scope.
       
      repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;
    • hasWarning

      public boolean hasWarning()
       [Output Only] An informational warning that appears when the machine types
       list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      hasWarning in interface MachineTypesScopedListOrBuilder
      Returns:
      Whether the warning field is set.
    • getWarning

      public Warning getWarning()
       [Output Only] An informational warning that appears when the machine types
       list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarning in interface MachineTypesScopedListOrBuilder
      Returns:
      The warning.
    • setWarning

      public MachineTypesScopedList.Builder setWarning(Warning value)
       [Output Only] An informational warning that appears when the machine types
       list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • setWarning

      public MachineTypesScopedList.Builder setWarning(Warning.Builder builderForValue)
       [Output Only] An informational warning that appears when the machine types
       list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • mergeWarning

      public MachineTypesScopedList.Builder mergeWarning(Warning value)
       [Output Only] An informational warning that appears when the machine types
       list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • clearWarning

      public MachineTypesScopedList.Builder clearWarning()
       [Output Only] An informational warning that appears when the machine types
       list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningBuilder

      public Warning.Builder getWarningBuilder()
       [Output Only] An informational warning that appears when the machine types
       list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningOrBuilder

      public WarningOrBuilder getWarningOrBuilder()
       [Output Only] An informational warning that appears when the machine types
       list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarningOrBuilder in interface MachineTypesScopedListOrBuilder