Class InstancesScopedList.Builder

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

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

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

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

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

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

      public InstancesScopedList.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<InstancesScopedList.Builder>
      Throws:
      IOException
    • getInstancesList

      public List<Instance> getInstancesList()
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
      Specified by:
      getInstancesList in interface InstancesScopedListOrBuilder
    • getInstancesCount

      public int getInstancesCount()
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
      Specified by:
      getInstancesCount in interface InstancesScopedListOrBuilder
    • getInstances

      public Instance getInstances(int index)
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
      Specified by:
      getInstances in interface InstancesScopedListOrBuilder
    • setInstances

      public InstancesScopedList.Builder setInstances(int index, Instance value)
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
    • setInstances

      public InstancesScopedList.Builder setInstances(int index, Instance.Builder builderForValue)
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
    • addInstances

      public InstancesScopedList.Builder addInstances(Instance value)
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
    • addInstances

      public InstancesScopedList.Builder addInstances(int index, Instance value)
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
    • addInstances

      public InstancesScopedList.Builder addInstances(Instance.Builder builderForValue)
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
    • addInstances

      public InstancesScopedList.Builder addInstances(int index, Instance.Builder builderForValue)
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
    • addAllInstances

      public InstancesScopedList.Builder addAllInstances(Iterable<? extends Instance> values)
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
    • clearInstances

      public InstancesScopedList.Builder clearInstances()
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
    • removeInstances

      public InstancesScopedList.Builder removeInstances(int index)
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
    • getInstancesBuilder

      public Instance.Builder getInstancesBuilder(int index)
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
    • getInstancesOrBuilder

      public InstanceOrBuilder getInstancesOrBuilder(int index)
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
      Specified by:
      getInstancesOrBuilder in interface InstancesScopedListOrBuilder
    • getInstancesOrBuilderList

      public List<? extends InstanceOrBuilder> getInstancesOrBuilderList()
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
      Specified by:
      getInstancesOrBuilderList in interface InstancesScopedListOrBuilder
    • addInstancesBuilder

      public Instance.Builder addInstancesBuilder()
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
    • addInstancesBuilder

      public Instance.Builder addInstancesBuilder(int index)
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
    • getInstancesBuilderList

      public List<Instance.Builder> getInstancesBuilderList()
       [Output Only] A list of instances contained in this scope.
       
      repeated .google.cloud.compute.v1.Instance instances = 29097598;
    • hasWarning

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

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

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

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

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

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