Class DataTrackSchemaEncoding
Encoding used to interpret a data track schema definition.
public sealed class DataTrackSchemaEncoding : Google.Protobuf.IMessage<DataTrackSchemaEncoding>, Google.Protobuf.IBufferMessage
- Inheritance
-
DataTrackSchemaEncoding
- Implements
-
IBufferMessage
- Extension Methods
Constructors
DataTrackSchemaEncoding()
public DataTrackSchemaEncoding()
DataTrackSchemaEncoding(DataTrackSchemaEncoding)
public DataTrackSchemaEncoding(DataTrackSchemaEncoding other)
Parameters
otherDataTrackSchemaEncoding
Fields
CustomFieldNumber
Field number for the "custom" field.
public const int CustomFieldNumber = 2
Field Value
WellKnownFieldNumber
Field number for the "well_known" field.
public const int WellKnownFieldNumber = 1
Field Value
Properties
Custom
Identifier of a custom encoding not covered by the well-known cases. This must be non-empty and no longer than 25 characters.
public string Custom { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
EncodingCase
public DataTrackSchemaEncoding.EncodingOneofCase EncodingCase { get; }
Property Value
HasCustom
Gets whether the "custom" field is set
public bool HasCustom { get; }
Property Value
HasWellKnown
Gets whether the "well_known" field is set
public bool HasWellKnown { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<DataTrackSchemaEncoding> Parser { get; }
Property Value
- MessageParser<DataTrackSchemaEncoding>
WellKnown
public DataTrackSchemaEncoding.Types.WellKnownSchemaEncoding WellKnown { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearCustom()
Clears the value of the oneof if it's currently set to "custom"
public void ClearCustom()
ClearEncoding()
public void ClearEncoding()
ClearWellKnown()
Clears the value of the oneof if it's currently set to "well_known"
public void ClearWellKnown()
Clone()
public DataTrackSchemaEncoding Clone()
Returns
Equals(DataTrackSchemaEncoding)
public bool Equals(DataTrackSchemaEncoding other)
Parameters
otherDataTrackSchemaEncoding
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(DataTrackSchemaEncoding)
public void MergeFrom(DataTrackSchemaEncoding other)
Parameters
otherDataTrackSchemaEncoding
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream