// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: mediapipe/gpu/copy_calculator.proto // #pragma warning disable 1591, 0612, 3021 #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 Mediapipe { /// Holder for reflection information generated from mediapipe/gpu/copy_calculator.proto public static partial class CopyCalculatorReflection { #region Descriptor /// File descriptor for mediapipe/gpu/copy_calculator.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static CopyCalculatorReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiNtZWRpYXBpcGUvZ3B1L2NvcHlfY2FsY3VsYXRvci5wcm90bxIJbWVkaWFw", "aXBlGiRtZWRpYXBpcGUvZnJhbWV3b3JrL2NhbGN1bGF0b3IucHJvdG8i1wEK", "FUNvcHlDYWxjdWxhdG9yT3B0aW9ucxJBCghyb3RhdGlvbhgBIAEoDjIpLm1l", "ZGlhcGlwZS5Db3B5Q2FsY3VsYXRvck9wdGlvbnMuUm90YXRpb246BE5PTkUi", "KwoIUm90YXRpb24SCAoETk9ORRAAEgcKA0NDVxABEgwKCENDV19GTElQEAIy", "TgoDZXh0EhwubWVkaWFwaXBlLkNhbGN1bGF0b3JPcHRpb25zGLTykU0gASgL", "MiAubWVkaWFwaXBlLkNvcHlDYWxjdWxhdG9yT3B0aW9ucw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Mediapipe.CalculatorReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Mediapipe.CopyCalculatorOptions), global::Mediapipe.CopyCalculatorOptions.Parser, new[]{ "Rotation" }, null, new[]{ typeof(global::Mediapipe.CopyCalculatorOptions.Types.Rotation) }, new pb::Extension[] { global::Mediapipe.CopyCalculatorOptions.Extensions.Ext }, null) })); } #endregion } #region Messages public sealed partial class CopyCalculatorOptions : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CopyCalculatorOptions()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [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::Mediapipe.CopyCalculatorReflection.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 CopyCalculatorOptions() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CopyCalculatorOptions(CopyCalculatorOptions other) : this() { _hasBits0 = other._hasBits0; rotation_ = other.rotation_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CopyCalculatorOptions Clone() { return new CopyCalculatorOptions(this); } /// Field number for the "rotation" field. public const int RotationFieldNumber = 1; private readonly static global::Mediapipe.CopyCalculatorOptions.Types.Rotation RotationDefaultValue = global::Mediapipe.CopyCalculatorOptions.Types.Rotation.None; private global::Mediapipe.CopyCalculatorOptions.Types.Rotation rotation_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Mediapipe.CopyCalculatorOptions.Types.Rotation Rotation { get { if ((_hasBits0 & 1) != 0) { return rotation_; } else { return RotationDefaultValue; } } set { _hasBits0 |= 1; rotation_ = value; } } /// Gets whether the "rotation" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasRotation { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "rotation" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearRotation() { _hasBits0 &= ~1; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as CopyCalculatorOptions); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(CopyCalculatorOptions other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Rotation != other.Rotation) 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 (HasRotation) hash ^= Rotation.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 (HasRotation) { output.WriteRawTag(8); output.WriteEnum((int) Rotation); } 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 (HasRotation) { output.WriteRawTag(8); output.WriteEnum((int) Rotation); } 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 (HasRotation) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Rotation); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(CopyCalculatorOptions other) { if (other == null) { return; } if (other.HasRotation) { Rotation = other.Rotation; } _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 8: { Rotation = (global::Mediapipe.CopyCalculatorOptions.Types.Rotation) input.ReadEnum(); 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 8: { Rotation = (global::Mediapipe.CopyCalculatorOptions.Types.Rotation) input.ReadEnum(); break; } } } } #endif #region Nested types /// Container for nested types declared in the CopyCalculatorOptions message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { public enum Rotation { [pbr::OriginalName("NONE")] None = 0, /// /// rotate 90 degrees counterclockwise /// [pbr::OriginalName("CCW")] Ccw = 1, /// /// hack to rectify convfloat /// [pbr::OriginalName("CCW_FLIP")] CcwFlip = 2, } } #endregion #region Extensions /// Container for extensions for other messages declared in the CopyCalculatorOptions message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Extensions { public static readonly pb::Extension Ext = new pb::Extension(161773876, pb::FieldCodec.ForMessage(1294191010, global::Mediapipe.CopyCalculatorOptions.Parser)); } #endregion } #endregion } #endregion Designer generated code