Class AutoscalersScopedList.Builder

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

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

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

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

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

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

      public AutoscalersScopedList.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<AutoscalersScopedList.Builder>
      Throws:
      IOException
    • getAutoscalersList

      public List<Autoscaler> getAutoscalersList()
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
      Specified by:
      getAutoscalersList in interface AutoscalersScopedListOrBuilder
    • getAutoscalersCount

      public int getAutoscalersCount()
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
      Specified by:
      getAutoscalersCount in interface AutoscalersScopedListOrBuilder
    • getAutoscalers

      public Autoscaler getAutoscalers(int index)
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
      Specified by:
      getAutoscalers in interface AutoscalersScopedListOrBuilder
    • setAutoscalers

      public AutoscalersScopedList.Builder setAutoscalers(int index, Autoscaler value)
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
    • setAutoscalers

      public AutoscalersScopedList.Builder setAutoscalers(int index, Autoscaler.Builder builderForValue)
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
    • addAutoscalers

      public AutoscalersScopedList.Builder addAutoscalers(Autoscaler value)
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
    • addAutoscalers

      public AutoscalersScopedList.Builder addAutoscalers(int index, Autoscaler value)
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
    • addAutoscalers

      public AutoscalersScopedList.Builder addAutoscalers(Autoscaler.Builder builderForValue)
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
    • addAutoscalers

      public AutoscalersScopedList.Builder addAutoscalers(int index, Autoscaler.Builder builderForValue)
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
    • addAllAutoscalers

      public AutoscalersScopedList.Builder addAllAutoscalers(Iterable<? extends Autoscaler> values)
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
    • clearAutoscalers

      public AutoscalersScopedList.Builder clearAutoscalers()
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
    • removeAutoscalers

      public AutoscalersScopedList.Builder removeAutoscalers(int index)
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
    • getAutoscalersBuilder

      public Autoscaler.Builder getAutoscalersBuilder(int index)
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
    • getAutoscalersOrBuilder

      public AutoscalerOrBuilder getAutoscalersOrBuilder(int index)
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
      Specified by:
      getAutoscalersOrBuilder in interface AutoscalersScopedListOrBuilder
    • getAutoscalersOrBuilderList

      public List<? extends AutoscalerOrBuilder> getAutoscalersOrBuilderList()
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
      Specified by:
      getAutoscalersOrBuilderList in interface AutoscalersScopedListOrBuilder
    • addAutoscalersBuilder

      public Autoscaler.Builder addAutoscalersBuilder()
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
    • addAutoscalersBuilder

      public Autoscaler.Builder addAutoscalersBuilder(int index)
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
    • getAutoscalersBuilderList

      public List<Autoscaler.Builder> getAutoscalersBuilderList()
       [Output Only] A list of autoscalers contained in this scope.
       
      repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
    • hasWarning

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

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

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

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

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

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