Class NodeTemplatesScopedList.Builder

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

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

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

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

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

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

      public NodeTemplatesScopedList.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<NodeTemplatesScopedList.Builder>
      Throws:
      IOException
    • getNodeTemplatesList

      public List<NodeTemplate> getNodeTemplatesList()
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
      Specified by:
      getNodeTemplatesList in interface NodeTemplatesScopedListOrBuilder
    • getNodeTemplatesCount

      public int getNodeTemplatesCount()
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
      Specified by:
      getNodeTemplatesCount in interface NodeTemplatesScopedListOrBuilder
    • getNodeTemplates

      public NodeTemplate getNodeTemplates(int index)
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
      Specified by:
      getNodeTemplates in interface NodeTemplatesScopedListOrBuilder
    • setNodeTemplates

      public NodeTemplatesScopedList.Builder setNodeTemplates(int index, NodeTemplate value)
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
    • setNodeTemplates

      public NodeTemplatesScopedList.Builder setNodeTemplates(int index, NodeTemplate.Builder builderForValue)
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
    • addNodeTemplates

      public NodeTemplatesScopedList.Builder addNodeTemplates(NodeTemplate value)
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
    • addNodeTemplates

      public NodeTemplatesScopedList.Builder addNodeTemplates(int index, NodeTemplate value)
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
    • addNodeTemplates

      public NodeTemplatesScopedList.Builder addNodeTemplates(NodeTemplate.Builder builderForValue)
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
    • addNodeTemplates

      public NodeTemplatesScopedList.Builder addNodeTemplates(int index, NodeTemplate.Builder builderForValue)
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
    • addAllNodeTemplates

      public NodeTemplatesScopedList.Builder addAllNodeTemplates(Iterable<? extends NodeTemplate> values)
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
    • clearNodeTemplates

      public NodeTemplatesScopedList.Builder clearNodeTemplates()
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
    • removeNodeTemplates

      public NodeTemplatesScopedList.Builder removeNodeTemplates(int index)
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
    • getNodeTemplatesBuilder

      public NodeTemplate.Builder getNodeTemplatesBuilder(int index)
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
    • getNodeTemplatesOrBuilder

      public NodeTemplateOrBuilder getNodeTemplatesOrBuilder(int index)
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
      Specified by:
      getNodeTemplatesOrBuilder in interface NodeTemplatesScopedListOrBuilder
    • getNodeTemplatesOrBuilderList

      public List<? extends NodeTemplateOrBuilder> getNodeTemplatesOrBuilderList()
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
      Specified by:
      getNodeTemplatesOrBuilderList in interface NodeTemplatesScopedListOrBuilder
    • addNodeTemplatesBuilder

      public NodeTemplate.Builder addNodeTemplatesBuilder()
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
    • addNodeTemplatesBuilder

      public NodeTemplate.Builder addNodeTemplatesBuilder(int index)
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
    • getNodeTemplatesBuilderList

      public List<NodeTemplate.Builder> getNodeTemplatesBuilderList()
       [Output Only] A list of node templates contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeTemplate node_templates = 354111804;
    • hasWarning

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

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

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

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

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

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

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

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