Class ParticipantSession.Builder (0.3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ParticipantSession.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ParticipantSession.Builder
Overrides

build()

public ParticipantSession build()
Returns
TypeDescription
ParticipantSession

buildPartial()

public ParticipantSession buildPartial()
Returns
TypeDescription
ParticipantSession

clear()

public ParticipantSession.Builder clear()
Returns
TypeDescription
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
TypeDescription
ParticipantSession.Builder

clearField(Descriptors.FieldDescriptor field)

public ParticipantSession.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ParticipantSession.Builder
Overrides

clearName()

public ParticipantSession.Builder clearName()

Identifier. Session id.

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

Returns
TypeDescription
ParticipantSession.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ParticipantSession.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ParticipantSession.Builder

clone()

public ParticipantSession.Builder clone()
Returns
TypeDescription
ParticipantSession.Builder
Overrides

getDefaultInstanceForType()

public ParticipantSession getDefaultInstanceForType()
Returns
TypeDescription
ParticipantSession

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getName()

public String getName()

Identifier. Session id.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. Session id.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ParticipantSession.Builder

mergeFrom(ParticipantSession other)

public ParticipantSession.Builder mergeFrom(ParticipantSession other)
Parameter
NameDescription
otherParticipantSession
Returns
TypeDescription
ParticipantSession.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ParticipantSession.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ParticipantSession.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ParticipantSession.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ParticipantSession.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ParticipantSession.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ParticipantSession.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ParticipantSession.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ParticipantSession.Builder
Overrides

setName(String value)

public ParticipantSession.Builder setName(String value)

Identifier. Session id.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ParticipantSession.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ParticipantSession.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ParticipantSession.Builder
Overrides