aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/Integration/ExternalBridgeLoginRequest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Integration/ExternalBridgeLoginRequest.cs')
-rw-r--r--Software/Visual_Studio/Tango.PMR/Integration/ExternalBridgeLoginRequest.cs86
1 files changed, 4 insertions, 82 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Integration/ExternalBridgeLoginRequest.cs b/Software/Visual_Studio/Tango.PMR/Integration/ExternalBridgeLoginRequest.cs
index 21e4ecd30..85b18e9b2 100644
--- a/Software/Visual_Studio/Tango.PMR/Integration/ExternalBridgeLoginRequest.cs
+++ b/Software/Visual_Studio/Tango.PMR/Integration/ExternalBridgeLoginRequest.cs
@@ -24,17 +24,15 @@ namespace Tango.PMR.Integration {
string.Concat(
"CiBFeHRlcm5hbEJyaWRnZUxvZ2luUmVxdWVzdC5wcm90bxIVVGFuZ28uUE1S",
"LkludGVncmF0aW9uGh9FeHRlcm5hbEJyaWRnZUxvZ2luSW50ZW50LnByb3Rv",
- "IvABChpFeHRlcm5hbEJyaWRnZUxvZ2luUmVxdWVzdBINCgVBcHBJRBgBIAEo",
+ "IqMBChpFeHRlcm5hbEJyaWRnZUxvZ2luUmVxdWVzdBINCgVBcHBJRBgBIAEo",
"CRIQCghVc2VyR3VpZBgCIAEoCRIQCghIb3N0TmFtZRgDIAEoCRIQCghQYXNz",
"d29yZBgEIAEoCRJACgZJbnRlbnQYBSABKA4yMC5UYW5nby5QTVIuSW50ZWdy",
- "YXRpb24uRXh0ZXJuYWxCcmlkZ2VMb2dpbkludGVudBIkChxSZXF1aXJlU2Fm",
- "ZXR5TGV2ZWxPcGVyYXRpb25zGAYgASgIEhAKCFVzZXJOYW1lGAcgASgJEhMK",
- "C1Blcm1pc3Npb25zGAggAygJQiEKH2NvbS50d2luZS50YW5nby5wbXIuaW50",
- "ZWdyYXRpb25iBnByb3RvMw=="));
+ "YXRpb24uRXh0ZXJuYWxCcmlkZ2VMb2dpbkludGVudEIhCh9jb20udHdpbmUu",
+ "dGFuZ28ucG1yLmludGVncmF0aW9uYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Tango.PMR.Integration.ExternalBridgeLoginIntentReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Integration.ExternalBridgeLoginRequest), global::Tango.PMR.Integration.ExternalBridgeLoginRequest.Parser, new[]{ "AppID", "UserGuid", "HostName", "Password", "Intent", "RequireSafetyLevelOperations", "UserName", "Permissions" }, null, null, null)
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Integration.ExternalBridgeLoginRequest), global::Tango.PMR.Integration.ExternalBridgeLoginRequest.Parser, new[]{ "AppID", "UserGuid", "HostName", "Password", "Intent" }, null, null, null)
}));
}
#endregion
@@ -70,9 +68,6 @@ namespace Tango.PMR.Integration {
hostName_ = other.hostName_;
password_ = other.password_;
intent_ = other.intent_;
- requireSafetyLevelOperations_ = other.requireSafetyLevelOperations_;
- userName_ = other.userName_;
- permissions_ = other.permissions_.Clone();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -135,38 +130,6 @@ namespace Tango.PMR.Integration {
}
}
- /// <summary>Field number for the "RequireSafetyLevelOperations" field.</summary>
- public const int RequireSafetyLevelOperationsFieldNumber = 6;
- private bool requireSafetyLevelOperations_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool RequireSafetyLevelOperations {
- get { return requireSafetyLevelOperations_; }
- set {
- requireSafetyLevelOperations_ = value;
- }
- }
-
- /// <summary>Field number for the "UserName" field.</summary>
- public const int UserNameFieldNumber = 7;
- private string userName_ = "";
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string UserName {
- get { return userName_; }
- set {
- userName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// <summary>Field number for the "Permissions" field.</summary>
- public const int PermissionsFieldNumber = 8;
- private static readonly pb::FieldCodec<string> _repeated_permissions_codec
- = pb::FieldCodec.ForString(66);
- private readonly pbc::RepeatedField<string> permissions_ = new pbc::RepeatedField<string>();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField<string> Permissions {
- get { return permissions_; }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ExternalBridgeLoginRequest);
@@ -185,9 +148,6 @@ namespace Tango.PMR.Integration {
if (HostName != other.HostName) return false;
if (Password != other.Password) return false;
if (Intent != other.Intent) return false;
- if (RequireSafetyLevelOperations != other.RequireSafetyLevelOperations) return false;
- if (UserName != other.UserName) return false;
- if(!permissions_.Equals(other.permissions_)) return false;
return true;
}
@@ -199,9 +159,6 @@ namespace Tango.PMR.Integration {
if (HostName.Length != 0) hash ^= HostName.GetHashCode();
if (Password.Length != 0) hash ^= Password.GetHashCode();
if (Intent != 0) hash ^= Intent.GetHashCode();
- if (RequireSafetyLevelOperations != false) hash ^= RequireSafetyLevelOperations.GetHashCode();
- if (UserName.Length != 0) hash ^= UserName.GetHashCode();
- hash ^= permissions_.GetHashCode();
return hash;
}
@@ -232,15 +189,6 @@ namespace Tango.PMR.Integration {
output.WriteRawTag(40);
output.WriteEnum((int) Intent);
}
- if (RequireSafetyLevelOperations != false) {
- output.WriteRawTag(48);
- output.WriteBool(RequireSafetyLevelOperations);
- }
- if (UserName.Length != 0) {
- output.WriteRawTag(58);
- output.WriteString(UserName);
- }
- permissions_.WriteTo(output, _repeated_permissions_codec);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -261,13 +209,6 @@ namespace Tango.PMR.Integration {
if (Intent != 0) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Intent);
}
- if (RequireSafetyLevelOperations != false) {
- size += 1 + 1;
- }
- if (UserName.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(UserName);
- }
- size += permissions_.CalculateSize(_repeated_permissions_codec);
return size;
}
@@ -291,13 +232,6 @@ namespace Tango.PMR.Integration {
if (other.Intent != 0) {
Intent = other.Intent;
}
- if (other.RequireSafetyLevelOperations != false) {
- RequireSafetyLevelOperations = other.RequireSafetyLevelOperations;
- }
- if (other.UserName.Length != 0) {
- UserName = other.UserName;
- }
- permissions_.Add(other.permissions_);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -328,18 +262,6 @@ namespace Tango.PMR.Integration {
intent_ = (global::Tango.PMR.Integration.ExternalBridgeLoginIntent) input.ReadEnum();
break;
}
- case 48: {
- RequireSafetyLevelOperations = input.ReadBool();
- break;
- }
- case 58: {
- UserName = input.ReadString();
- break;
- }
- case 66: {
- permissions_.AddEntriesFrom(input, _repeated_permissions_codec);
- break;
- }
}
}
}