Class ValueInfoProto | Barracuda | 0.5.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class ValueInfoProto

    Defines information on value, including the name, the type, and the shape of the value.

    Inheritance
    Object
    ValueInfoProto
    Namespace: Onnx
    Syntax
    public sealed class ValueInfoProto : Google.Protobuf.IMessage<ValueInfoProto>

    Constructors

    ValueInfoProto()

    Declaration
    public ValueInfoProto()

    ValueInfoProto(ValueInfoProto)

    Declaration
    public ValueInfoProto(ValueInfoProto other)
    Parameters
    Type Name Description
    ValueInfoProto other

    Fields

    DocStringFieldNumber

    Field number for the "doc_string" field.

    Declaration
    public const int DocStringFieldNumber = 3
    Field Value
    Type Description
    Int32

    NameFieldNumber

    Field number for the "name" field.

    Declaration
    public const int NameFieldNumber = 1
    Field Value
    Type Description
    Int32

    TypeFieldNumber

    Field number for the "type" field.

    Declaration
    public const int TypeFieldNumber = 2
    Field Value
    Type Description
    Int32

    Properties

    Descriptor

    Declaration
    public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
    Property Value
    Type Description
    Google.Protobuf.Reflection.MessageDescriptor

    DocString

    A human-readable documentation for this value. Markdown is allowed.

    Declaration
    public string DocString { get; set; }
    Property Value
    Type Description
    String

    Name

    This field MUST be present in this version of the IR.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    String

    Parser

    Declaration
    public static Google.Protobuf.MessageParser<ValueInfoProto> Parser { get; }
    Property Value
    Type Description
    Google.Protobuf.MessageParser<ValueInfoProto>

    Type

    This field MUST be present in this version of the IR.

    Declaration
    public TypeProto Type { get; set; }
    Property Value
    Type Description
    TypeProto

    Methods

    CalculateSize()

    Declaration
    public int CalculateSize()
    Returns
    Type Description
    Int32

    Clone()

    Declaration
    public ValueInfoProto Clone()
    Returns
    Type Description
    ValueInfoProto

    Equals(ValueInfoProto)

    Declaration
    public bool Equals(ValueInfoProto other)
    Parameters
    Type Name Description
    ValueInfoProto other
    Returns
    Type Description
    Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object other)
    Parameters
    Type Name Description
    Object other
    Returns
    Type Description
    Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    MergeFrom(Google.Protobuf.CodedInputStream)

    Declaration
    public void MergeFrom(Google.Protobuf.CodedInputStream input)
    Parameters
    Type Name Description
    Google.Protobuf.CodedInputStream input

    MergeFrom(ValueInfoProto)

    Declaration
    public void MergeFrom(ValueInfoProto other)
    Parameters
    Type Name Description
    ValueInfoProto other

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    WriteTo(Google.Protobuf.CodedOutputStream)

    Declaration
    public void WriteTo(Google.Protobuf.CodedOutputStream output)
    Parameters
    Type Name Description
    Google.Protobuf.CodedOutputStream output
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023