Class HealthChecksScopedList.Builder

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

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

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

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

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

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

      public HealthChecksScopedList.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<HealthChecksScopedList.Builder>
      Throws:
      IOException
    • getHealthChecksList

      public List<HealthCheck> getHealthChecksList()
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
      Specified by:
      getHealthChecksList in interface HealthChecksScopedListOrBuilder
    • getHealthChecksCount

      public int getHealthChecksCount()
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
      Specified by:
      getHealthChecksCount in interface HealthChecksScopedListOrBuilder
    • getHealthChecks

      public HealthCheck getHealthChecks(int index)
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
      Specified by:
      getHealthChecks in interface HealthChecksScopedListOrBuilder
    • setHealthChecks

      public HealthChecksScopedList.Builder setHealthChecks(int index, HealthCheck value)
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
    • setHealthChecks

      public HealthChecksScopedList.Builder setHealthChecks(int index, HealthCheck.Builder builderForValue)
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
    • addHealthChecks

      public HealthChecksScopedList.Builder addHealthChecks(HealthCheck value)
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
    • addHealthChecks

      public HealthChecksScopedList.Builder addHealthChecks(int index, HealthCheck value)
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
    • addHealthChecks

      public HealthChecksScopedList.Builder addHealthChecks(HealthCheck.Builder builderForValue)
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
    • addHealthChecks

      public HealthChecksScopedList.Builder addHealthChecks(int index, HealthCheck.Builder builderForValue)
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
    • addAllHealthChecks

      public HealthChecksScopedList.Builder addAllHealthChecks(Iterable<? extends HealthCheck> values)
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
    • clearHealthChecks

      public HealthChecksScopedList.Builder clearHealthChecks()
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
    • removeHealthChecks

      public HealthChecksScopedList.Builder removeHealthChecks(int index)
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
    • getHealthChecksBuilder

      public HealthCheck.Builder getHealthChecksBuilder(int index)
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
    • getHealthChecksOrBuilder

      public HealthCheckOrBuilder getHealthChecksOrBuilder(int index)
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
      Specified by:
      getHealthChecksOrBuilder in interface HealthChecksScopedListOrBuilder
    • getHealthChecksOrBuilderList

      public List<? extends HealthCheckOrBuilder> getHealthChecksOrBuilderList()
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
      Specified by:
      getHealthChecksOrBuilderList in interface HealthChecksScopedListOrBuilder
    • addHealthChecksBuilder

      public HealthCheck.Builder addHealthChecksBuilder()
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
    • addHealthChecksBuilder

      public HealthCheck.Builder addHealthChecksBuilder(int index)
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
    • getHealthChecksBuilderList

      public List<HealthCheck.Builder> getHealthChecksBuilderList()
       A list of HealthChecks contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheck health_checks = 448370606;
    • hasWarning

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

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

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

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

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

      public HealthChecksScopedList.Builder clearWarning()
       Informational warning which replaces the list of
       backend services 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
       backend services when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningOrBuilder

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