Class HealthCheckServicesScopedList.Builder

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public HealthCheckServicesScopedList.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<HealthCheckServicesScopedList.Builder>
      Throws:
      IOException
    • getResourcesList

      public List<HealthCheckService> getResourcesList()
       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
      Specified by:
      getResourcesList in interface HealthCheckServicesScopedListOrBuilder
    • getResourcesCount

      public int getResourcesCount()
       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
      Specified by:
      getResourcesCount in interface HealthCheckServicesScopedListOrBuilder
    • getResources

      public HealthCheckService getResources(int index)
       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
      Specified by:
      getResources in interface HealthCheckServicesScopedListOrBuilder
    • setResources

      public HealthCheckServicesScopedList.Builder setResources(int index, HealthCheckService value)
       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
    • setResources

      public HealthCheckServicesScopedList.Builder setResources(int index, HealthCheckService.Builder builderForValue)
       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
    • addResources

       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
    • addResources

      public HealthCheckServicesScopedList.Builder addResources(int index, HealthCheckService value)
       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
    • addResources

       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
    • addResources

      public HealthCheckServicesScopedList.Builder addResources(int index, HealthCheckService.Builder builderForValue)
       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
    • addAllResources

      public HealthCheckServicesScopedList.Builder addAllResources(Iterable<? extends HealthCheckService> values)
       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
    • clearResources

      public HealthCheckServicesScopedList.Builder clearResources()
       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
    • removeResources

      public HealthCheckServicesScopedList.Builder removeResources(int index)
       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
    • getResourcesBuilder

      public HealthCheckService.Builder getResourcesBuilder(int index)
       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
    • getResourcesOrBuilder

      public HealthCheckServiceOrBuilder getResourcesOrBuilder(int index)
       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
      Specified by:
      getResourcesOrBuilder in interface HealthCheckServicesScopedListOrBuilder
    • getResourcesOrBuilderList

      public List<? extends HealthCheckServiceOrBuilder> getResourcesOrBuilderList()
       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
      Specified by:
      getResourcesOrBuilderList in interface HealthCheckServicesScopedListOrBuilder
    • addResourcesBuilder

      public HealthCheckService.Builder addResourcesBuilder()
       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
    • addResourcesBuilder

      public HealthCheckService.Builder addResourcesBuilder(int index)
       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
    • getResourcesBuilderList

      public List<HealthCheckService.Builder> getResourcesBuilderList()
       A list of HealthCheckServices contained in this scope.
       
      repeated .google.cloud.compute.v1.HealthCheckService resources = 164412965;
    • 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 HealthCheckServicesScopedListOrBuilder
      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 HealthCheckServicesScopedListOrBuilder
      Returns:
      The warning.
    • setWarning

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

      public HealthCheckServicesScopedList.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 HealthCheckServicesScopedList.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

       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 HealthCheckServicesScopedListOrBuilder