Class HealthSourcesScopedList.Builder

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

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

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

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

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

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

      public HealthSourcesScopedList.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<HealthSourcesScopedList.Builder>
      Throws:
      IOException
    • getHealthSourcesList

      public List<HealthSource> getHealthSourcesList()
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
      Specified by:
      getHealthSourcesList in interface HealthSourcesScopedListOrBuilder
    • getHealthSourcesCount

      public int getHealthSourcesCount()
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
      Specified by:
      getHealthSourcesCount in interface HealthSourcesScopedListOrBuilder
    • getHealthSources

      public HealthSource getHealthSources(int index)
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
      Specified by:
      getHealthSources in interface HealthSourcesScopedListOrBuilder
    • setHealthSources

      public HealthSourcesScopedList.Builder setHealthSources(int index, HealthSource value)
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
    • setHealthSources

      public HealthSourcesScopedList.Builder setHealthSources(int index, HealthSource.Builder builderForValue)
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
    • addHealthSources

      public HealthSourcesScopedList.Builder addHealthSources(HealthSource value)
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
    • addHealthSources

      public HealthSourcesScopedList.Builder addHealthSources(int index, HealthSource value)
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
    • addHealthSources

      public HealthSourcesScopedList.Builder addHealthSources(HealthSource.Builder builderForValue)
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
    • addHealthSources

      public HealthSourcesScopedList.Builder addHealthSources(int index, HealthSource.Builder builderForValue)
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
    • addAllHealthSources

      public HealthSourcesScopedList.Builder addAllHealthSources(Iterable<? extends HealthSource> values)
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
    • clearHealthSources

      public HealthSourcesScopedList.Builder clearHealthSources()
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
    • removeHealthSources

      public HealthSourcesScopedList.Builder removeHealthSources(int index)
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
    • getHealthSourcesBuilder

      public HealthSource.Builder getHealthSourcesBuilder(int index)
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
    • getHealthSourcesOrBuilder

      public HealthSourceOrBuilder getHealthSourcesOrBuilder(int index)
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
      Specified by:
      getHealthSourcesOrBuilder in interface HealthSourcesScopedListOrBuilder
    • getHealthSourcesOrBuilderList

      public List<? extends HealthSourceOrBuilder> getHealthSourcesOrBuilderList()
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
      Specified by:
      getHealthSourcesOrBuilderList in interface HealthSourcesScopedListOrBuilder
    • addHealthSourcesBuilder

      public HealthSource.Builder addHealthSourcesBuilder()
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
    • addHealthSourcesBuilder

      public HealthSource.Builder addHealthSourcesBuilder(int index)
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
    • getHealthSourcesBuilderList

      public List<HealthSource.Builder> getHealthSourcesBuilderList()
       A list of HealthSources contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;
    • hasWarning

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

      public Warning getWarning()
       Informational warning which replaces the list of
       health sources when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarning in interface HealthSourcesScopedListOrBuilder
      Returns:
      The warning.
    • setWarning

      public HealthSourcesScopedList.Builder setWarning(Warning value)
       Informational warning which replaces the list of
       health sources when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • setWarning

      public HealthSourcesScopedList.Builder setWarning(Warning.Builder builderForValue)
       Informational warning which replaces the list of
       health sources when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • mergeWarning

      public HealthSourcesScopedList.Builder mergeWarning(Warning value)
       Informational warning which replaces the list of
       health sources when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • clearWarning

      public HealthSourcesScopedList.Builder clearWarning()
       Informational warning which replaces the list of
       health sources when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningBuilder

      public Warning.Builder getWarningBuilder()
       Informational warning which replaces the list of
       health sources when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningOrBuilder

      public WarningOrBuilder getWarningOrBuilder()
       Informational warning which replaces the list of
       health sources when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarningOrBuilder in interface HealthSourcesScopedListOrBuilder