Class AcceleratorTypesScopedList.Builder

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

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

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

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

      public AcceleratorTypesScopedList.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<AcceleratorTypesScopedList.Builder>
      Throws:
      IOException
    • getAcceleratorTypesList

      public List<AcceleratorType> getAcceleratorTypesList()
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
      Specified by:
      getAcceleratorTypesList in interface AcceleratorTypesScopedListOrBuilder
    • getAcceleratorTypesCount

      public int getAcceleratorTypesCount()
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
      Specified by:
      getAcceleratorTypesCount in interface AcceleratorTypesScopedListOrBuilder
    • getAcceleratorTypes

      public AcceleratorType getAcceleratorTypes(int index)
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
      Specified by:
      getAcceleratorTypes in interface AcceleratorTypesScopedListOrBuilder
    • setAcceleratorTypes

      public AcceleratorTypesScopedList.Builder setAcceleratorTypes(int index, AcceleratorType value)
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
    • setAcceleratorTypes

      public AcceleratorTypesScopedList.Builder setAcceleratorTypes(int index, AcceleratorType.Builder builderForValue)
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
    • addAcceleratorTypes

      public AcceleratorTypesScopedList.Builder addAcceleratorTypes(AcceleratorType value)
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
    • addAcceleratorTypes

      public AcceleratorTypesScopedList.Builder addAcceleratorTypes(int index, AcceleratorType value)
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
    • addAcceleratorTypes

      public AcceleratorTypesScopedList.Builder addAcceleratorTypes(AcceleratorType.Builder builderForValue)
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
    • addAcceleratorTypes

      public AcceleratorTypesScopedList.Builder addAcceleratorTypes(int index, AcceleratorType.Builder builderForValue)
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
    • addAllAcceleratorTypes

      public AcceleratorTypesScopedList.Builder addAllAcceleratorTypes(Iterable<? extends AcceleratorType> values)
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
    • clearAcceleratorTypes

      public AcceleratorTypesScopedList.Builder clearAcceleratorTypes()
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
    • removeAcceleratorTypes

      public AcceleratorTypesScopedList.Builder removeAcceleratorTypes(int index)
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
    • getAcceleratorTypesBuilder

      public AcceleratorType.Builder getAcceleratorTypesBuilder(int index)
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
    • getAcceleratorTypesOrBuilder

      public AcceleratorTypeOrBuilder getAcceleratorTypesOrBuilder(int index)
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
      Specified by:
      getAcceleratorTypesOrBuilder in interface AcceleratorTypesScopedListOrBuilder
    • getAcceleratorTypesOrBuilderList

      public List<? extends AcceleratorTypeOrBuilder> getAcceleratorTypesOrBuilderList()
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
      Specified by:
      getAcceleratorTypesOrBuilderList in interface AcceleratorTypesScopedListOrBuilder
    • addAcceleratorTypesBuilder

      public AcceleratorType.Builder addAcceleratorTypesBuilder()
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
    • addAcceleratorTypesBuilder

      public AcceleratorType.Builder addAcceleratorTypesBuilder(int index)
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
    • getAcceleratorTypesBuilderList

      public List<AcceleratorType.Builder> getAcceleratorTypesBuilderList()
       [Output Only] A list of accelerator types contained in this scope.
       
      repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
    • hasWarning

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

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

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

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

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

      public AcceleratorTypesScopedList.Builder clearWarning()
       [Output Only] An informational warning that appears when the accelerator
       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 accelerator
       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 accelerator
       types list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarningOrBuilder in interface AcceleratorTypesScopedListOrBuilder