Class ParticipantSession.Builder (0.12.0)

public static final class ParticipantSession.Builder extends GeneratedMessageV3.Builder<ParticipantSession.Builder> implements ParticipantSessionOrBuilder

Developer Preview. Refers to each unique join/leave session when a user joins a conference from a device. Note that any time a user joins the conference a new unique ID is assigned. That means if a user joins a space multiple times from the same device, they're assigned different IDs, and are also be treated as different participant sessions.

Protobuf type google.apps.meet.v2beta.ParticipantSession

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ParticipantSession build()
Returns
Type Description
ParticipantSession

buildPartial()

public ParticipantSession buildPartial()
Returns
Type Description
ParticipantSession

clear()

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

clearEndTime()

public ParticipantSession.Builder clearEndTime()

Output only. Timestamp when the user session ended. Unset if the user session hasn’t ended.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ParticipantSession.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ParticipantSession.Builder clearName()

Identifier. Session id.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ParticipantSession.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public ParticipantSession.Builder clearStartTime()

Output only. Timestamp when the user session started.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ParticipantSession.Builder

clone()

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

getDefaultInstanceForType()

public ParticipantSession getDefaultInstanceForType()
Returns
Type Description
ParticipantSession

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

Output only. Timestamp when the user session ended. Unset if the user session hasn’t ended.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. Timestamp when the user session ended. Unset if the user session hasn’t ended.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. Timestamp when the user session ended. Unset if the user session hasn’t ended.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getName()

public String getName()

Identifier. Session id.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. Session id.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getStartTime()

public Timestamp getStartTime()

Output only. Timestamp when the user session started.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. Timestamp when the user session started.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. Timestamp when the user session started.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

Output only. Timestamp when the user session ended. Unset if the user session hasn’t ended.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

Output only. Timestamp when the user session started.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public ParticipantSession.Builder mergeEndTime(Timestamp value)

Output only. Timestamp when the user session ended. Unset if the user session hasn’t ended.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ParticipantSession.Builder

mergeFrom(ParticipantSession other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public ParticipantSession.Builder mergeStartTime(Timestamp value)

Output only. Timestamp when the user session started.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ParticipantSession.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEndTime(Timestamp value)

public ParticipantSession.Builder setEndTime(Timestamp value)

Output only. Timestamp when the user session ended. Unset if the user session hasn’t ended.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ParticipantSession.Builder

setEndTime(Timestamp.Builder builderForValue)

public ParticipantSession.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. Timestamp when the user session ended. Unset if the user session hasn’t ended.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ParticipantSession.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ParticipantSession.Builder setName(String value)

Identifier. Session id.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ParticipantSession.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ParticipantSession.Builder setNameBytes(ByteString value)

Identifier. Session id.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ParticipantSession.Builder

This builder for chaining.

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

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

setStartTime(Timestamp value)

public ParticipantSession.Builder setStartTime(Timestamp value)

Output only. Timestamp when the user session started.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ParticipantSession.Builder

setStartTime(Timestamp.Builder builderForValue)

public ParticipantSession.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. Timestamp when the user session started.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ParticipantSession.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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