Class NodeGroupsScopedList.Builder

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

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

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

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

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

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

      public NodeGroupsScopedList.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<NodeGroupsScopedList.Builder>
      Throws:
      IOException
    • getNodeGroupsList

      public List<NodeGroup> getNodeGroupsList()
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
      Specified by:
      getNodeGroupsList in interface NodeGroupsScopedListOrBuilder
    • getNodeGroupsCount

      public int getNodeGroupsCount()
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
      Specified by:
      getNodeGroupsCount in interface NodeGroupsScopedListOrBuilder
    • getNodeGroups

      public NodeGroup getNodeGroups(int index)
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
      Specified by:
      getNodeGroups in interface NodeGroupsScopedListOrBuilder
    • setNodeGroups

      public NodeGroupsScopedList.Builder setNodeGroups(int index, NodeGroup value)
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
    • setNodeGroups

      public NodeGroupsScopedList.Builder setNodeGroups(int index, NodeGroup.Builder builderForValue)
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
    • addNodeGroups

      public NodeGroupsScopedList.Builder addNodeGroups(NodeGroup value)
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
    • addNodeGroups

      public NodeGroupsScopedList.Builder addNodeGroups(int index, NodeGroup value)
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
    • addNodeGroups

      public NodeGroupsScopedList.Builder addNodeGroups(NodeGroup.Builder builderForValue)
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
    • addNodeGroups

      public NodeGroupsScopedList.Builder addNodeGroups(int index, NodeGroup.Builder builderForValue)
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
    • addAllNodeGroups

      public NodeGroupsScopedList.Builder addAllNodeGroups(Iterable<? extends NodeGroup> values)
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
    • clearNodeGroups

      public NodeGroupsScopedList.Builder clearNodeGroups()
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
    • removeNodeGroups

      public NodeGroupsScopedList.Builder removeNodeGroups(int index)
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
    • getNodeGroupsBuilder

      public NodeGroup.Builder getNodeGroupsBuilder(int index)
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
    • getNodeGroupsOrBuilder

      public NodeGroupOrBuilder getNodeGroupsOrBuilder(int index)
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
      Specified by:
      getNodeGroupsOrBuilder in interface NodeGroupsScopedListOrBuilder
    • getNodeGroupsOrBuilderList

      public List<? extends NodeGroupOrBuilder> getNodeGroupsOrBuilderList()
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
      Specified by:
      getNodeGroupsOrBuilderList in interface NodeGroupsScopedListOrBuilder
    • addNodeGroupsBuilder

      public NodeGroup.Builder addNodeGroupsBuilder()
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
    • addNodeGroupsBuilder

      public NodeGroup.Builder addNodeGroupsBuilder(int index)
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
    • getNodeGroupsBuilderList

      public List<NodeGroup.Builder> getNodeGroupsBuilderList()
       [Output Only] A list of node groups contained in this scope.
       
      repeated .google.cloud.compute.v1.NodeGroup node_groups = 73188017;
    • hasWarning

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

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

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

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

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

      public NodeGroupsScopedList.Builder clearWarning()
       [Output Only] An informational warning that appears when the nodeGroup
       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 nodeGroup
       list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningOrBuilder

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