Class StreamByteOptions
public sealed class StreamByteOptions : Google.Protobuf.IMessage<StreamByteOptions>, Google.Protobuf.IBufferMessage
- Inheritance
-
StreamByteOptions
- Implements
-
IBufferMessage
- Extension Methods
Constructors
StreamByteOptions()
public StreamByteOptions()
StreamByteOptions(StreamByteOptions)
public StreamByteOptions(StreamByteOptions other)
Parameters
otherStreamByteOptions
Fields
AttributesFieldNumber
Field number for the "attributes" field.
public const int AttributesFieldNumber = 2
Field Value
CompressFieldNumber
Field number for the "compress" field.
public const int CompressFieldNumber = 8
Field Value
DestinationIdentitiesFieldNumber
Field number for the "destination_identities" field.
public const int DestinationIdentitiesFieldNumber = 3
Field Value
IdFieldNumber
Field number for the "id" field.
public const int IdFieldNumber = 4
Field Value
MimeTypeFieldNumber
Field number for the "mime_type" field.
public const int MimeTypeFieldNumber = 6
Field Value
NameFieldNumber
Field number for the "name" field.
public const int NameFieldNumber = 5
Field Value
SenderIdentityFieldNumber
Field number for the "sender_identity" field.
public const int SenderIdentityFieldNumber = 9
Field Value
TopicFieldNumber
Field number for the "topic" field.
public const int TopicFieldNumber = 1
Field Value
TotalLengthFieldNumber
Field number for the "total_length" field.
public const int TotalLengthFieldNumber = 7
Field Value
Properties
Attributes
public Google.Protobuf.Collections.MapField<string, string> Attributes { get; }
Property Value
Compress
public bool Compress { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DestinationIdentities
public Google.Protobuf.Collections.RepeatedField<string> DestinationIdentities { get; }
Property Value
- RepeatedField<string>
HasCompress
Gets whether the "compress" field is set
public bool HasCompress { get; }
Property Value
HasId
Gets whether the "id" field is set
public bool HasId { get; }
Property Value
HasMimeType
Gets whether the "mime_type" field is set
public bool HasMimeType { get; }
Property Value
HasName
Gets whether the "name" field is set
public bool HasName { get; }
Property Value
HasSenderIdentity
Gets whether the "sender_identity" field is set
public bool HasSenderIdentity { get; }
Property Value
HasTopic
Gets whether the "topic" field is set
public bool HasTopic { get; }
Property Value
HasTotalLength
Gets whether the "total_length" field is set
public bool HasTotalLength { get; }
Property Value
Id
public string Id { get; set; }
Property Value
MimeType
public string MimeType { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<StreamByteOptions> Parser { get; }
Property Value
- MessageParser<StreamByteOptions>
SenderIdentity
Identity the stream's packets are attributed to; requires permission to impersonate.
public string SenderIdentity { get; set; }
Property Value
Topic
public string Topic { get; set; }
Property Value
TotalLength
public ulong TotalLength { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearCompress()
Clears the value of the "compress" field
public void ClearCompress()
ClearId()
Clears the value of the "id" field
public void ClearId()
ClearMimeType()
Clears the value of the "mime_type" field
public void ClearMimeType()
ClearName()
Clears the value of the "name" field
public void ClearName()
ClearSenderIdentity()
Clears the value of the "sender_identity" field
public void ClearSenderIdentity()
ClearTopic()
Clears the value of the "topic" field
public void ClearTopic()
ClearTotalLength()
Clears the value of the "total_length" field
public void ClearTotalLength()
Clone()
public StreamByteOptions Clone()
Returns
Equals(StreamByteOptions)
public bool Equals(StreamByteOptions other)
Parameters
otherStreamByteOptions
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(StreamByteOptions)
public void MergeFrom(StreamByteOptions other)
Parameters
otherStreamByteOptions
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream