Class InstanceGroupsScopedList.Builder

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

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

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

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

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

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

      public InstanceGroupsScopedList.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<InstanceGroupsScopedList.Builder>
      Throws:
      IOException
    • getInstanceGroupsList

      public List<InstanceGroup> getInstanceGroupsList()
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
      Specified by:
      getInstanceGroupsList in interface InstanceGroupsScopedListOrBuilder
    • getInstanceGroupsCount

      public int getInstanceGroupsCount()
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
      Specified by:
      getInstanceGroupsCount in interface InstanceGroupsScopedListOrBuilder
    • getInstanceGroups

      public InstanceGroup getInstanceGroups(int index)
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
      Specified by:
      getInstanceGroups in interface InstanceGroupsScopedListOrBuilder
    • setInstanceGroups

      public InstanceGroupsScopedList.Builder setInstanceGroups(int index, InstanceGroup value)
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
    • setInstanceGroups

      public InstanceGroupsScopedList.Builder setInstanceGroups(int index, InstanceGroup.Builder builderForValue)
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
    • addInstanceGroups

      public InstanceGroupsScopedList.Builder addInstanceGroups(InstanceGroup value)
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
    • addInstanceGroups

      public InstanceGroupsScopedList.Builder addInstanceGroups(int index, InstanceGroup value)
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
    • addInstanceGroups

      public InstanceGroupsScopedList.Builder addInstanceGroups(InstanceGroup.Builder builderForValue)
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
    • addInstanceGroups

      public InstanceGroupsScopedList.Builder addInstanceGroups(int index, InstanceGroup.Builder builderForValue)
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
    • addAllInstanceGroups

      public InstanceGroupsScopedList.Builder addAllInstanceGroups(Iterable<? extends InstanceGroup> values)
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
    • clearInstanceGroups

      public InstanceGroupsScopedList.Builder clearInstanceGroups()
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
    • removeInstanceGroups

      public InstanceGroupsScopedList.Builder removeInstanceGroups(int index)
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
    • getInstanceGroupsBuilder

      public InstanceGroup.Builder getInstanceGroupsBuilder(int index)
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
    • getInstanceGroupsOrBuilder

      public InstanceGroupOrBuilder getInstanceGroupsOrBuilder(int index)
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
      Specified by:
      getInstanceGroupsOrBuilder in interface InstanceGroupsScopedListOrBuilder
    • getInstanceGroupsOrBuilderList

      public List<? extends InstanceGroupOrBuilder> getInstanceGroupsOrBuilderList()
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
      Specified by:
      getInstanceGroupsOrBuilderList in interface InstanceGroupsScopedListOrBuilder
    • addInstanceGroupsBuilder

      public InstanceGroup.Builder addInstanceGroupsBuilder()
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
    • addInstanceGroupsBuilder

      public InstanceGroup.Builder addInstanceGroupsBuilder(int index)
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
    • getInstanceGroupsBuilderList

      public List<InstanceGroup.Builder> getInstanceGroupsBuilderList()
       Output only. [Output Only] The list ofinstance
       groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
    • hasWarning

      public boolean hasWarning()
       Output only. [Output Only] An informational warning that replaces the list of
       instance groups when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      hasWarning in interface InstanceGroupsScopedListOrBuilder
      Returns:
      Whether the warning field is set.
    • getWarning

      public Warning getWarning()
       Output only. [Output Only] An informational warning that replaces the list of
       instance groups when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarning in interface InstanceGroupsScopedListOrBuilder
      Returns:
      The warning.
    • setWarning

      public InstanceGroupsScopedList.Builder setWarning(Warning value)
       Output only. [Output Only] An informational warning that replaces the list of
       instance groups when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • setWarning

      public InstanceGroupsScopedList.Builder setWarning(Warning.Builder builderForValue)
       Output only. [Output Only] An informational warning that replaces the list of
       instance groups when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • mergeWarning

      public InstanceGroupsScopedList.Builder mergeWarning(Warning value)
       Output only. [Output Only] An informational warning that replaces the list of
       instance groups when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • clearWarning

      public InstanceGroupsScopedList.Builder clearWarning()
       Output only. [Output Only] An informational warning that replaces the list of
       instance groups when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningBuilder

      public Warning.Builder getWarningBuilder()
       Output only. [Output Only] An informational warning that replaces the list of
       instance groups when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningOrBuilder

      public WarningOrBuilder getWarningOrBuilder()
       Output only. [Output Only] An informational warning that replaces the list of
       instance groups when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarningOrBuilder in interface InstanceGroupsScopedListOrBuilder