Interface SearchSpacesResponseOrBuilder (0.63.0)

public interface SearchSpacesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

A token that can be used to retrieve the next page. If this field is empty, there are no subsequent pages.

Only populated when useAdminAccess is set to true.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

A token that can be used to retrieve the next page. If this field is empty, there are no subsequent pages.

Only populated when useAdminAccess is set to true.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getResults(int index)

public abstract SearchSpacesResponse.SearchSpaceResult getResults(int index)

Output only. The list of search results that matched the query.

repeated .google.chat.v1.SearchSpacesResponse.SearchSpaceResult results = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SearchSpacesResponse.SearchSpaceResult

getResultsCount()

public abstract int getResultsCount()

Output only. The list of search results that matched the query.

repeated .google.chat.v1.SearchSpacesResponse.SearchSpaceResult results = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getResultsList()

public abstract List<SearchSpacesResponse.SearchSpaceResult> getResultsList()

Output only. The list of search results that matched the query.

repeated .google.chat.v1.SearchSpacesResponse.SearchSpaceResult results = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<SearchSpaceResult>

getResultsOrBuilder(int index)

public abstract SearchSpacesResponse.SearchSpaceResultOrBuilder getResultsOrBuilder(int index)

Output only. The list of search results that matched the query.

repeated .google.chat.v1.SearchSpacesResponse.SearchSpaceResult results = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SearchSpacesResponse.SearchSpaceResultOrBuilder

getResultsOrBuilderList()

public abstract List<? extends SearchSpacesResponse.SearchSpaceResultOrBuilder> getResultsOrBuilderList()

Output only. The list of search results that matched the query.

repeated .google.chat.v1.SearchSpacesResponse.SearchSpaceResult results = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.chat.v1.SearchSpacesResponse.SearchSpaceResultOrBuilder>

getSpaces(int index) (deprecated)

public abstract Space getSpaces(int index)

Deprecated: Please use the new results field instead. A page of the requested spaces. This field will be populated only when useAdminAccess is set to true and deprecated in favor of the new results field.

repeated .google.chat.v1.Space spaces = 1 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
Space

getSpacesCount() (deprecated)

public abstract int getSpacesCount()

Deprecated: Please use the new results field instead. A page of the requested spaces. This field will be populated only when useAdminAccess is set to true and deprecated in favor of the new results field.

repeated .google.chat.v1.Space spaces = 1 [deprecated = true];

Returns
Type Description
int

getSpacesList() (deprecated)

public abstract List<Space> getSpacesList()

Deprecated: Please use the new results field instead. A page of the requested spaces. This field will be populated only when useAdminAccess is set to true and deprecated in favor of the new results field.

repeated .google.chat.v1.Space spaces = 1 [deprecated = true];

Returns
Type Description
List<Space>

getSpacesOrBuilder(int index) (deprecated)

public abstract SpaceOrBuilder getSpacesOrBuilder(int index)

Deprecated: Please use the new results field instead. A page of the requested spaces. This field will be populated only when useAdminAccess is set to true and deprecated in favor of the new results field.

repeated .google.chat.v1.Space spaces = 1 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
SpaceOrBuilder

getSpacesOrBuilderList() (deprecated)

public abstract List<? extends SpaceOrBuilder> getSpacesOrBuilderList()

Deprecated: Please use the new results field instead. A page of the requested spaces. This field will be populated only when useAdminAccess is set to true and deprecated in favor of the new results field.

repeated .google.chat.v1.Space spaces = 1 [deprecated = true];

Returns
Type Description
List<? extends com.google.chat.v1.SpaceOrBuilder>

getTotalSize()

public abstract int getTotalSize()

The total number of spaces that match the query, across all pages. If the result is over 10,000 spaces, this value is an estimate.

Only populated when useAdminAccess is set to true.

int32 total_size = 3;

Returns
Type Description
int

The totalSize.