Search Results for

    Show / Hide Table of Contents

    Class Scalar.Types.String

    • a string with a charset/collation
    Inheritance
    System.Object
    Scalar.Types.String
    Implements
    Google.Protobuf.IMessage<Scalar.Types.String>
    System.IEquatable<Scalar.Types.String>
    Google.Protobuf.IDeepCloneable<Scalar.Types.String>
    Google.Protobuf.IBufferMessage
    Google.Protobuf.IMessage
    Namespace: Mysqlx.Datatypes
    Assembly: MySql.Data.dll
    Version: 9.3.0
    Syntax
    public sealed class String : IMessage<Scalar.Types.String>, IEquatable<Scalar.Types.String>, IDeepCloneable<Scalar.Types.String>, IBufferMessage, IMessage

    Constructors

    String()

    Declaration
    public String()

    String(Scalar.Types.String)

    Declaration
    public String(Scalar.Types.String other)
    Parameters
    Type Name Description
    Scalar.Types.String other

    Fields

    CollationFieldNumber

    Field number for the "collation" field.

    Declaration
    public const int CollationFieldNumber = 2
    Field Value
    Type Description
    System.Int32

    ValueFieldNumber

    Field number for the "value" field.

    Declaration
    public const int ValueFieldNumber = 1
    Field Value
    Type Description
    System.Int32

    Properties

    Collation

    Declaration
    public ulong Collation { get; set; }
    Property Value
    Type Description
    System.UInt64

    Descriptor

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

    HasCollation

    Gets whether the "collation" field is set

    Declaration
    public bool HasCollation { get; }
    Property Value
    Type Description
    System.Boolean

    HasValue

    Gets whether the "value" field is set

    Declaration
    public bool HasValue { get; }
    Property Value
    Type Description
    System.Boolean

    Parser

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

    Value

    Declaration
    public ByteString Value { get; set; }
    Property Value
    Type Description
    Google.Protobuf.ByteString

    Methods

    CalculateSize()

    Declaration
    public int CalculateSize()
    Returns
    Type Description
    System.Int32

    ClearCollation()

    Clears the value of the "collation" field

    Declaration
    public void ClearCollation()

    ClearValue()

    Clears the value of the "value" field

    Declaration
    public void ClearValue()

    Clone()

    Declaration
    public Scalar.Types.String Clone()
    Returns
    Type Description
    Scalar.Types.String

    Equals(Scalar.Types.String)

    Declaration
    public bool Equals(Scalar.Types.String other)
    Parameters
    Type Name Description
    Scalar.Types.String other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

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

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    MergeFrom(CodedInputStream)

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

    MergeFrom(Scalar.Types.String)

    Declaration
    public void MergeFrom(Scalar.Types.String other)
    Parameters
    Type Name Description
    Scalar.Types.String other

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    WriteTo(CodedOutputStream)

    Declaration
    public void WriteTo(CodedOutputStream output)
    Parameters
    Type Name Description
    Google.Protobuf.CodedOutputStream output

    Explicit Interface Implementations

    IBufferMessage.InternalMergeFrom(ref ParseContext)

    Declaration
    void IBufferMessage.InternalMergeFrom(ref ParseContext input)
    Parameters
    Type Name Description
    Google.Protobuf.ParseContext input

    IBufferMessage.InternalWriteTo(ref WriteContext)

    Declaration
    void IBufferMessage.InternalWriteTo(ref WriteContext output)
    Parameters
    Type Name Description
    Google.Protobuf.WriteContext output

    IMessage.Descriptor

    Declaration
    MessageDescriptor IMessage.Descriptor { get; }
    Returns
    Type Description
    Google.Protobuf.Reflection.MessageDescriptor

    Implements

    Google.Protobuf.IMessage<T>
    System.IEquatable<T>
    Google.Protobuf.IDeepCloneable<T>
    Google.Protobuf.IBufferMessage
    Google.Protobuf.IMessage
    In This Article
    • Constructors
      • String()
      • String(Scalar.Types.String)
    • Fields
      • CollationFieldNumber
      • ValueFieldNumber
    • Properties
      • Collation
      • Descriptor
      • HasCollation
      • HasValue
      • Parser
      • Value
    • Methods
      • CalculateSize()
      • ClearCollation()
      • ClearValue()
      • Clone()
      • Equals(Scalar.Types.String)
      • Equals(Object)
      • GetHashCode()
      • MergeFrom(CodedInputStream)
      • MergeFrom(Scalar.Types.String)
      • ToString()
      • WriteTo(CodedOutputStream)
    • Explicit Interface Implementations
      • IBufferMessage.InternalMergeFrom(ref ParseContext)
      • IBufferMessage.InternalWriteTo(ref WriteContext)
      • IMessage.Descriptor
    • Implements
    Back to top Copyright © 2021, 2025, Oracle and/or its affiliates.