From 3173b555a518bf91958a460ad0f5577fe7488595 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 4 Oct 2023 16:04:36 +0000 Subject: [PATCH] feat: added FraudPreventionAssessment.behavioral_trust_verdict docs: formatting of resource names chore: remove backend configuration from the service config PiperOrigin-RevId: 570683260 Source-Link: https://github.com/googleapis/googleapis/commit/b027b019374cf2ae5fcdeebf75cc17cd9d7c2e50 Source-Link: https://github.com/googleapis/googleapis-gen/commit/c97a9e88043caae796c6340451088773c1d70cdc Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuUmVjYXB0Y2hhRW50ZXJwcmlzZS5WMUJldGExLy5Pd2xCb3QueWFtbCIsImgiOiJjOTdhOWU4ODA0M2NhYWU3OTZjNjM0MDQ1MTA4ODc3M2MxZDcwY2RjIn0= --- ...captchaEnterpriseServiceV1Beta1Client.g.cs | 24 +- .../Recaptchaenterprise.g.cs | 322 ++++++++++++++++-- 2 files changed, 298 insertions(+), 48 deletions(-) diff --git a/apis/Google.Cloud.RecaptchaEnterprise.V1Beta1/Google.Cloud.RecaptchaEnterprise.V1Beta1/RecaptchaEnterpriseServiceV1Beta1Client.g.cs b/apis/Google.Cloud.RecaptchaEnterprise.V1Beta1/Google.Cloud.RecaptchaEnterprise.V1Beta1/RecaptchaEnterpriseServiceV1Beta1Client.g.cs index 0760cf4a9aa3..ac58418586bd 100644 --- a/apis/Google.Cloud.RecaptchaEnterprise.V1Beta1/Google.Cloud.RecaptchaEnterprise.V1Beta1/RecaptchaEnterpriseServiceV1Beta1Client.g.cs +++ b/apis/Google.Cloud.RecaptchaEnterprise.V1Beta1/Google.Cloud.RecaptchaEnterprise.V1Beta1/RecaptchaEnterpriseServiceV1Beta1Client.g.cs @@ -260,7 +260,7 @@ public virtual Assessment CreateAssessment(CreateAssessmentRequest request, gaxg /// /// /// Required. The name of the project in which the assessment will be created, - /// in the format "projects/{project_number}". + /// in the format `projects/{project_number}`. /// /// /// Required. The assessment details. @@ -279,7 +279,7 @@ public virtual Assessment CreateAssessment(string parent, Assessment assessment, /// /// /// Required. The name of the project in which the assessment will be created, - /// in the format "projects/{project_number}". + /// in the format `projects/{project_number}`. /// /// /// Required. The assessment details. @@ -298,7 +298,7 @@ public virtual Assessment CreateAssessment(string parent, Assessment assessment, /// /// /// Required. The name of the project in which the assessment will be created, - /// in the format "projects/{project_number}". + /// in the format `projects/{project_number}`. /// /// /// Required. The assessment details. @@ -313,7 +313,7 @@ public virtual Assessment CreateAssessment(string parent, Assessment assessment, /// /// /// Required. The name of the project in which the assessment will be created, - /// in the format "projects/{project_number}". + /// in the format `projects/{project_number}`. /// /// /// Required. The assessment details. @@ -332,7 +332,7 @@ public virtual Assessment CreateAssessment(gagr::ProjectName parent, Assessment /// /// /// Required. The name of the project in which the assessment will be created, - /// in the format "projects/{project_number}". + /// in the format `projects/{project_number}`. /// /// /// Required. The assessment details. @@ -351,7 +351,7 @@ public virtual Assessment CreateAssessment(gagr::ProjectName parent, Assessment /// /// /// Required. The name of the project in which the assessment will be created, - /// in the format "projects/{project_number}". + /// in the format `projects/{project_number}`. /// /// /// Required. The assessment details. @@ -397,7 +397,7 @@ public virtual AnnotateAssessmentResponse AnnotateAssessment(AnnotateAssessmentR /// /// /// Required. The resource name of the Assessment, in the format - /// "projects/{project_number}/assessments/{assessment_id}". + /// `projects/{project_number}/assessments/{assessment_id}`. /// /// /// Optional. The annotation that will be assigned to the Event. This field can @@ -419,7 +419,7 @@ public virtual AnnotateAssessmentResponse AnnotateAssessment(string name, Annota /// /// /// Required. The resource name of the Assessment, in the format - /// "projects/{project_number}/assessments/{assessment_id}". + /// `projects/{project_number}/assessments/{assessment_id}`. /// /// /// Optional. The annotation that will be assigned to the Event. This field can @@ -441,7 +441,7 @@ public virtual AnnotateAssessmentResponse AnnotateAssessment(string name, Annota /// /// /// Required. The resource name of the Assessment, in the format - /// "projects/{project_number}/assessments/{assessment_id}". + /// `projects/{project_number}/assessments/{assessment_id}`. /// /// /// Optional. The annotation that will be assigned to the Event. This field can @@ -459,7 +459,7 @@ public virtual AnnotateAssessmentResponse AnnotateAssessment(string name, Annota /// /// /// Required. The resource name of the Assessment, in the format - /// "projects/{project_number}/assessments/{assessment_id}". + /// `projects/{project_number}/assessments/{assessment_id}`. /// /// /// Optional. The annotation that will be assigned to the Event. This field can @@ -481,7 +481,7 @@ public virtual AnnotateAssessmentResponse AnnotateAssessment(AssessmentName name /// /// /// Required. The resource name of the Assessment, in the format - /// "projects/{project_number}/assessments/{assessment_id}". + /// `projects/{project_number}/assessments/{assessment_id}`. /// /// /// Optional. The annotation that will be assigned to the Event. This field can @@ -503,7 +503,7 @@ public virtual AnnotateAssessmentResponse AnnotateAssessment(AssessmentName name /// /// /// Required. The resource name of the Assessment, in the format - /// "projects/{project_number}/assessments/{assessment_id}". + /// `projects/{project_number}/assessments/{assessment_id}`. /// /// /// Optional. The annotation that will be assigned to the Event. This field can diff --git a/apis/Google.Cloud.RecaptchaEnterprise.V1Beta1/Google.Cloud.RecaptchaEnterprise.V1Beta1/Recaptchaenterprise.g.cs b/apis/Google.Cloud.RecaptchaEnterprise.V1Beta1/Google.Cloud.RecaptchaEnterprise.V1Beta1/Recaptchaenterprise.g.cs index 2827a6fc4a13..20046bcae09f 100644 --- a/apis/Google.Cloud.RecaptchaEnterprise.V1Beta1/Google.Cloud.RecaptchaEnterprise.V1Beta1/Recaptchaenterprise.g.cs +++ b/apis/Google.Cloud.RecaptchaEnterprise.V1Beta1/Google.Cloud.RecaptchaEnterprise.V1Beta1/Recaptchaenterprise.g.cs @@ -133,43 +133,47 @@ static RecaptchaenterpriseReflection() { "KAkiqAEKDUludmFsaWRSZWFzb24SHgoaSU5WQUxJRF9SRUFTT05fVU5TUEVD", "SUZJRUQQABIaChZVTktOT1dOX0lOVkFMSURfUkVBU09OEAESDQoJTUFMRk9S", "TUVEEAISCwoHRVhQSVJFRBADEggKBERVUEUQBBIVCg1TSVRFX01JU01BVENI", - "EAUaAggBEgsKB01JU1NJTkc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oR29vZ2xlLkNsb3VkLlJlY2FwdGNoYUVudGVycHJpc2UuVjFC", + "ZXRhMcoCKEdvb2dsZVxDbG91ZFxSZWNhcHRjaGFFbnRlcnByaXNlXFYxYmV0", + "YTHqAitHb29nbGU6OkNsb3VkOjpSZWNhcHRjaGFFbnRlcnByaXNlOjpWMWJl", + "dGExYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { @@ -185,8 +189,9 @@ static RecaptchaenterpriseReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.RecaptchaEnterprise.V1Beta1.TransactionData.Types.Item), global::Google.Cloud.RecaptchaEnterprise.V1Beta1.TransactionData.Types.Item.Parser, new[]{ "Name", "Value", "Quantity", "MerchantAccountId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.RecaptchaEnterprise.V1Beta1.TransactionData.Types.GatewayInfo), global::Google.Cloud.RecaptchaEnterprise.V1Beta1.TransactionData.Types.GatewayInfo.Parser, new[]{ "Name", "GatewayResponseCode", "AvsResponseCode", "CvvResponseCode" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.RecaptchaEnterprise.V1Beta1.TokenProperties), global::Google.Cloud.RecaptchaEnterprise.V1Beta1.TokenProperties.Parser, new[]{ "Valid", "InvalidReason", "CreateTime", "Hostname", "Action" }, null, new[]{ typeof(global::Google.Cloud.RecaptchaEnterprise.V1Beta1.TokenProperties.Types.InvalidReason) }, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment), global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Parser, new[]{ "TransactionRisk", "StolenInstrumentVerdict", "CardTestingVerdict" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Types.StolenInstrumentVerdict), global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Types.StolenInstrumentVerdict.Parser, new[]{ "Risk" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Types.CardTestingVerdict), global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Types.CardTestingVerdict.Parser, new[]{ "Risk" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment), global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Parser, new[]{ "TransactionRisk", "StolenInstrumentVerdict", "CardTestingVerdict", "BehavioralTrustVerdict" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Types.StolenInstrumentVerdict), global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Types.StolenInstrumentVerdict.Parser, new[]{ "Risk" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Types.CardTestingVerdict), global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Types.CardTestingVerdict.Parser, new[]{ "Risk" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Types.BehavioralTrustVerdict), global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Types.BehavioralTrustVerdict.Parser, new[]{ "Trust" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.RecaptchaEnterprise.V1Beta1.AccountDefenderAssessment), global::Google.Cloud.RecaptchaEnterprise.V1Beta1.AccountDefenderAssessment.Parser, new[]{ "Labels" }, null, new[]{ typeof(global::Google.Cloud.RecaptchaEnterprise.V1Beta1.AccountDefenderAssessment.Types.AccountDefenderLabel) }, null, null) })); } @@ -247,7 +252,7 @@ public CreateAssessmentRequest Clone() { private string parent_ = ""; /// /// Required. The name of the project in which the assessment will be created, - /// in the format "projects/{project_number}". + /// in the format `projects/{project_number}`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -952,7 +957,7 @@ public AnnotateAssessmentRequest Clone() { private string name_ = ""; /// /// Required. The resource name of the Assessment, in the format - /// "projects/{project_number}/assessments/{assessment_id}". + /// `projects/{project_number}/assessments/{assessment_id}`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1876,7 +1881,7 @@ public Assessment Clone() { private string name_ = ""; /// /// Output only. The resource name for the Assessment in the format - /// "projects/{project_number}/assessments/{assessment_id}". + /// `projects/{project_number}/assessments/{assessment_id}`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -5432,6 +5437,7 @@ public FraudPreventionAssessment(FraudPreventionAssessment other) : this() { transactionRisk_ = other.transactionRisk_; stolenInstrumentVerdict_ = other.stolenInstrumentVerdict_ != null ? other.stolenInstrumentVerdict_.Clone() : null; cardTestingVerdict_ = other.cardTestingVerdict_ != null ? other.cardTestingVerdict_.Clone() : null; + behavioralTrustVerdict_ = other.behavioralTrustVerdict_ != null ? other.behavioralTrustVerdict_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -5488,6 +5494,21 @@ public float TransactionRisk { } } + /// Field number for the "behavioral_trust_verdict" field. + public const int BehavioralTrustVerdictFieldNumber = 4; + private global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Types.BehavioralTrustVerdict behavioralTrustVerdict_; + /// + /// Assessment of this transaction for behavioral trust. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Types.BehavioralTrustVerdict BehavioralTrustVerdict { + get { return behavioralTrustVerdict_; } + set { + behavioralTrustVerdict_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -5506,6 +5527,7 @@ public bool Equals(FraudPreventionAssessment other) { if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(TransactionRisk, other.TransactionRisk)) return false; if (!object.Equals(StolenInstrumentVerdict, other.StolenInstrumentVerdict)) return false; if (!object.Equals(CardTestingVerdict, other.CardTestingVerdict)) return false; + if (!object.Equals(BehavioralTrustVerdict, other.BehavioralTrustVerdict)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -5516,6 +5538,7 @@ public override int GetHashCode() { if (TransactionRisk != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(TransactionRisk); if (stolenInstrumentVerdict_ != null) hash ^= StolenInstrumentVerdict.GetHashCode(); if (cardTestingVerdict_ != null) hash ^= CardTestingVerdict.GetHashCode(); + if (behavioralTrustVerdict_ != null) hash ^= BehavioralTrustVerdict.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -5546,6 +5569,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(26); output.WriteMessage(CardTestingVerdict); } + if (behavioralTrustVerdict_ != null) { + output.WriteRawTag(34); + output.WriteMessage(BehavioralTrustVerdict); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -5568,6 +5595,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(26); output.WriteMessage(CardTestingVerdict); } + if (behavioralTrustVerdict_ != null) { + output.WriteRawTag(34); + output.WriteMessage(BehavioralTrustVerdict); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -5587,6 +5618,9 @@ public int CalculateSize() { if (cardTestingVerdict_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CardTestingVerdict); } + if (behavioralTrustVerdict_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(BehavioralTrustVerdict); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -5614,6 +5648,12 @@ public void MergeFrom(FraudPreventionAssessment other) { } CardTestingVerdict.MergeFrom(other.CardTestingVerdict); } + if (other.behavioralTrustVerdict_ != null) { + if (behavioralTrustVerdict_ == null) { + BehavioralTrustVerdict = new global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Types.BehavioralTrustVerdict(); + } + BehavioralTrustVerdict.MergeFrom(other.BehavioralTrustVerdict); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -5647,6 +5687,13 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(CardTestingVerdict); break; } + case 34: { + if (behavioralTrustVerdict_ == null) { + BehavioralTrustVerdict = new global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Types.BehavioralTrustVerdict(); + } + input.ReadMessage(BehavioralTrustVerdict); + break; + } } } #endif @@ -5680,6 +5727,13 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(CardTestingVerdict); break; } + case 34: { + if (behavioralTrustVerdict_ == null) { + BehavioralTrustVerdict = new global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Types.BehavioralTrustVerdict(); + } + input.ReadMessage(BehavioralTrustVerdict); + break; + } } } } @@ -6084,6 +6138,202 @@ public void MergeFrom(pb::CodedInputStream input) { } + /// + /// Information about behavioral trust of the transaction. + /// + public sealed partial class BehavioralTrustVerdict : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BehavioralTrustVerdict()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.RecaptchaEnterprise.V1Beta1.FraudPreventionAssessment.Descriptor.NestedTypes[2]; } + } + + [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 BehavioralTrustVerdict() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BehavioralTrustVerdict(BehavioralTrustVerdict other) : this() { + trust_ = other.trust_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BehavioralTrustVerdict Clone() { + return new BehavioralTrustVerdict(this); + } + + /// Field number for the "trust" field. + public const int TrustFieldNumber = 1; + private float trust_; + /// + /// Probability (0-1) of this transaction attempt being executed in a + /// behaviorally trustworthy way. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Trust { + get { return trust_; } + set { + trust_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BehavioralTrustVerdict); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BehavioralTrustVerdict other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Trust, other.Trust)) 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 (Trust != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Trust); + 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 (Trust != 0F) { + output.WriteRawTag(13); + output.WriteFloat(Trust); + } + 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 (Trust != 0F) { + output.WriteRawTag(13); + output.WriteFloat(Trust); + } + 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 (Trust != 0F) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BehavioralTrustVerdict other) { + if (other == null) { + return; + } + if (other.Trust != 0F) { + Trust = other.Trust; + } + _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) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + Trust = input.ReadFloat(); + 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) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + Trust = input.ReadFloat(); + break; + } + } + } + } + #endif + + } + } #endregion