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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ParticipantSession.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ParticipantSession build()
buildPartial()
public ParticipantSession buildPartial()
clear()
public ParticipantSession.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public ParticipantSession.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public ParticipantSession.Builder clearName()
Identifier. Session id.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
clearOneof(Descriptors.OneofDescriptor oneof)
public ParticipantSession.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public ParticipantSession.Builder clone()
Overrides
getDefaultInstanceForType()
public ParticipantSession getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. Timestamp when the user session started.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(ParticipantSession other)
public ParticipantSession.Builder mergeFrom(ParticipantSession other)
public ParticipantSession.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ParticipantSession.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ParticipantSession.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ParticipantSession.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ParticipantSession.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ParticipantSession.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides