Builder

public final class Builder

A builder for Audio.

Functions

Link copied to clipboard
public final StepDelta.Delta.Audio.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard

Returns an immutable instance of Audio.

Link copied to clipboard
public final StepDelta.Delta.Audio.Builder channels(JsonField<Integer> channels)

Sets Builder.channels to an arbitrary JSON value.

The number of audio channels.

Link copied to clipboard
public final StepDelta.Delta.Audio.Builder data(JsonField<String> data)

Sets Builder.data to an arbitrary JSON value.

Link copied to clipboard
Link copied to clipboard
public final StepDelta.Delta.Audio.Builder putAdditionalProperty(String key, JsonValue value)
Link copied to clipboard
public final StepDelta.Delta.Audio.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard
@Deprecated(message = "deprecated")
public final StepDelta.Delta.Audio.Builder rate(JsonField<Integer> rate)

Sets Builder.rate to an arbitrary JSON value.

@Deprecated(message = "deprecated")
public final StepDelta.Delta.Audio.Builder rate(Integer rate)

Deprecated. Use sample_rate instead. The value is ignored.

Link copied to clipboard
public final StepDelta.Delta.Audio.Builder sampleRate(JsonField<Integer> sampleRate)

Sets Builder.sampleRate to an arbitrary JSON value.

The sample rate of the audio.

Link copied to clipboard
public final StepDelta.Delta.Audio.Builder type(JsonValue type)

Sets the field to an arbitrary JSON value.

Link copied to clipboard
public final StepDelta.Delta.Audio.Builder uri(JsonField<String> uri)

Sets Builder.uri to an arbitrary JSON value.