Class ListSpacesRequest (0.15.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.15.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ListSpacesRequest   extends   GeneratedMessageV3   implements   ListSpacesRequestOrBuilder  
   A request to list the spaces the caller is a member of.
 Protobuf type google.chat.v1.ListSpacesRequest
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  FILTER_FIELD_NUMBER 
  
    
public   static   final   int   FILTER_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PAGE_SIZE_FIELD_NUMBER 
  
    
public   static   final   int   PAGE_SIZE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PAGE_TOKEN_FIELD_NUMBER 
  
    
public   static   final   int   PAGE_TOKEN_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   ListSpacesRequest   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   ListSpacesRequest . Builder   newBuilder ()  
  
  newBuilder(ListSpacesRequest prototype) 
  
    
public   static   ListSpacesRequest . Builder   newBuilder ( ListSpacesRequest   prototype )  
  
  
  
    
public   static   ListSpacesRequest   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   ListSpacesRequest   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   ListSpacesRequest   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ListSpacesRequest   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   ListSpacesRequest   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ListSpacesRequest   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ListSpacesRequest   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   ListSpacesRequest   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ListSpacesRequest   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   ListSpacesRequest   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   ListSpacesRequest   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ListSpacesRequest   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<ListSpacesRequest>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   ListSpacesRequest   getDefaultInstanceForType ()  
  
  getFilter() 
  
    
public   String   getFilter ()  
   Optional. A query filter.
 You can filter spaces by the space type
 (space_type
 To filter by space type, you must specify valid enum value, such as
 SPACE or GROUP_CHAT (the space_type can't be
 SPACE_TYPE_UNSPECIFIED). To query for multiple space types, use the OR
 operator.
 For example, the following queries are valid:
 `
 space_type = "SPACE"
 spaceType = "GROUP_CHAT" OR spaceType = "DIRECT_MESSAGE"
 
 Invalid queries are rejected by the server with an INVALID_ARGUMENT`
 error.
 string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        String The filter.
 
     
  
  getFilterBytes() 
  
    
public   ByteString   getFilterBytes ()  
   Optional. A query filter.
 You can filter spaces by the space type
 (space_type
 To filter by space type, you must specify valid enum value, such as
 SPACE or GROUP_CHAT (the space_type can't be
 SPACE_TYPE_UNSPECIFIED). To query for multiple space types, use the OR
 operator.
 For example, the following queries are valid:
 `
 space_type = "SPACE"
 spaceType = "GROUP_CHAT" OR spaceType = "DIRECT_MESSAGE"
 
 Invalid queries are rejected by the server with an INVALID_ARGUMENT`
 error.
 string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for filter.
 
     
  
  getPageSize() 
  
   Optional. The maximum number of spaces to return. The service might return
 fewer than this value.
 If unspecified, at most 100 spaces are returned.
 The maximum value is 1000. If you use a value more than 1000, it's
 automatically changed to 1000.
 Negative values return an INVALID_ARGUMENT error.
 int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        int The pageSize.
 
     
  
  getPageToken() 
  
    
public   String   getPageToken ()  
   Optional. A page token, received from a previous list spaces call.
 Provide this parameter to retrieve the subsequent page.
 When paginating, the filter value should match the call that provided the
 page token. Passing a different value may lead to unexpected results.
 string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        String The pageToken.
 
     
  
  getPageTokenBytes() 
  
    
public   ByteString   getPageTokenBytes ()  
   Optional. A page token, received from a previous list spaces call.
 Provide this parameter to retrieve the subsequent page.
 When paginating, the filter value should match the call that provided the
 page token. Passing a different value may lead to unexpected results.
 string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for pageToken.
 
     
  
  getParserForType() 
  
    
public   Parser<ListSpacesRequest>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   ListSpacesRequest . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   ListSpacesRequest . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   ListSpacesRequest . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]