AI-generated Key Takeaways
-  The ConferenceDataBuilderis used to createConferenceDataobjects.
-  Methods are available to add conference parameters and entry points, set conference ID and solution ID, set errors, and add notes. 
-  The build()method is used to finalize and validate theConferenceDataobject.
Builder for creating for  Conference  
objects.
Methods
| Method | Return type | Brief description | 
|---|---|---|
|  Conference  | Adds a  Conference to this Conference . | |
|  Conference  | Adds an  Entry to this Conference . | |
|  Conference  | Builds and validates the  Conference . | |
|  Conference  | Sets the conference ID of this  Conference . | |
|  Conference  | Sets the conference solution ID defined in the addon's manifest. | |
|  Conference  | Sets the  Conference of this Conference , indicating that the conference
was not successfully created. | |
|  Conference  | Sets the additional notes of this  Conference , such as instructions from the
administrator or legal notices. | 
Detailed documentation
 add  
 
 Adds a  Conference  
to this  Conference  
. The maximum number of
parameters per  Conference  
is 300.
Parameters
| Name | Type | Description | 
|---|---|---|
| conference  |  Conference  | The parameter to add. | 
Return
  Conference  
— This builder, for chaining.
Throws
  Error 
 
— if the provided conference parameter is invalid or if too many
    conference parameters were added.
 add  
 
 Adds an  Entry  
to this  Conference  
. The maximum number of entry points
per  Conference  
is 300.
Parameters
| Name | Type | Description | 
|---|---|---|
| entry  |  Entry  | The entry point to add. | 
Return
  Conference  
— This builder, for chaining.
Throws
  Error 
 
— if the provided entry point is invalid or if too many entry
    points were added.
 build() 
 
 Builds and validates the  Conference  
.
Return
  Conference  
— the validated conference data
Throws
  Error 
 
— if the constructed conference data is not valid.
 set  
 
 Sets the conference ID of this  Conference  
. The maximum length for this field is 512
characters.
Parameters
| Name | Type | Description | 
|---|---|---|
| conference  | String | The ID to set. | 
Return
  Conference  
— This builder, for chaining.
Throws
  Error 
 
— if the provided conference ID is too long.
 set  
 
 Sets the conference solution ID defined in the addon's manifest. The value must be specified and populates conference's name and iconUrl values.
Note that the field is required for GSuite add-ons whereas it's ignored for Conferencing add-ons
Parameters
| Name | Type | Description | 
|---|---|---|
| conference  | String | The ID matching the manifest. | 
Return
  Conference  
— This builder, for chaining.
Throws
  Error 
 
— if the provided conference solution id is too long. The maximum
    length for this field is 512 characters.
 set  
 
 Sets the  Conference  
of this  Conference  
, indicating that the conference
was not successfully created.
Parameters
| Name | Type | Description | 
|---|---|---|
| conference  |  Conference  | The error to set. | 
Return
  Conference  
— This builder, for chaining.
Throws
  Error 
 
— if the provided error is invalid.
 set  
 
 Sets the additional notes of this  Conference  
, such as instructions from the
administrator or legal notices. Can contain HTML. The maximum length for this field is 2048
characters.
Parameters
| Name | Type | Description | 
|---|---|---|
| notes | String | The additional notes to set. | 
Return
  Conference  
— This builder, for chaining.
Throws
  Error 
 
— if the provided notes are too long.

