GeneratedOptional GeneratedcreateOutput only. Timestamp when this Preset was created.
from field: google.protobuf.Timestamp create_time = 8;
GenerateddataURL pointing to the serialized preset data. This is a serialized proto.Any blob produced by the document-service.
from field: string data_url = 13;
GenerateddescriptionThe description of the Preset.
from field: string description = 3;
GenerateddeviceThe type of devices used.
This contains the list of devices used in the data blob.
from field: audiotool.preset.v1.PresetDeviceType device_type = 12;
GenerateddisplayThe display name of the Preset.
from field: string display_name = 2;
GeneratedfavoritedWhether the authed user liked the Preset.
This is only exposed if the user is authenticated. The user can like a Preset via Favorite API.
from field: bool favorited_by_user = 5;
GeneratednameThe Preset name.
from field: string name = 1;
GeneratednumThe number of favorites of the Preset.
from field: int32 num_favorites = 6;
GeneratednumThe number of usages of the Preset in a track. If a Preset is used in a track, the usage will be increased. On the other hand the number will not be decreased if the a preset is removed or changed in a track.
from field: int32 num_usages = 7;
GeneratedownerThe owner of the Preset in the format of users/{user}.
from field: string owner_name = 4;
GeneratedtagsThe tags of the Preset.
from field: repeated string tags = 11;
Optional GeneratedupdateOutput only. Timestamp when this Preset was last updated.
The underlying audio can't be changed. Only some metadata (of this message) can be changed.
from field: google.protobuf.Timestamp update_time = 9;
GeneratedusageThe usage of the Preset.
from field: audiotool.preset.v1.PresetUsage usage = 10;
Static ReadonlyfieldsStatic ReadonlyruntimeStatic ReadonlytypeCreate a deep copy.
Parse from binary data, merging fields.
Repeated fields are appended. Map entries are added, overwriting existing keys.
If a message field is already present, it will be merged with the new data.
Optionaloptions: Partial<BinaryReadOptions>Parse a message from a JSON value.
Optionaloptions: Partial<JsonReadOptions>Parse a message from a JSON string.
Optionaloptions: Partial<JsonReadOptions>Retrieve the MessageType of this message - a singleton that represents the protobuf message declaration and provides metadata for reflection- based operations.
Serialize the message to binary data.
Optionaloptions: Partial<BinaryWriteOptions>Serialize the message to a JSON value, a JavaScript value that can be passed to JSON.stringify().
Optionaloptions: Partial<JsonWriteOptions>ProtectedtoOverride for serialization behavior. This will be invoked when calling JSON.stringify on this message (i.e. JSON.stringify(msg)).
Note that this will not serialize google.protobuf.Any with a packed message because the protobuf JSON format specifies that it needs to be unpacked, and this is only possible with a type registry to look up the message type. As a result, attempting to serialize a message with this type will throw an Error.
This method is protected because you should not need to invoke it directly -- instead use JSON.stringify or toJsonString for stringified JSON. Alternatively, if actual JSON is desired, you should use toJson.
Serialize the message to a JSON string.
Optionaloptions: Partial<JsonWriteStringOptions>StaticequalsStaticfromOptionaloptions: Partial<BinaryReadOptions>StaticfromStaticfrom
Preset is a resource representing a single Preset.
from message audiotool.preset.v1.Preset