public static final class ListSpacesResponse.Builder extends GeneratedMessageV3.Builder<ListSpacesResponse.Builder> implements ListSpacesResponseOrBuilder
Protobuf type google.chat.v1.ListSpacesResponse
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 ListSpacesResponse.Builder addAllSpaces(Iterable<? extends Space> values)
List of spaces in the requested (or first) page.
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 ListSpacesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSpaces(Space value)
public ListSpacesResponse.Builder addSpaces(Space value)
List of spaces in the requested (or first) page.
repeated .google.chat.v1.Space spaces = 1;
Parameter |
---|
Name | Description |
value | Space
|
addSpaces(Space.Builder builderForValue)
public ListSpacesResponse.Builder addSpaces(Space.Builder builderForValue)
List of spaces in the requested (or first) page.
repeated .google.chat.v1.Space spaces = 1;
addSpaces(int index, Space value)
public ListSpacesResponse.Builder addSpaces(int index, Space value)
List of spaces in the requested (or first) page.
repeated .google.chat.v1.Space spaces = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Space
|
addSpaces(int index, Space.Builder builderForValue)
public ListSpacesResponse.Builder addSpaces(int index, Space.Builder builderForValue)
List of spaces in the requested (or first) page.
repeated .google.chat.v1.Space spaces = 1;
addSpacesBuilder()
public Space.Builder addSpacesBuilder()
List of spaces in the requested (or first) page.
repeated .google.chat.v1.Space spaces = 1;
addSpacesBuilder(int index)
public Space.Builder addSpacesBuilder(int index)
List of spaces in the requested (or first) page.
repeated .google.chat.v1.Space spaces = 1;
Parameter |
---|
Name | Description |
index | int
|
build()
public ListSpacesResponse build()
buildPartial()
public ListSpacesResponse buildPartial()
clear()
public ListSpacesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSpacesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListSpacesResponse.Builder clearNextPageToken()
You can send a token as pageToken
to retrieve the next page of
results. If empty, there are no subsequent pages.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSpacesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSpaces()
public ListSpacesResponse.Builder clearSpaces()
List of spaces in the requested (or first) page.
repeated .google.chat.v1.Space spaces = 1;
clone()
public ListSpacesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListSpacesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
You can send a token as pageToken
to retrieve the next page of
results. If empty, there are no subsequent pages.
string next_page_token = 2;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
You can send a token as pageToken
to retrieve the next page of
results. If 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)
List of spaces in the requested (or first) page.
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)
List of spaces in the requested (or first) page.
repeated .google.chat.v1.Space spaces = 1;
Parameter |
---|
Name | Description |
index | int
|
getSpacesBuilderList()
public List<Space.Builder> getSpacesBuilderList()
List of spaces in the requested (or first) page.
repeated .google.chat.v1.Space spaces = 1;
getSpacesCount()
public int getSpacesCount()
List of spaces in the requested (or first) page.
repeated .google.chat.v1.Space spaces = 1;
Returns |
---|
Type | Description |
int | |
getSpacesList()
public List<Space> getSpacesList()
List of spaces in the requested (or first) page.
repeated .google.chat.v1.Space spaces = 1;
getSpacesOrBuilder(int index)
public SpaceOrBuilder getSpacesOrBuilder(int index)
List of spaces in the requested (or first) page.
repeated .google.chat.v1.Space spaces = 1;
Parameter |
---|
Name | Description |
index | int
|
getSpacesOrBuilderList()
public List<? extends SpaceOrBuilder> getSpacesOrBuilderList()
List of spaces in the requested (or first) page.
repeated .google.chat.v1.Space spaces = 1;
Returns |
---|
Type | Description |
List<? extends com.google.chat.v1.SpaceOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListSpacesResponse other)
public ListSpacesResponse.Builder mergeFrom(ListSpacesResponse other)
public ListSpacesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListSpacesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSpacesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSpaces(int index)
public ListSpacesResponse.Builder removeSpaces(int index)
List of spaces in the requested (or first) page.
repeated .google.chat.v1.Space spaces = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListSpacesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListSpacesResponse.Builder setNextPageToken(String value)
You can send a token as pageToken
to retrieve the next page of
results. If empty, there are no subsequent pages.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListSpacesResponse.Builder setNextPageTokenBytes(ByteString value)
You can send a token as pageToken
to retrieve the next page of
results. If 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 ListSpacesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSpaces(int index, Space value)
public ListSpacesResponse.Builder setSpaces(int index, Space value)
List of spaces in the requested (or first) page.
repeated .google.chat.v1.Space spaces = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Space
|
setSpaces(int index, Space.Builder builderForValue)
public ListSpacesResponse.Builder setSpaces(int index, Space.Builder builderForValue)
List of spaces in the requested (or first) page.
repeated .google.chat.v1.Space spaces = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSpacesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides