393 lines
13 KiB
C#
393 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: circuits_v2/gen_ai_audio_data.proto
|
|
// </auto-generated>
|
|
#pragma warning disable 1591, 0612, 3021, 8981
|
|
#region Designer generated code
|
|
|
|
using pb = global::Google.Protobuf;
|
|
using pbc = global::Google.Protobuf.Collections;
|
|
using pbr = global::Google.Protobuf.Reflection;
|
|
using scg = global::System.Collections.Generic;
|
|
namespace CircuitsV2.Protobuf {
|
|
|
|
/// <summary>Holder for reflection information generated from circuits_v2/gen_ai_audio_data.proto</summary>
|
|
public static partial class GenAiAudioDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for circuits_v2/gen_ai_audio_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GenAiAudioDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CiNjaXJjdWl0c192Mi9nZW5fYWlfYXVkaW9fZGF0YS5wcm90bxILY2lyY3Vp",
|
|
"dHNfdjIiZQoOR2VuQWlBdWRpb0RhdGESEAoIYmxvYk5hbWUYASABKAkSDgoG",
|
|
"cHJvbXB0GAIgASgJEhAKCGR1cmF0aW9uGAMgASgFEg4KBmx5cmljcxgEIAEo",
|
|
"CRIPCgdjb250ZXh0GAUgASgJQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZw",
|
|
"cm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.GenAiAudioData), global::CircuitsV2.Protobuf.GenAiAudioData.Parser, new[]{ "BlobName", "Prompt", "Duration", "Lyrics", "Context" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GenAiAudioData : pb::IMessage<GenAiAudioData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GenAiAudioData> _parser = new pb::MessageParser<GenAiAudioData>(() => new GenAiAudioData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GenAiAudioData> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::CircuitsV2.Protobuf.GenAiAudioDataReflection.Descriptor.MessageTypes[0]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GenAiAudioData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GenAiAudioData(GenAiAudioData other) : this() {
|
|
blobName_ = other.blobName_;
|
|
prompt_ = other.prompt_;
|
|
duration_ = other.duration_;
|
|
lyrics_ = other.lyrics_;
|
|
context_ = other.context_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GenAiAudioData Clone() {
|
|
return new GenAiAudioData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "blobName" field.</summary>
|
|
public const int BlobNameFieldNumber = 1;
|
|
private string blobName_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string BlobName {
|
|
get { return blobName_; }
|
|
set {
|
|
blobName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "prompt" field.</summary>
|
|
public const int PromptFieldNumber = 2;
|
|
private string prompt_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Prompt {
|
|
get { return prompt_; }
|
|
set {
|
|
prompt_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "duration" field.</summary>
|
|
public const int DurationFieldNumber = 3;
|
|
private int duration_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Duration {
|
|
get { return duration_; }
|
|
set {
|
|
duration_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "lyrics" field.</summary>
|
|
public const int LyricsFieldNumber = 4;
|
|
private string lyrics_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Lyrics {
|
|
get { return lyrics_; }
|
|
set {
|
|
lyrics_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "context" field.</summary>
|
|
public const int ContextFieldNumber = 5;
|
|
private string context_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Context {
|
|
get { return context_; }
|
|
set {
|
|
context_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GenAiAudioData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GenAiAudioData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (BlobName != other.BlobName) return false;
|
|
if (Prompt != other.Prompt) return false;
|
|
if (Duration != other.Duration) return false;
|
|
if (Lyrics != other.Lyrics) return false;
|
|
if (Context != other.Context) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (BlobName.Length != 0) hash ^= BlobName.GetHashCode();
|
|
if (Prompt.Length != 0) hash ^= Prompt.GetHashCode();
|
|
if (Duration != 0) hash ^= Duration.GetHashCode();
|
|
if (Lyrics.Length != 0) hash ^= Lyrics.GetHashCode();
|
|
if (Context.Length != 0) hash ^= Context.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
output.WriteRawMessage(this);
|
|
#else
|
|
if (BlobName.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(BlobName);
|
|
}
|
|
if (Prompt.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Prompt);
|
|
}
|
|
if (Duration != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(Duration);
|
|
}
|
|
if (Lyrics.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Lyrics);
|
|
}
|
|
if (Context.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(Context);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
if (BlobName.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(BlobName);
|
|
}
|
|
if (Prompt.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Prompt);
|
|
}
|
|
if (Duration != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(Duration);
|
|
}
|
|
if (Lyrics.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Lyrics);
|
|
}
|
|
if (Context.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(Context);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(ref output);
|
|
}
|
|
}
|
|
#endif
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (BlobName.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(BlobName);
|
|
}
|
|
if (Prompt.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Prompt);
|
|
}
|
|
if (Duration != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Duration);
|
|
}
|
|
if (Lyrics.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Lyrics);
|
|
}
|
|
if (Context.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Context);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GenAiAudioData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.BlobName.Length != 0) {
|
|
BlobName = other.BlobName;
|
|
}
|
|
if (other.Prompt.Length != 0) {
|
|
Prompt = other.Prompt;
|
|
}
|
|
if (other.Duration != 0) {
|
|
Duration = other.Duration;
|
|
}
|
|
if (other.Lyrics.Length != 0) {
|
|
Lyrics = other.Lyrics;
|
|
}
|
|
if (other.Context.Length != 0) {
|
|
Context = other.Context;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
input.ReadRawMessage(this);
|
|
#else
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 10: {
|
|
BlobName = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Prompt = input.ReadString();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Duration = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Lyrics = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
Context = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 10: {
|
|
BlobName = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Prompt = input.ReadString();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Duration = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Lyrics = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
Context = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|