Class InstanceTemplatesScopedList.Builder

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

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

      public InstanceTemplatesScopedList 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 InstanceTemplatesScopedList buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public InstanceTemplatesScopedList.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<InstanceTemplatesScopedList.Builder>
      Throws:
      IOException
    • getInstanceTemplatesList

      public List<InstanceTemplate> getInstanceTemplatesList()
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
      Specified by:
      getInstanceTemplatesList in interface InstanceTemplatesScopedListOrBuilder
    • getInstanceTemplatesCount

      public int getInstanceTemplatesCount()
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
      Specified by:
      getInstanceTemplatesCount in interface InstanceTemplatesScopedListOrBuilder
    • getInstanceTemplates

      public InstanceTemplate getInstanceTemplates(int index)
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
      Specified by:
      getInstanceTemplates in interface InstanceTemplatesScopedListOrBuilder
    • setInstanceTemplates

      public InstanceTemplatesScopedList.Builder setInstanceTemplates(int index, InstanceTemplate value)
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
    • setInstanceTemplates

      public InstanceTemplatesScopedList.Builder setInstanceTemplates(int index, InstanceTemplate.Builder builderForValue)
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
    • addInstanceTemplates

      public InstanceTemplatesScopedList.Builder addInstanceTemplates(InstanceTemplate value)
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
    • addInstanceTemplates

      public InstanceTemplatesScopedList.Builder addInstanceTemplates(int index, InstanceTemplate value)
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
    • addInstanceTemplates

      public InstanceTemplatesScopedList.Builder addInstanceTemplates(InstanceTemplate.Builder builderForValue)
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
    • addInstanceTemplates

      public InstanceTemplatesScopedList.Builder addInstanceTemplates(int index, InstanceTemplate.Builder builderForValue)
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
    • addAllInstanceTemplates

      public InstanceTemplatesScopedList.Builder addAllInstanceTemplates(Iterable<? extends InstanceTemplate> values)
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
    • clearInstanceTemplates

      public InstanceTemplatesScopedList.Builder clearInstanceTemplates()
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
    • removeInstanceTemplates

      public InstanceTemplatesScopedList.Builder removeInstanceTemplates(int index)
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
    • getInstanceTemplatesBuilder

      public InstanceTemplate.Builder getInstanceTemplatesBuilder(int index)
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
    • getInstanceTemplatesOrBuilder

      public InstanceTemplateOrBuilder getInstanceTemplatesOrBuilder(int index)
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
      Specified by:
      getInstanceTemplatesOrBuilder in interface InstanceTemplatesScopedListOrBuilder
    • getInstanceTemplatesOrBuilderList

      public List<? extends InstanceTemplateOrBuilder> getInstanceTemplatesOrBuilderList()
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
      Specified by:
      getInstanceTemplatesOrBuilderList in interface InstanceTemplatesScopedListOrBuilder
    • addInstanceTemplatesBuilder

      public InstanceTemplate.Builder addInstanceTemplatesBuilder()
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
    • addInstanceTemplatesBuilder

      public InstanceTemplate.Builder addInstanceTemplatesBuilder(int index)
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
    • getInstanceTemplatesBuilderList

      public List<InstanceTemplate.Builder> getInstanceTemplatesBuilderList()
       [Output Only] A list of instance templates that are contained within
       the specified project and zone.
       
      repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
    • hasWarning

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

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

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

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

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

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

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

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