ConferenceDataBuilder

Builder for creating for `https://developers.google.com/apps-script/reference/conference-data/conference-data` objects.

### Methods

| Method | Return type | Brief description |
|---|---|---|
| `https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#addConferenceParameter(ConferenceParameter)` | `https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#` | Adds a `https://developers.google.com/apps-script/reference/conference-data/conference-parameter` to this `https://developers.google.com/apps-script/reference/conference-data/conference-data`. |
| `https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#addEntryPoint(EntryPoint)` | `https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#` | Adds an `https://developers.google.com/apps-script/reference/conference-data/entry-point` to this `https://developers.google.com/apps-script/reference/conference-data/conference-data`. |
| `https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#build()` | `https://developers.google.com/apps-script/reference/conference-data/conference-data` | Builds and validates the `https://developers.google.com/apps-script/reference/conference-data/conference-data`. |
| `https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#setConferenceId(String)` | `https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#` | Sets the conference ID of this `https://developers.google.com/apps-script/reference/conference-data/conference-data`. |
| `https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#setConferenceSolutionId(String)` | `https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#` | Sets the conference solution ID defined in the addon's manifest. |
| `https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#setError(ConferenceError)` | `https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#` | Sets the `https://developers.google.com/apps-script/reference/conference-data/conference-error` of this `https://developers.google.com/apps-script/reference/conference-data/conference-data`, indicating that the conference was not successfully created. |
| `https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#setNotes(String)` | `https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#` | Sets the additional notes of this `https://developers.google.com/apps-script/reference/conference-data/conference-data`, such as instructions from the administrator or legal notices. |

## Detailed documentation

### `addConferenceParameter(conferenceParameter)`

Adds a `https://developers.google.com/apps-script/reference/conference-data/conference-parameter` to this `https://developers.google.com/apps-script/reference/conference-data/conference-data`. The maximum number of
parameters per `https://developers.google.com/apps-script/reference/conference-data/conference-data` is 300.

#### Parameters

| Name | Type | Description |
|---|---|---|
| `conferenceParameter` | `https://developers.google.com/apps-script/reference/conference-data/conference-parameter` | The parameter to add. |

#### Return


`https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#` --- This builder, for chaining.

#### Throws


[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the provided conference parameter is invalid or if too many
conference parameters were added.

*** ** * ** ***

### `addEntryPoint(entryPoint)`

Adds an `https://developers.google.com/apps-script/reference/conference-data/entry-point` to this `https://developers.google.com/apps-script/reference/conference-data/conference-data`. The maximum number of entry points
per `https://developers.google.com/apps-script/reference/conference-data/conference-data` is 300.

#### Parameters

| Name | Type | Description |
|---|---|---|
| `entryPoint` | `https://developers.google.com/apps-script/reference/conference-data/entry-point` | The entry point to add. |

#### Return


`https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#` --- This builder, for chaining.

#### Throws


[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the provided entry point is invalid or if too many entry
points were added.

*** ** * ** ***

### `build()`

Builds and validates the `https://developers.google.com/apps-script/reference/conference-data/conference-data`.

#### Return


`https://developers.google.com/apps-script/reference/conference-data/conference-data` --- the validated conference data

#### Throws


[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the constructed conference data is not valid.

*** ** * ** ***

### `setConferenceId(conferenceId)`

Sets the conference ID of this `https://developers.google.com/apps-script/reference/conference-data/conference-data`. The maximum length for this field is 512
characters.

#### Parameters

| Name | Type | Description |
|---|---|---|
| `conferenceId` | `String` | The ID to set. |

#### Return


`https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#` --- This builder, for chaining.

#### Throws


[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the provided conference ID is too long.

*** ** * ** ***

### `setConferenceSolutionId(conferenceSolutionId)`

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 |
|---|---|---|
| `conferenceSolutionId` | `String` | The ID matching the manifest. |

#### Return


`https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#` --- This builder, for chaining.

#### Throws


[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the provided conference solution id is too long. The maximum
length for this field is 512 characters.

*** ** * ** ***

### `setError(conferenceError)`

Sets the `https://developers.google.com/apps-script/reference/conference-data/conference-error` of this `https://developers.google.com/apps-script/reference/conference-data/conference-data`, indicating that the conference
was not successfully created.

#### Parameters

| Name | Type | Description |
|---|---|---|
| `conferenceError` | `https://developers.google.com/apps-script/reference/conference-data/conference-error` | The error to set. |

#### Return


`https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#` --- This builder, for chaining.

#### Throws


[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the provided error is invalid.

*** ** * ** ***

### `setNotes(notes)`

Sets the additional notes of this `https://developers.google.com/apps-script/reference/conference-data/conference-data`, 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


`https://developers.google.com/apps-script/reference/conference-data/conference-data-builder#` --- This builder, for chaining.

#### Throws


[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the provided notes are too long.