Class SpaceBatchUpdatedEventData.Builder (0.13.0)

public static final class SpaceBatchUpdatedEventData.Builder extends GeneratedMessageV3.Builder<SpaceBatchUpdatedEventData.Builder> implements SpaceBatchUpdatedEventDataOrBuilder

Event payload for multiple updates to a space.

Event type: google.workspace.chat.space.v1.batchUpdated

Protobuf type google.chat.v1.SpaceBatchUpdatedEventData

Static Methods

getDescriptor()

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

Methods

addAllSpaces(Iterable<? extends SpaceUpdatedEventData> values)

public SpaceBatchUpdatedEventData.Builder addAllSpaces(Iterable<? extends SpaceUpdatedEventData> values)

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSpaces(SpaceUpdatedEventData value)

public SpaceBatchUpdatedEventData.Builder addSpaces(SpaceUpdatedEventData value)

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

Parameter
Name Description
value SpaceUpdatedEventData
Returns
Type Description
SpaceBatchUpdatedEventData.Builder

addSpaces(SpaceUpdatedEventData.Builder builderForValue)

public SpaceBatchUpdatedEventData.Builder addSpaces(SpaceUpdatedEventData.Builder builderForValue)

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

Parameter
Name Description
builderForValue SpaceUpdatedEventData.Builder
Returns
Type Description
SpaceBatchUpdatedEventData.Builder

addSpaces(int index, SpaceUpdatedEventData value)

public SpaceBatchUpdatedEventData.Builder addSpaces(int index, SpaceUpdatedEventData value)

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

Parameters
Name Description
index int
value SpaceUpdatedEventData
Returns
Type Description
SpaceBatchUpdatedEventData.Builder

addSpaces(int index, SpaceUpdatedEventData.Builder builderForValue)

public SpaceBatchUpdatedEventData.Builder addSpaces(int index, SpaceUpdatedEventData.Builder builderForValue)

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

Parameters
Name Description
index int
builderForValue SpaceUpdatedEventData.Builder
Returns
Type Description
SpaceBatchUpdatedEventData.Builder

addSpacesBuilder()

public SpaceUpdatedEventData.Builder addSpacesBuilder()

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

Returns
Type Description
SpaceUpdatedEventData.Builder

addSpacesBuilder(int index)

public SpaceUpdatedEventData.Builder addSpacesBuilder(int index)

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

Parameter
Name Description
index int
Returns
Type Description
SpaceUpdatedEventData.Builder

build()

public SpaceBatchUpdatedEventData build()
Returns
Type Description
SpaceBatchUpdatedEventData

buildPartial()

public SpaceBatchUpdatedEventData buildPartial()
Returns
Type Description
SpaceBatchUpdatedEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

public SpaceBatchUpdatedEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SpaceBatchUpdatedEventData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSpaces()

public SpaceBatchUpdatedEventData.Builder clearSpaces()

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

Returns
Type Description
SpaceBatchUpdatedEventData.Builder

clone()

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

getDefaultInstanceForType()

public SpaceBatchUpdatedEventData getDefaultInstanceForType()
Returns
Type Description
SpaceBatchUpdatedEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSpaces(int index)

public SpaceUpdatedEventData getSpaces(int index)

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

Parameter
Name Description
index int
Returns
Type Description
SpaceUpdatedEventData

getSpacesBuilder(int index)

public SpaceUpdatedEventData.Builder getSpacesBuilder(int index)

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

Parameter
Name Description
index int
Returns
Type Description
SpaceUpdatedEventData.Builder

getSpacesBuilderList()

public List<SpaceUpdatedEventData.Builder> getSpacesBuilderList()

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

Returns
Type Description
List<Builder>

getSpacesCount()

public int getSpacesCount()

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

Returns
Type Description
int

getSpacesList()

public List<SpaceUpdatedEventData> getSpacesList()

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

Returns
Type Description
List<SpaceUpdatedEventData>

getSpacesOrBuilder(int index)

public SpaceUpdatedEventDataOrBuilder getSpacesOrBuilder(int index)

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

Parameter
Name Description
index int
Returns
Type Description
SpaceUpdatedEventDataOrBuilder

getSpacesOrBuilderList()

public List<? extends SpaceUpdatedEventDataOrBuilder> getSpacesOrBuilderList()

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SpaceBatchUpdatedEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSpaces(int index)

public SpaceBatchUpdatedEventData.Builder removeSpaces(int index)

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

Parameter
Name Description
index int
Returns
Type Description
SpaceBatchUpdatedEventData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSpaces(int index, SpaceUpdatedEventData value)

public SpaceBatchUpdatedEventData.Builder setSpaces(int index, SpaceUpdatedEventData value)

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

Parameters
Name Description
index int
value SpaceUpdatedEventData
Returns
Type Description
SpaceBatchUpdatedEventData.Builder

setSpaces(int index, SpaceUpdatedEventData.Builder builderForValue)

public SpaceBatchUpdatedEventData.Builder setSpaces(int index, SpaceUpdatedEventData.Builder builderForValue)

A list of updated spaces.

repeated .google.chat.v1.SpaceUpdatedEventData spaces = 1;

Parameters
Name Description
index int
builderForValue SpaceUpdatedEventData.Builder
Returns
Type Description
SpaceBatchUpdatedEventData.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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