Class StreamSendBytesRequest
Sends bytes over a data stream.
public sealed class StreamSendBytesRequest : Google.Protobuf.IMessage<StreamSendBytesRequest>, Google.Protobuf.IBufferMessage
- Inheritance
-
StreamSendBytesRequest
- Implements
-
IBufferMessage
- Extension Methods
Constructors
StreamSendBytesRequest()
public StreamSendBytesRequest()
StreamSendBytesRequest(StreamSendBytesRequest)
public StreamSendBytesRequest(StreamSendBytesRequest other)
Parameters
otherStreamSendBytesRequest
Fields
BytesFieldNumber
Field number for the "bytes" field.
public const int BytesFieldNumber = 3
Field Value
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
Properties
Bytes
Bytes to send.
public Google.Protobuf.ByteString Bytes { get; set; }
Property Value
- ByteString
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasBytes
Gets whether the "bytes" field is set
public bool HasBytes { get; }
Property Value
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
LocalParticipantHandle
public ulong LocalParticipantHandle { get; set; }
Property Value
Options
public StreamByteOptions Options { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<StreamSendBytesRequest> Parser { get; }
Property Value
- MessageParser<StreamSendBytesRequest>
RequestAsyncId
public ulong RequestAsyncId { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearBytes()
Clears the value of the "bytes" field
public void ClearBytes()
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()
Clone()
public StreamSendBytesRequest Clone()
Returns
Equals(StreamSendBytesRequest)
public bool Equals(StreamSendBytesRequest other)
Parameters
otherStreamSendBytesRequest
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(StreamSendBytesRequest)
public void MergeFrom(StreamSendBytesRequest other)
Parameters
otherStreamSendBytesRequest
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream