...
This commit is contained in:
@@ -24,15 +24,16 @@ namespace AIAss.Protos {
|
||||
static AiaReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CglhaWEucHJvdG8SA2FpYSIvCgphaWFSZXF1ZXN0EhAKCHF1ZXN0aW9uGAEg",
|
||||
"ASgJEg8KB3Byb21wdHMYAiABKAkiGwoIYWlhUmVwbHkSDwoHbWVzc2FnZRgB",
|
||||
"IAEoCTI+CgxhaUFzc2lzdGFuY2USLgoMU2VuZFF1ZXN0aW9uEg8uYWlhLmFp",
|
||||
"YVJlcXVlc3QaDS5haWEuYWlhUmVwbHlCD6oCDEFJQXNzLlByb3Rvc2IGcHJv",
|
||||
"dG8z"));
|
||||
"CglhaWEucHJvdG8SA2FpYSJdCgphaWFSZXF1ZXN0EhAKCHF1ZXN0aW9uGAEg",
|
||||
"ASgJEg8KB3Byb21wdHMYAiABKAkSDQoFbW9kZWwYAyABKAkSEAoIYXBpdG9r",
|
||||
"ZW4YBCABKAkSCwoDdXJsGAUgASgJIhsKCGFpYVJlcGx5Eg8KB21lc3NhZ2UY",
|
||||
"ASABKAkyPgoMYWlBc3Npc3RhbmNlEi4KDFNlbmRRdWVzdGlvbhIPLmFpYS5h",
|
||||
"aWFSZXF1ZXN0Gg0uYWlhLmFpYVJlcGx5Qg+qAgxBSUFzcy5Qcm90b3NiBnBy",
|
||||
"b3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::AIAss.Protos.aiaRequest), global::AIAss.Protos.aiaRequest.Parser, new[]{ "Question", "Prompts" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::AIAss.Protos.aiaRequest), global::AIAss.Protos.aiaRequest.Parser, new[]{ "Question", "Prompts", "Model", "Apitoken", "Url" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::AIAss.Protos.aiaReply), global::AIAss.Protos.aiaReply.Parser, new[]{ "Message" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
@@ -77,6 +78,9 @@ namespace AIAss.Protos {
|
||||
public aiaRequest(aiaRequest other) : this() {
|
||||
question_ = other.question_;
|
||||
prompts_ = other.prompts_;
|
||||
model_ = other.model_;
|
||||
apitoken_ = other.apitoken_;
|
||||
url_ = other.url_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -110,6 +114,42 @@ namespace AIAss.Protos {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "model" field.</summary>
|
||||
public const int ModelFieldNumber = 3;
|
||||
private string model_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Model {
|
||||
get { return model_; }
|
||||
set {
|
||||
model_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "apitoken" field.</summary>
|
||||
public const int ApitokenFieldNumber = 4;
|
||||
private string apitoken_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Apitoken {
|
||||
get { return apitoken_; }
|
||||
set {
|
||||
apitoken_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "url" field.</summary>
|
||||
public const int UrlFieldNumber = 5;
|
||||
private string url_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Url {
|
||||
get { return url_; }
|
||||
set {
|
||||
url_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
@@ -127,6 +167,9 @@ namespace AIAss.Protos {
|
||||
}
|
||||
if (Question != other.Question) return false;
|
||||
if (Prompts != other.Prompts) return false;
|
||||
if (Model != other.Model) return false;
|
||||
if (Apitoken != other.Apitoken) return false;
|
||||
if (Url != other.Url) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -136,6 +179,9 @@ namespace AIAss.Protos {
|
||||
int hash = 1;
|
||||
if (Question.Length != 0) hash ^= Question.GetHashCode();
|
||||
if (Prompts.Length != 0) hash ^= Prompts.GetHashCode();
|
||||
if (Model.Length != 0) hash ^= Model.GetHashCode();
|
||||
if (Apitoken.Length != 0) hash ^= Apitoken.GetHashCode();
|
||||
if (Url.Length != 0) hash ^= Url.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
@@ -162,6 +208,18 @@ namespace AIAss.Protos {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(Prompts);
|
||||
}
|
||||
if (Model.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Model);
|
||||
}
|
||||
if (Apitoken.Length != 0) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteString(Apitoken);
|
||||
}
|
||||
if (Url.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(Url);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
@@ -180,6 +238,18 @@ namespace AIAss.Protos {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(Prompts);
|
||||
}
|
||||
if (Model.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Model);
|
||||
}
|
||||
if (Apitoken.Length != 0) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteString(Apitoken);
|
||||
}
|
||||
if (Url.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(Url);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
@@ -196,6 +266,15 @@ namespace AIAss.Protos {
|
||||
if (Prompts.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Prompts);
|
||||
}
|
||||
if (Model.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Model);
|
||||
}
|
||||
if (Apitoken.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Apitoken);
|
||||
}
|
||||
if (Url.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Url);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
@@ -214,6 +293,15 @@ namespace AIAss.Protos {
|
||||
if (other.Prompts.Length != 0) {
|
||||
Prompts = other.Prompts;
|
||||
}
|
||||
if (other.Model.Length != 0) {
|
||||
Model = other.Model;
|
||||
}
|
||||
if (other.Apitoken.Length != 0) {
|
||||
Apitoken = other.Apitoken;
|
||||
}
|
||||
if (other.Url.Length != 0) {
|
||||
Url = other.Url;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -237,6 +325,18 @@ namespace AIAss.Protos {
|
||||
Prompts = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Model = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
Apitoken = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
Url = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -260,6 +360,18 @@ namespace AIAss.Protos {
|
||||
Prompts = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Model = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
Apitoken = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
Url = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user