Class ListNodePoolsRequest.Builder

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

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

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

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

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

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

      public ListNodePoolsRequest.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<ListNodePoolsRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The parent cluster, which owns this collection of node pools.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ListNodePoolsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent cluster, which owns this collection of node pools.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ListNodePoolsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ListNodePoolsRequest.Builder setParent(String value)
       Required. The parent cluster, which owns this collection of node pools.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public ListNodePoolsRequest.Builder clearParent()
       Required. The parent cluster, which owns this collection of node pools.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public ListNodePoolsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent cluster, which owns this collection of node pools.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       The maximum number of resources to list.
       
      int32 page_size = 2;
      Specified by:
      getPageSize in interface ListNodePoolsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListNodePoolsRequest.Builder setPageSize(int value)
       The maximum number of resources to list.
       
      int32 page_size = 2;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListNodePoolsRequest.Builder clearPageSize()
       The maximum number of resources to list.
       
      int32 page_size = 2;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       A page token received from previous list request.
       
      string page_token = 3;
      Specified by:
      getPageToken in interface ListNodePoolsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       A page token received from previous list request.
       
      string page_token = 3;
      Specified by:
      getPageTokenBytes in interface ListNodePoolsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListNodePoolsRequest.Builder setPageToken(String value)
       A page token received from previous list request.
       
      string page_token = 3;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListNodePoolsRequest.Builder clearPageToken()
       A page token received from previous list request.
       
      string page_token = 3;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListNodePoolsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       A page token received from previous list request.
       
      string page_token = 3;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getFilter

      public String getFilter()
       Only resources matching this filter will be listed.
       
      string filter = 4;
      Specified by:
      getFilter in interface ListNodePoolsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Only resources matching this filter will be listed.
       
      string filter = 4;
      Specified by:
      getFilterBytes in interface ListNodePoolsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public ListNodePoolsRequest.Builder setFilter(String value)
       Only resources matching this filter will be listed.
       
      string filter = 4;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public ListNodePoolsRequest.Builder clearFilter()
       Only resources matching this filter will be listed.
       
      string filter = 4;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListNodePoolsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Only resources matching this filter will be listed.
       
      string filter = 4;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • getOrderBy

      public String getOrderBy()
       Specifies the order in which resources will be listed.
       
      string order_by = 5;
      Specified by:
      getOrderBy in interface ListNodePoolsRequestOrBuilder
      Returns:
      The orderBy.
    • getOrderByBytes

      public com.google.protobuf.ByteString getOrderByBytes()
       Specifies the order in which resources will be listed.
       
      string order_by = 5;
      Specified by:
      getOrderByBytes in interface ListNodePoolsRequestOrBuilder
      Returns:
      The bytes for orderBy.
    • setOrderBy

      public ListNodePoolsRequest.Builder setOrderBy(String value)
       Specifies the order in which resources will be listed.
       
      string order_by = 5;
      Parameters:
      value - The orderBy to set.
      Returns:
      This builder for chaining.
    • clearOrderBy

      public ListNodePoolsRequest.Builder clearOrderBy()
       Specifies the order in which resources will be listed.
       
      string order_by = 5;
      Returns:
      This builder for chaining.
    • setOrderByBytes

      public ListNodePoolsRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
       Specifies the order in which resources will be listed.
       
      string order_by = 5;
      Parameters:
      value - The bytes for orderBy to set.
      Returns:
      This builder for chaining.