func (t *FetchMessageSetInTopic) Unmarshal(r *wipro.Reader) { t.TopicName = r.ReadString() t.FetchMessageSetInPartitions = make([]FetchMessageSetInPartition, int(r.ReadInt32())) for i := range t.FetchMessageSetInPartitions { t.FetchMessageSetInPartitions[i].Unmarshal(r) } }
func (t *PartitionAssignment) Unmarshal(r *wipro.Reader) { t.Topic = r.ReadString() t.Partitions = make([]int32, int(r.ReadInt32())) for i := range t.Partitions { t.Partitions[i] = r.ReadInt32() } }
func (t *OffsetFetchRequestV1) Unmarshal(r *wipro.Reader) { t.ConsumerGroup = r.ReadString() t.PartitionInTopics = make([]PartitionInTopic, int(r.ReadInt32())) for i := range t.PartitionInTopics { t.PartitionInTopics[i].Unmarshal(r) } }
func (t *Request) Unmarshal(r *wipro.Reader) { t.APIKey = r.ReadInt16() t.APIVersion = r.ReadInt16() t.CorrelationID = r.ReadInt32() t.ClientID = r.ReadString() t.RequestMessage.Unmarshal(r) }
func (t *ErrorInTopic) Unmarshal(r *wipro.Reader) { t.TopicName = r.ReadString() t.ErrorInPartitions = make([]ErrorInPartition, int(r.ReadInt32())) for i := range t.ErrorInPartitions { t.ErrorInPartitions[i].Unmarshal(r) } }
func (t *Member) Unmarshal(r *wipro.Reader) { t.MemberID = r.ReadString() t.ClientID = r.ReadString() t.ClientHost = r.ReadString() t.MemberMetadata = r.ReadBytes() t.MemberAssignment.Unmarshal(r) }
func (t *OffsetMetadataInTopic) Unmarshal(r *wipro.Reader) { t.TopicName = r.ReadString() t.OffsetMetadataInPartitions = make([]OffsetMetadataInPartition, int(r.ReadInt32())) for i := range t.OffsetMetadataInPartitions { t.OffsetMetadataInPartitions[i].Unmarshal(r) } }
func (t *OffsetCommitRequestV0) Unmarshal(r *wipro.Reader) { t.ConsumerGroupID = r.ReadString() t.OffsetCommitInTopicV0s = make([]OffsetCommitInTopicV0, int(r.ReadInt32())) for i := range t.OffsetCommitInTopicV0s { t.OffsetCommitInTopicV0s[i].Unmarshal(r) } }
func (t *OffsetCommitInTopicV2) Unmarshal(r *wipro.Reader) { t.TopicName = r.ReadString() t.OffsetCommitInPartitionV2s = make([]OffsetCommitInPartitionV2, int(r.ReadInt32())) for i := range t.OffsetCommitInPartitionV2s { t.OffsetCommitInPartitionV2s[i].Unmarshal(r) } }
func (t *TopicMetadata) Unmarshal(r *wipro.Reader) { t.ErrorCode.Unmarshal(r) t.TopicName = r.ReadString() t.PartitionMetadatas = make([]PartitionMetadata, int(r.ReadInt32())) for i := range t.PartitionMetadatas { t.PartitionMetadatas[i].Unmarshal(r) } }
func (t *JoinGroupResponse) Unmarshal(r *wipro.Reader) { t.ErrorCode.Unmarshal(r) t.GenerationID = r.ReadInt32() t.GroupProtocolName = r.ReadString() t.LeaderID = r.ReadString() t.MemberID = r.ReadString() t.MemberWithMetas.Unmarshal(r) }
func (t *OffsetCommitRequestV2) Unmarshal(r *wipro.Reader) { t.ConsumerGroup = r.ReadString() t.ConsumerGroupGenerationID = r.ReadInt32() t.ConsumerID = r.ReadString() t.RetentionTime = r.ReadInt64() t.OffsetCommitInTopicV2s = make([]OffsetCommitInTopicV2, int(r.ReadInt32())) for i := range t.OffsetCommitInTopicV2s { t.OffsetCommitInTopicV2s[i].Unmarshal(r) } }
func (t *GroupDescription) Unmarshal(r *wipro.Reader) { t.ErrorCode.Unmarshal(r) t.GroupID = r.ReadString() t.State = r.ReadString() t.ProtocolType = r.ReadString() t.Protocol = r.ReadString() t.Members.Unmarshal(r) }
func (t *JoinGroupRequest) Unmarshal(r *wipro.Reader) { t.GroupID = r.ReadString() t.SessionTimeout = r.ReadInt32() t.MemberID = r.ReadString() t.ProtocolType = r.ReadString() t.GroupProtocols.Unmarshal(r) }
func (t *MemberWithMeta) Unmarshal(r *wipro.Reader) { t.MemberID = r.ReadString() t.MemberMetadata = r.ReadBytes() }
func (t *DescribeGroupsRequest) Unmarshal(r *wipro.Reader) { (*t) = make([]string, int(r.ReadInt32())) for i := range *t { (*t)[i] = r.ReadString() } }
func (t *Subscription) Unmarshal(r *wipro.Reader) { (*t) = make([]string, int(r.ReadInt32())) for i := range *t { (*t)[i] = r.ReadString() } }
func (t *GroupProtocol) Unmarshal(r *wipro.Reader) { t.ProtocolName = r.ReadString() t.ProtocolMetadata.Unmarshal(r) }
func (t *OffsetMetadataInPartition) Unmarshal(r *wipro.Reader) { t.Partition = r.ReadInt32() t.Offset = r.ReadInt64() t.Metadata = r.ReadString() t.ErrorCode.Unmarshal(r) }
func (t *TopicMetadataRequest) Unmarshal(r *wipro.Reader) { (*t) = make([]string, int(r.ReadInt32())) for i := range *t { (*t)[i] = r.ReadString() } }
func (t *Broker) Unmarshal(r *wipro.Reader) { t.NodeID = r.ReadInt32() t.Host = r.ReadString() t.Port = r.ReadInt32() }
func (t *Group) Unmarshal(r *wipro.Reader) { t.GroupID = r.ReadString() t.ProtocolType = r.ReadString() }
func (t *GroupCoordinatorRequest) Unmarshal(r *wipro.Reader) { (*t) = GroupCoordinatorRequest(r.ReadString()) }
func (t *SyncGroupRequest) Unmarshal(r *wipro.Reader) { t.GroupID = r.ReadString() t.GenerationID = r.ReadInt32() t.MemberID = r.ReadString() t.GroupAssignments.Unmarshal(r) }
func (t *GroupAssignment) Unmarshal(r *wipro.Reader) { t.MemberID = r.ReadString() t.MemberAssignment.Unmarshal(r) }
func (t *OffsetCommitInPartitionV2) Unmarshal(r *wipro.Reader) { t.Partition = r.ReadInt32() t.Offset = r.ReadInt64() t.Metadata = r.ReadString() }
func (t *HeartbeatRequest) Unmarshal(r *wipro.Reader) { t.GroupID = r.ReadString() t.GenerationID = r.ReadInt32() t.MemberID = r.ReadString() }
func (t *LeaveGroupRequest) Unmarshal(r *wipro.Reader) { t.GroupID = r.ReadString() t.MemberID = r.ReadString() }