Class AvailabilityResponse
public sealed class AvailabilityResponse : IMessage<AvailabilityResponse>, IEquatable<AvailabilityResponse>, IDeepCloneable<AvailabilityResponse>, IBufferMessage, IMessage
- Inheritance
-
AvailabilityResponse
- Implements
-
IMessage<AvailabilityResponse>IDeepCloneable<AvailabilityResponse>IBufferMessageIMessage
- Inherited Members
Constructors
AvailabilityResponse()
public AvailabilityResponse()
AvailabilityResponse(AvailabilityResponse)
public AvailabilityResponse(AvailabilityResponse other)
Parameters
otherAvailabilityResponse
Fields
AvailableFieldNumber
Field number for the "available" field.
public const int AvailableFieldNumber = 2
Field Value
JobIdFieldNumber
Field number for the "job_id" field.
public const int JobIdFieldNumber = 1
Field Value
ParticipantAttributesFieldNumber
Field number for the "participant_attributes" field.
public const int ParticipantAttributesFieldNumber = 7
Field Value
ParticipantIdentityFieldNumber
Field number for the "participant_identity" field.
public const int ParticipantIdentityFieldNumber = 5
Field Value
ParticipantMetadataFieldNumber
Field number for the "participant_metadata" field.
public const int ParticipantMetadataFieldNumber = 6
Field Value
ParticipantNameFieldNumber
Field number for the "participant_name" field.
public const int ParticipantNameFieldNumber = 4
Field Value
SupportsResumeFieldNumber
Field number for the "supports_resume" field.
public const int SupportsResumeFieldNumber = 3
Field Value
TerminateFieldNumber
Field number for the "terminate" field.
public const int TerminateFieldNumber = 8
Field Value
Properties
Available
public bool Available { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
JobId
public string JobId { get; set; }
Property Value
Parser
public static MessageParser<AvailabilityResponse> Parser { get; }
Property Value
- MessageParser<AvailabilityResponse>
ParticipantAttributes
NEXT_ID: 9
public MapField<string, string> ParticipantAttributes { get; }
Property Value
ParticipantIdentity
public string ParticipantIdentity { get; set; }
Property Value
ParticipantMetadata
public string ParticipantMetadata { get; set; }
Property Value
ParticipantName
public string ParticipantName { get; set; }
Property Value
SupportsResume
public bool SupportsResume { get; set; }
Property Value
Terminate
public bool Terminate { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
Clone()
Creates a deep clone of this object.
public AvailabilityResponse Clone()
Returns
- AvailabilityResponse
A deep clone of this object.
Equals(AvailabilityResponse)
public bool Equals(AvailabilityResponse other)
Parameters
otherAvailabilityResponse
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(AvailabilityResponse)
Merges the given message into this one.
public void MergeFrom(AvailabilityResponse other)
Parameters
otherAvailabilityResponse
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.