public static final class SearchSpacesResponse.Builder extends GeneratedMessageV3.Builder<SearchSpacesResponse.Builder> implements SearchSpacesResponseOrBuilder
Response with a list of spaces corresponding to the search spaces request.
Protobuf type google.chat.v1.SearchSpacesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllSpaces(Iterable<? extends Space> values)
public SearchSpacesResponse.Builder addAllSpaces(Iterable<? extends Space> values)
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.chat.v1.Space>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchSpacesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSpaces(Space value)
public SearchSpacesResponse.Builder addSpaces(Space value)
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
Parameter |
Name |
Description |
value |
Space
|
addSpaces(Space.Builder builderForValue)
public SearchSpacesResponse.Builder addSpaces(Space.Builder builderForValue)
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
addSpaces(int index, Space value)
public SearchSpacesResponse.Builder addSpaces(int index, Space value)
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Space
|
addSpaces(int index, Space.Builder builderForValue)
public SearchSpacesResponse.Builder addSpaces(int index, Space.Builder builderForValue)
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
addSpacesBuilder()
public Space.Builder addSpacesBuilder()
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
addSpacesBuilder(int index)
public Space.Builder addSpacesBuilder(int index)
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public SearchSpacesResponse build()
buildPartial()
public SearchSpacesResponse buildPartial()
clear()
public SearchSpacesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchSpacesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public SearchSpacesResponse.Builder clearNextPageToken()
A token that can be used to retrieve the next page. If this field is empty,
there are no subsequent pages.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchSpacesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSpaces()
public SearchSpacesResponse.Builder clearSpaces()
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
clearTotalSize()
public SearchSpacesResponse.Builder clearTotalSize()
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.
int32 total_size = 3;
clone()
public SearchSpacesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchSpacesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A token that can be used to retrieve the next page. If this field is empty,
there are no subsequent pages.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token that can be used to retrieve the next page. If this field is empty,
there are no subsequent pages.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getSpaces(int index)
public Space getSpaces(int index)
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Space |
|
getSpacesBuilder(int index)
public Space.Builder getSpacesBuilder(int index)
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
Parameter |
Name |
Description |
index |
int
|
getSpacesBuilderList()
public List<Space.Builder> getSpacesBuilderList()
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
getSpacesCount()
public int getSpacesCount()
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
Returns |
Type |
Description |
int |
|
getSpacesList()
public List<Space> getSpacesList()
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
getSpacesOrBuilder(int index)
public SpaceOrBuilder getSpacesOrBuilder(int index)
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
Parameter |
Name |
Description |
index |
int
|
getSpacesOrBuilderList()
public List<? extends SpaceOrBuilder> getSpacesOrBuilderList()
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
Returns |
Type |
Description |
List<? extends com.google.chat.v1.SpaceOrBuilder> |
|
getTotalSize()
public 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.
int32 total_size = 3;
Returns |
Type |
Description |
int |
The totalSize.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchSpacesResponse other)
public SearchSpacesResponse.Builder mergeFrom(SearchSpacesResponse other)
public SearchSpacesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchSpacesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchSpacesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSpaces(int index)
public SearchSpacesResponse.Builder removeSpaces(int index)
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public SearchSpacesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public SearchSpacesResponse.Builder setNextPageToken(String value)
A token that can be used to retrieve the next page. If this field is empty,
there are no subsequent pages.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public SearchSpacesResponse.Builder setNextPageTokenBytes(ByteString value)
A token that can be used to retrieve the next page. If this field is empty,
there are no subsequent pages.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchSpacesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSpaces(int index, Space value)
public SearchSpacesResponse.Builder setSpaces(int index, Space value)
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Space
|
setSpaces(int index, Space.Builder builderForValue)
public SearchSpacesResponse.Builder setSpaces(int index, Space.Builder builderForValue)
A page of the requested spaces.
repeated .google.chat.v1.Space spaces = 1;
setTotalSize(int value)
public SearchSpacesResponse.Builder setTotalSize(int value)
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.
int32 total_size = 3;
Parameter |
Name |
Description |
value |
int
The totalSize to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchSpacesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides