func (p *BinaryAnnotation) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("BinaryAnnotation"); err != nil { return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } if err := p.writeField1(oprot); err != nil { return err } if err := p.writeField2(oprot); err != nil { return err } if err := p.writeField3(oprot); err != nil { return err } if err := p.writeField4(oprot); err != nil { return err } if err := p.writeField5(oprot); err != nil { return err } if err := p.writeField6(oprot); err != nil { return err } if err := p.writeField7(oprot); err != nil { return err } if err := oprot.WriteFieldStop(); err != nil { return thrift.PrependError("write field stop error: ", err) } if err := oprot.WriteStructEnd(); err != nil { return thrift.PrependError("write struct stop error: ", err) } return nil }
func (p *Moments) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("Moments"); err != nil { return fmt.Errorf("%T write struct begin error: %s", p, err) } if err := p.writeField1(oprot); err != nil { return err } if err := p.writeField2(oprot); err != nil { return err } if err := p.writeField3(oprot); err != nil { return err } if err := p.writeField4(oprot); err != nil { return err } if err := p.writeField5(oprot); err != nil { return err } if err := oprot.WriteFieldStop(); err != nil { return fmt.Errorf("write field stop error: %s", err) } if err := oprot.WriteStructEnd(); err != nil { return fmt.Errorf("write struct stop error: %s", err) } return nil }
func (p *FirstAppErrorResult) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("AppError_result"); err != nil { return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } if err := oprot.WriteFieldStop(); err != nil { return thrift.PrependError("write field stop error: ", err) } if err := oprot.WriteStructEnd(); err != nil { return thrift.PrependError("write struct stop error: ", err) } return nil }
func (p *FirstHealthcheckArgs) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("Healthcheck_args"); err != nil { return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } if err := oprot.WriteFieldStop(); err != nil { return thrift.PrependError("write field stop error: ", err) } if err := oprot.WriteStructEnd(); err != nil { return thrift.PrependError("write struct stop error: ", err) } return nil }
func (p *SecondServiceBlahBlahArgs) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("blahBlah_args"); err != nil { return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } if err := oprot.WriteFieldStop(); err != nil { return thrift.PrependError("write field stop error: ", err) } if err := oprot.WriteStructEnd(); err != nil { return thrift.PrependError("write struct stop error: ", err) } return nil }
func (p *MetaVersionInfoArgs) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("versionInfo_args"); err != nil { return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } if err := oprot.WriteFieldStop(); err != nil { return thrift.PrependError("write field stop error: ", err) } if err := oprot.WriteStructEnd(); err != nil { return thrift.PrependError("write struct stop error: ", err) } return nil }
func (p *TestResult) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("Test_result"); err != nil { return fmt.Errorf("%T write struct begin error: %s", p, err) } if err := oprot.WriteFieldStop(); err != nil { return fmt.Errorf("write field stop error: %s", err) } if err := oprot.WriteStructEnd(); err != nil { return fmt.Errorf("write struct stop error: %s", err) } return nil }
func (p *NotAuthorized) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("NotAuthorized"); err != nil { return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } if err := oprot.WriteFieldStop(); err != nil { return thrift.PrependError("write field stop error: ", err) } if err := oprot.WriteStructEnd(); err != nil { return thrift.PrependError("write struct stop error: ", err) } return nil }
func (p *SimpleArgs) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("Simple_args"); err != nil { return fmt.Errorf("%T write struct begin error: %s", p, err) } if err := oprot.WriteFieldStop(); err != nil { return fmt.Errorf("write field stop error: %s", err) } if err := oprot.WriteStructEnd(); err != nil { return fmt.Errorf("write struct stop error: %s", err) } return nil }
func (p *NotAuthorized) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("NotAuthorized"); err != nil { return fmt.Errorf("%T write struct begin error: %s", p, err) } if err := oprot.WriteFieldStop(); err != nil { return fmt.Errorf("write field stop error: %s", err) } if err := oprot.WriteStructEnd(); err != nil { return fmt.Errorf("write struct stop error: %s", err) } return nil }
func (p *MultiSubmitArgs) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("multi_submit_args"); err != nil { return fmt.Errorf("%T write struct begin error: %s", p, err) } if err := p.writeField1(oprot); err != nil { return err } if err := oprot.WriteFieldStop(); err != nil { return fmt.Errorf("write field stop error: %s", err) } if err := oprot.WriteStructEnd(); err != nil { return fmt.Errorf("write struct stop error: %s", err) } return nil }
func (p *StoreDependenciesArgs) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("storeDependencies_args"); err != nil { return fmt.Errorf("%T write struct begin error: %s", p, err) } if err := p.writeField1(oprot); err != nil { return err } if err := oprot.WriteFieldStop(); err != nil { return fmt.Errorf("write field stop error: %s", err) } if err := oprot.WriteStructEnd(); err != nil { return fmt.Errorf("write struct stop error: %s", err) } return nil }
func (p *TCollectorMultiSubmitResult) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("multi_submit_result"); err != nil { return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } if err := p.writeField0(oprot); err != nil { return err } if err := oprot.WriteFieldStop(); err != nil { return thrift.PrependError("write field stop error: ", err) } if err := oprot.WriteStructEnd(); err != nil { return thrift.PrependError("write struct stop error: ", err) } return nil }
func (p *ConcatReply) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("ConcatReply"); err != nil { return fmt.Errorf("%T write struct begin error: %s", p, err) } if err := p.writeField1(oprot); err != nil { return err } if err := oprot.WriteFieldStop(); err != nil { return fmt.Errorf("write field stop error: %s", err) } if err := oprot.WriteStructEnd(); err != nil { return fmt.Errorf("write struct stop error: %s", err) } return nil }
func (p *AdjustableRateException) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("AdjustableRateException"); err != nil { return fmt.Errorf("%T write struct begin error: %s", p, err) } if err := p.writeField1(oprot); err != nil { return err } if err := oprot.WriteFieldStop(); err != nil { return fmt.Errorf("write field stop error: %s", err) } if err := oprot.WriteStructEnd(); err != nil { return fmt.Errorf("write struct stop error: %s", err) } return nil }
func (p *MetaThriftIDLResult) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("thriftIDL_result"); err != nil { return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } if err := p.writeField0(oprot); err != nil { return err } if err := oprot.WriteFieldStop(); err != nil { return thrift.PrependError("write field stop error: ", err) } if err := oprot.WriteStructEnd(); err != nil { return thrift.PrependError("write struct stop error: ", err) } return nil }
func (p *StoreTopKeyValueAnnotationsResult) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("storeTopKeyValueAnnotations_result"); err != nil { return fmt.Errorf("%T write struct begin error: %s", p, err) } if err := p.writeField1(oprot); err != nil { return err } if err := oprot.WriteFieldStop(); err != nil { return fmt.Errorf("write field stop error: %s", err) } if err := oprot.WriteStructEnd(); err != nil { return fmt.Errorf("write struct stop error: %s", err) } return nil }
func (p *AccountDoActionArgs) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("doAction_args"); err != nil { return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } if err := p.writeField1(oprot); err != nil { return err } if err := oprot.WriteFieldStop(); err != nil { return thrift.PrependError("write field stop error: ", err) } if err := oprot.WriteStructEnd(); err != nil { return thrift.PrependError("write struct stop error: ", err) } return nil }
func (p *TCollectorGetSamplingStrategyArgs) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("getSamplingStrategy_args"); err != nil { return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } if err := p.writeField1(oprot); err != nil { return err } if err := oprot.WriteFieldStop(); err != nil { return thrift.PrependError("write field stop error: ", err) } if err := oprot.WriteStructEnd(); err != nil { return thrift.PrependError("write struct stop error: ", err) } return nil }
func (p *KeyNotFound) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("KeyNotFound"); err != nil { return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } if err := p.writeField1(oprot); err != nil { return err } if err := oprot.WriteFieldStop(); err != nil { return thrift.PrependError("write field stop error: ", err) } if err := oprot.WriteStructEnd(); err != nil { return thrift.PrependError("write struct stop error: ", err) } return nil }
func (p *InvalidServiceName) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("InvalidServiceName"); err != nil { return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } if err := p.writeField1(oprot); err != nil { return err } if err := p.writeField2(oprot); err != nil { return err } if err := oprot.WriteFieldStop(); err != nil { return thrift.PrependError("write field stop error: ", err) } if err := oprot.WriteStructEnd(); err != nil { return thrift.PrependError("write struct stop error: ", err) } return nil }
func (p *IpAddress) Write(oprot thrift.TProtocol) error { if c := p.CountSetFieldsIpAddress(); c != 1 { return fmt.Errorf("%T write union: exactly one field must be set (%d set).", p, c) } if err := oprot.WriteStructBegin("IpAddress"); err != nil { return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } if err := p.writeField1(oprot); err != nil { return err } if err := oprot.WriteFieldStop(); err != nil { return thrift.PrependError("write field stop error: ", err) } if err := oprot.WriteStructEnd(); err != nil { return thrift.PrependError("write struct stop error: ", err) } return nil }
func (p *SearchResult) Write(oprot thrift.TProtocol) error { if err := oprot.WriteStructBegin("search_result"); err != nil { return fmt.Errorf("%T write struct begin error: %s", p, err) } switch { default: if err := p.writeField0(oprot); err != nil { return err } } if err := oprot.WriteFieldStop(); err != nil { return fmt.Errorf("%T write field stop error: %s", err) } if err := oprot.WriteStructEnd(); err != nil { return fmt.Errorf("%T write struct stop error: %s", err) } return nil }