public static final class ListSpaceEventsResponse.Builder extends GeneratedMessageV3.Builder<ListSpaceEventsResponse.Builder> implements ListSpaceEventsResponseOrBuilder
Response message for listing space events.
Protobuf type google.chat.v1.ListSpaceEventsResponse
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
addAllSpaceEvents(Iterable<? extends SpaceEvent> values)
public ListSpaceEventsResponse.Builder addAllSpaceEvents(Iterable<? extends SpaceEvent> values)
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.chat.v1.SpaceEvent>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSpaceEventsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSpaceEvents(SpaceEvent value)
public ListSpaceEventsResponse.Builder addSpaceEvents(SpaceEvent value)
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
addSpaceEvents(SpaceEvent.Builder builderForValue)
public ListSpaceEventsResponse.Builder addSpaceEvents(SpaceEvent.Builder builderForValue)
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
addSpaceEvents(int index, SpaceEvent value)
public ListSpaceEventsResponse.Builder addSpaceEvents(int index, SpaceEvent value)
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
addSpaceEvents(int index, SpaceEvent.Builder builderForValue)
public ListSpaceEventsResponse.Builder addSpaceEvents(int index, SpaceEvent.Builder builderForValue)
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
addSpaceEventsBuilder()
public SpaceEvent.Builder addSpaceEventsBuilder()
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
addSpaceEventsBuilder(int index)
public SpaceEvent.Builder addSpaceEventsBuilder(int index)
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public ListSpaceEventsResponse build()
buildPartial()
public ListSpaceEventsResponse buildPartial()
clear()
public ListSpaceEventsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSpaceEventsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListSpaceEventsResponse.Builder clearNextPageToken()
Continuation token used to fetch more events.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSpaceEventsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSpaceEvents()
public ListSpaceEventsResponse.Builder clearSpaceEvents()
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
clone()
public ListSpaceEventsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListSpaceEventsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
Continuation token used to fetch more events.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Continuation token used to fetch more events.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getSpaceEvents(int index)
public SpaceEvent getSpaceEvents(int index)
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
Parameter |
Name |
Description |
index |
int
|
getSpaceEventsBuilder(int index)
public SpaceEvent.Builder getSpaceEventsBuilder(int index)
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
Parameter |
Name |
Description |
index |
int
|
getSpaceEventsBuilderList()
public List<SpaceEvent.Builder> getSpaceEventsBuilderList()
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
getSpaceEventsCount()
public int getSpaceEventsCount()
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
Returns |
Type |
Description |
int |
|
getSpaceEventsList()
public List<SpaceEvent> getSpaceEventsList()
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
getSpaceEventsOrBuilder(int index)
public SpaceEventOrBuilder getSpaceEventsOrBuilder(int index)
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
Parameter |
Name |
Description |
index |
int
|
getSpaceEventsOrBuilderList()
public List<? extends SpaceEventOrBuilder> getSpaceEventsOrBuilderList()
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
Returns |
Type |
Description |
List<? extends com.google.chat.v1.SpaceEventOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListSpaceEventsResponse other)
public ListSpaceEventsResponse.Builder mergeFrom(ListSpaceEventsResponse other)
public ListSpaceEventsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListSpaceEventsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSpaceEventsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSpaceEvents(int index)
public ListSpaceEventsResponse.Builder removeSpaceEvents(int index)
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListSpaceEventsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListSpaceEventsResponse.Builder setNextPageToken(String value)
Continuation token used to fetch more events.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListSpaceEventsResponse.Builder setNextPageTokenBytes(ByteString value)
Continuation token used to fetch more events.
If this field is omitted, 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 ListSpaceEventsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSpaceEvents(int index, SpaceEvent value)
public ListSpaceEventsResponse.Builder setSpaceEvents(int index, SpaceEvent value)
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
setSpaceEvents(int index, SpaceEvent.Builder builderForValue)
public ListSpaceEventsResponse.Builder setSpaceEvents(int index, SpaceEvent.Builder builderForValue)
Results are returned in chronological order (oldest event first).
repeated .google.chat.v1.SpaceEvent space_events = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSpaceEventsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides