Class GetSchemaCallback
public sealed class GetSchemaCallback : Google.Protobuf.IMessage<GetSchemaCallback>, Google.Protobuf.IBufferMessage
- Inheritance
-
GetSchemaCallback
- Implements
-
IBufferMessage
- Extension Methods
Constructors
GetSchemaCallback()
public GetSchemaCallback()
GetSchemaCallback(GetSchemaCallback)
public GetSchemaCallback(GetSchemaCallback other)
Parameters
otherGetSchemaCallback
Fields
AsyncIdFieldNumber
Field number for the "async_id" field.
public const int AsyncIdFieldNumber = 1
Field Value
DefinitionFieldNumber
Field number for the "definition" field.
public const int DefinitionFieldNumber = 2
Field Value
ErrorFieldNumber
Field number for the "error" field.
public const int ErrorFieldNumber = 3
Field Value
Properties
AsyncId
public ulong AsyncId { get; set; }
Property Value
Definition
The schema definition, present on success.
public string Definition { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Error
Present if the schema could not be retrieved.
public string Error { get; set; }
Property Value
HasAsyncId
Gets whether the "async_id" field is set
public bool HasAsyncId { get; }
Property Value
HasDefinition
Gets whether the "definition" field is set
public bool HasDefinition { get; }
Property Value
HasError
Gets whether the "error" field is set
public bool HasError { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<GetSchemaCallback> Parser { get; }
Property Value
- MessageParser<GetSchemaCallback>
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearAsyncId()
Clears the value of the "async_id" field
public void ClearAsyncId()
ClearDefinition()
Clears the value of the "definition" field
public void ClearDefinition()
ClearError()
Clears the value of the "error" field
public void ClearError()
Clone()
public GetSchemaCallback Clone()
Returns
Equals(GetSchemaCallback)
public bool Equals(GetSchemaCallback other)
Parameters
otherGetSchemaCallback
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(GetSchemaCallback)
public void MergeFrom(GetSchemaCallback other)
Parameters
otherGetSchemaCallback
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream