Class StreamSendTextRequest
Sends text over a data stream.
public sealed class StreamSendTextRequest : Google.Protobuf.IMessage<StreamSendTextRequest>, Google.Protobuf.IBufferMessage
- Inheritance
-
StreamSendTextRequest
- Implements
-
IBufferMessage
- Extension Methods
Constructors
StreamSendTextRequest()
public StreamSendTextRequest()
StreamSendTextRequest(StreamSendTextRequest)
public StreamSendTextRequest(StreamSendTextRequest other)
Parameters
otherStreamSendTextRequest
Fields
LocalParticipantHandleFieldNumber
Field number for the "local_participant_handle" field.
public const int LocalParticipantHandleFieldNumber = 1
Field Value
OptionsFieldNumber
Field number for the "options" field.
public const int OptionsFieldNumber = 2
Field Value
RequestAsyncIdFieldNumber
Field number for the "request_async_id" field.
public const int RequestAsyncIdFieldNumber = 4
Field Value
TextFieldNumber
Field number for the "text" field.
public const int TextFieldNumber = 3
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasLocalParticipantHandle
Gets whether the "local_participant_handle" field is set
public bool HasLocalParticipantHandle { get; }
Property Value
HasRequestAsyncId
Gets whether the "request_async_id" field is set
public bool HasRequestAsyncId { get; }
Property Value
HasText
Gets whether the "text" field is set
public bool HasText { get; }
Property Value
LocalParticipantHandle
public ulong LocalParticipantHandle { get; set; }
Property Value
Options
public StreamTextOptions Options { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<StreamSendTextRequest> Parser { get; }
Property Value
- MessageParser<StreamSendTextRequest>
RequestAsyncId
public ulong RequestAsyncId { get; set; }
Property Value
Text
Text to send.
public string Text { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearLocalParticipantHandle()
Clears the value of the "local_participant_handle" field
public void ClearLocalParticipantHandle()
ClearRequestAsyncId()
Clears the value of the "request_async_id" field
public void ClearRequestAsyncId()
ClearText()
Clears the value of the "text" field
public void ClearText()
Clone()
public StreamSendTextRequest Clone()
Returns
Equals(StreamSendTextRequest)
public bool Equals(StreamSendTextRequest other)
Parameters
otherStreamSendTextRequest
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(StreamSendTextRequest)
public void MergeFrom(StreamSendTextRequest other)
Parameters
otherStreamSendTextRequest
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream