Class ListSpaceEventsResponse.Builder (0.19.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSpaceEvents(Iterable<? extends SpaceEvent> values)

public ListSpaceEventsResponse.Builder addAllSpaceEvents(Iterable<? extends SpaceEvent> values)

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

Parameter
Name Description
values Iterable<? extends com.google.chat.v1.SpaceEvent>
Returns
Type Description
ListSpaceEventsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSpaceEventsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListSpaceEventsResponse.Builder
Overrides

addSpaceEvents(SpaceEvent value)

public ListSpaceEventsResponse.Builder addSpaceEvents(SpaceEvent value)

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

Parameter
Name Description
value SpaceEvent
Returns
Type Description
ListSpaceEventsResponse.Builder

addSpaceEvents(SpaceEvent.Builder builderForValue)

public ListSpaceEventsResponse.Builder addSpaceEvents(SpaceEvent.Builder builderForValue)

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

Parameter
Name Description
builderForValue SpaceEvent.Builder
Returns
Type Description
ListSpaceEventsResponse.Builder

addSpaceEvents(int index, SpaceEvent value)

public ListSpaceEventsResponse.Builder addSpaceEvents(int index, SpaceEvent value)

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

Parameters
Name Description
index int
value SpaceEvent
Returns
Type Description
ListSpaceEventsResponse.Builder

addSpaceEvents(int index, SpaceEvent.Builder builderForValue)

public ListSpaceEventsResponse.Builder addSpaceEvents(int index, SpaceEvent.Builder builderForValue)

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

Parameters
Name Description
index int
builderForValue SpaceEvent.Builder
Returns
Type Description
ListSpaceEventsResponse.Builder

addSpaceEventsBuilder()

public SpaceEvent.Builder addSpaceEventsBuilder()

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

Returns
Type Description
SpaceEvent.Builder

addSpaceEventsBuilder(int index)

public SpaceEvent.Builder addSpaceEventsBuilder(int index)

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

Parameter
Name Description
index int
Returns
Type Description
SpaceEvent.Builder

build()

public ListSpaceEventsResponse build()
Returns
Type Description
ListSpaceEventsResponse

buildPartial()

public ListSpaceEventsResponse buildPartial()
Returns
Type Description
ListSpaceEventsResponse

clear()

public ListSpaceEventsResponse.Builder clear()
Returns
Type Description
ListSpaceEventsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListSpaceEventsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListSpaceEventsResponse.Builder
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;

Returns
Type Description
ListSpaceEventsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSpaceEventsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListSpaceEventsResponse.Builder
Overrides

clearSpaceEvents()

public ListSpaceEventsResponse.Builder clearSpaceEvents()

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

Returns
Type Description
ListSpaceEventsResponse.Builder

clone()

public ListSpaceEventsResponse.Builder clone()
Returns
Type Description
ListSpaceEventsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListSpaceEventsResponse getDefaultInstanceForType()
Returns
Type Description
ListSpaceEventsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

Parameter
Name Description
index int
Returns
Type Description
SpaceEvent

getSpaceEventsBuilder(int index)

public SpaceEvent.Builder getSpaceEventsBuilder(int index)

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

Parameter
Name Description
index int
Returns
Type Description
SpaceEvent.Builder

getSpaceEventsBuilderList()

public List<SpaceEvent.Builder> getSpaceEventsBuilderList()

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

Returns
Type Description
List<Builder>

getSpaceEventsCount()

public int getSpaceEventsCount()

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests.

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). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

Returns
Type Description
List<SpaceEvent>

getSpaceEventsOrBuilder(int index)

public SpaceEventOrBuilder getSpaceEventsOrBuilder(int index)

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

Parameter
Name Description
index int
Returns
Type Description
SpaceEventOrBuilder

getSpaceEventsOrBuilderList()

public List<? extends SpaceEventOrBuilder> getSpaceEventsOrBuilderList()

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSpaceEventsResponse other)

public ListSpaceEventsResponse.Builder mergeFrom(ListSpaceEventsResponse other)
Parameter
Name Description
other ListSpaceEventsResponse
Returns
Type Description
ListSpaceEventsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSpaceEventsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSpaceEventsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListSpaceEventsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListSpaceEventsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSpaceEventsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSpaceEventsResponse.Builder
Overrides

removeSpaceEvents(int index)

public ListSpaceEventsResponse.Builder removeSpaceEvents(int index)

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

Parameter
Name Description
index int
Returns
Type Description
ListSpaceEventsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListSpaceEventsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListSpaceEventsResponse.Builder
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.

Returns
Type Description
ListSpaceEventsResponse.Builder

This builder for chaining.

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.

Returns
Type Description
ListSpaceEventsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListSpaceEventsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListSpaceEventsResponse.Builder
Overrides

setSpaceEvents(int index, SpaceEvent value)

public ListSpaceEventsResponse.Builder setSpaceEvents(int index, SpaceEvent value)

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

Parameters
Name Description
index int
value SpaceEvent
Returns
Type Description
ListSpaceEventsResponse.Builder

setSpaceEvents(int index, SpaceEvent.Builder builderForValue)

public ListSpaceEventsResponse.Builder setSpaceEvents(int index, SpaceEvent.Builder builderForValue)

Results are returned in chronological order (oldest event first). Note: The permissionSettings field is not returned in the Space object for list requests.

repeated .google.chat.v1.SpaceEvent space_events = 1;

Parameters
Name Description
index int
builderForValue SpaceEvent.Builder
Returns
Type Description
ListSpaceEventsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSpaceEventsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSpaceEventsResponse.Builder
Overrides