Class ListNodePoolsResponse.Builder

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

public static final class ListNodePoolsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListNodePoolsResponse.Builder> implements ListNodePoolsResponseOrBuilder
 List of node pools in a cluster.
 
Protobuf type google.cloud.edgecontainer.v1.ListNodePoolsResponse
  • 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<ListNodePoolsResponse.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<ListNodePoolsResponse.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<ListNodePoolsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListNodePoolsResponse.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<ListNodePoolsResponse.Builder>
      Throws:
      IOException
    • getNodePoolsList

      public List<NodePool> getNodePoolsList()
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
      Specified by:
      getNodePoolsList in interface ListNodePoolsResponseOrBuilder
    • getNodePoolsCount

      public int getNodePoolsCount()
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
      Specified by:
      getNodePoolsCount in interface ListNodePoolsResponseOrBuilder
    • getNodePools

      public NodePool getNodePools(int index)
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
      Specified by:
      getNodePools in interface ListNodePoolsResponseOrBuilder
    • setNodePools

      public ListNodePoolsResponse.Builder setNodePools(int index, NodePool value)
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
    • setNodePools

      public ListNodePoolsResponse.Builder setNodePools(int index, NodePool.Builder builderForValue)
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
    • addNodePools

      public ListNodePoolsResponse.Builder addNodePools(NodePool value)
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
    • addNodePools

      public ListNodePoolsResponse.Builder addNodePools(int index, NodePool value)
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
    • addNodePools

      public ListNodePoolsResponse.Builder addNodePools(NodePool.Builder builderForValue)
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
    • addNodePools

      public ListNodePoolsResponse.Builder addNodePools(int index, NodePool.Builder builderForValue)
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
    • addAllNodePools

      public ListNodePoolsResponse.Builder addAllNodePools(Iterable<? extends NodePool> values)
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
    • clearNodePools

      public ListNodePoolsResponse.Builder clearNodePools()
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
    • removeNodePools

      public ListNodePoolsResponse.Builder removeNodePools(int index)
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
    • getNodePoolsBuilder

      public NodePool.Builder getNodePoolsBuilder(int index)
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
    • getNodePoolsOrBuilder

      public NodePoolOrBuilder getNodePoolsOrBuilder(int index)
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
      Specified by:
      getNodePoolsOrBuilder in interface ListNodePoolsResponseOrBuilder
    • getNodePoolsOrBuilderList

      public List<? extends NodePoolOrBuilder> getNodePoolsOrBuilderList()
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
      Specified by:
      getNodePoolsOrBuilderList in interface ListNodePoolsResponseOrBuilder
    • addNodePoolsBuilder

      public NodePool.Builder addNodePoolsBuilder()
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
    • addNodePoolsBuilder

      public NodePool.Builder addNodePoolsBuilder(int index)
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
    • getNodePoolsBuilderList

      public List<NodePool.Builder> getNodePoolsBuilderList()
       Node pools in the cluster.
       
      repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListNodePoolsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListNodePoolsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListNodePoolsResponse.Builder setNextPageToken(String value)
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListNodePoolsResponse.Builder clearNextPageToken()
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListNodePoolsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListNodePoolsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListNodePoolsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListNodePoolsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListNodePoolsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListNodePoolsResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListNodePoolsResponse.Builder addUnreachable(String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListNodePoolsResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListNodePoolsResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListNodePoolsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.