Class ParticipantSession.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ParticipantSession.Builder>
com.google.apps.meet.v2.ParticipantSession.Builder
All Implemented Interfaces:
ParticipantSessionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ParticipantSession

public static final class ParticipantSession.Builder extends com.google.protobuf.GeneratedMessage.Builder<ParticipantSession.Builder> implements ParticipantSessionOrBuilder
 Refers to each unique join or 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.v2.ParticipantSession
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ParticipantSession.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ParticipantSession.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ParticipantSession.Builder>
    • getDefaultInstanceForType

      public ParticipantSession getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ParticipantSession build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ParticipantSession buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ParticipantSession.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ParticipantSession.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ParticipantSession.Builder>
    • mergeFrom

      public ParticipantSession.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ParticipantSession.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. Session id.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface ParticipantSessionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Session id.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface ParticipantSessionOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ParticipantSession.Builder setName(String value)
       Identifier. Session id.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ParticipantSession.Builder clearName()
       Identifier. Session id.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public ParticipantSession.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. Session id.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasStartTime

      public boolean hasStartTime()
       Output only. Timestamp when the user session starts.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStartTime in interface ParticipantSessionOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Output only. Timestamp when the user session starts.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTime in interface ParticipantSessionOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public ParticipantSession.Builder setStartTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when the user session starts.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStartTime

      public ParticipantSession.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when the user session starts.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeStartTime

      public ParticipantSession.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when the user session starts.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStartTime

      public ParticipantSession.Builder clearStartTime()
       Output only. Timestamp when the user session starts.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       Output only. Timestamp when the user session starts.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Output only. Timestamp when the user session starts.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTimeOrBuilder in interface ParticipantSessionOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Output only. Timestamp when the user session ends. Unset if the user
       session hasn’t ended.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEndTime in interface ParticipantSessionOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Output only. Timestamp when the user session ends. Unset if the user
       session hasn’t ended.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTime in interface ParticipantSessionOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public ParticipantSession.Builder setEndTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when the user session ends. Unset if the user
       session hasn’t ended.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setEndTime

      public ParticipantSession.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when the user session ends. Unset if the user
       session hasn’t ended.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeEndTime

      public ParticipantSession.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when the user session ends. Unset if the user
       session hasn’t ended.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearEndTime

      public ParticipantSession.Builder clearEndTime()
       Output only. Timestamp when the user session ends. Unset if the user
       session hasn’t ended.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
       Output only. Timestamp when the user session ends. Unset if the user
       session hasn’t ended.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Output only. Timestamp when the user session ends. Unset if the user
       session hasn’t ended.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTimeOrBuilder in interface ParticipantSessionOrBuilder