Back to godoc.org

Package bar

v0.4.6
Latest Go to latest
Published: Jul 8, 2020 | License: MIT | Module: github.com/uber/zanzibar

Index

Package Files

Variables

var Bar_ArgNotStruct_Helper = struct {
	// Args accepts the parameters of argNotStruct in-order and returns
	// the arguments struct for the function.
	Args func(
		request string,
	) *Bar_ArgNotStruct_Args

	// IsException returns true if the given error can be thrown
	// by argNotStruct.
	//
	// An error can be thrown by argNotStruct only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argNotStruct
	// given the error returned by it. The provided error may
	// be nil if argNotStruct did not fail.
	//
	// This allows mapping errors returned by argNotStruct into a
	// serializable result struct. WrapResponse returns a
	// non-nil error if the provided error cannot be thrown by
	// argNotStruct
	//
	//   err := argNotStruct(args)
	//   result, err := Bar_ArgNotStruct_Helper.WrapResponse(err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argNotStruct: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(error) (*Bar_ArgNotStruct_Result, error)

	// UnwrapResponse takes the result struct for argNotStruct
	// and returns the erorr returned by it (if any).
	//
	// The error is non-nil only if argNotStruct threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   err := Bar_ArgNotStruct_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgNotStruct_Result) error
}{}

Bar_ArgNotStruct_Helper provides functions that aid in handling the parameters and return values of the Bar.argNotStruct function.

var Bar_ArgWithHeaders_Helper = struct {
	// Args accepts the parameters of argWithHeaders in-order and returns
	// the arguments struct for the function.
	Args func(
		name string,
		userUUID *string,
	) *Bar_ArgWithHeaders_Args

	// IsException returns true if the given error can be thrown
	// by argWithHeaders.
	//
	// An error can be thrown by argWithHeaders only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argWithHeaders
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// argWithHeaders into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by argWithHeaders
	//
	//   value, err := argWithHeaders(args)
	//   result, err := Bar_ArgWithHeaders_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argWithHeaders: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_ArgWithHeaders_Result, error)

	// UnwrapResponse takes the result struct for argWithHeaders
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if argWithHeaders threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ArgWithHeaders_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgWithHeaders_Result) (*BarResponse, error)
}{}

Bar_ArgWithHeaders_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithHeaders function.

var Bar_ArgWithManyQueryParams_Helper = struct {
	// Args accepts the parameters of argWithManyQueryParams in-order and returns
	// the arguments struct for the function.
	Args func(
		aStr string,
		anOptStr *string,
		aBool bool,
		anOptBool *bool,
		aInt8 int8,
		anOptInt8 *int8,
		aInt16 int16,
		anOptInt16 *int16,
		aInt32 int32,
		anOptInt32 *int32,
		aInt64 int64,
		anOptInt64 *int64,
		aFloat64 float64,
		anOptFloat64 *float64,
		aUUID UUID,
		anOptUUID *UUID,
		aListUUID []UUID,
		anOptListUUID []UUID,
		aStringList StringList,
		anOptStringList StringList,
		aUUIDList UUIDList,
		anOptUUIDList UUIDList,
		aTs Timestamp,
		anOptTs *Timestamp,
		aReqDemo DemoType,
		anOptFruit *Fruit,
		aReqFruits []Fruit,
		anOptDemos []DemoType,
	) *Bar_ArgWithManyQueryParams_Args

	// IsException returns true if the given error can be thrown
	// by argWithManyQueryParams.
	//
	// An error can be thrown by argWithManyQueryParams only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argWithManyQueryParams
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// argWithManyQueryParams into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by argWithManyQueryParams
	//
	//   value, err := argWithManyQueryParams(args)
	//   result, err := Bar_ArgWithManyQueryParams_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argWithManyQueryParams: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_ArgWithManyQueryParams_Result, error)

	// UnwrapResponse takes the result struct for argWithManyQueryParams
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if argWithManyQueryParams threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ArgWithManyQueryParams_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgWithManyQueryParams_Result) (*BarResponse, error)
}{}

Bar_ArgWithManyQueryParams_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithManyQueryParams function.

var Bar_ArgWithNearDupQueryParams_Helper = struct {
	// Args accepts the parameters of argWithNearDupQueryParams in-order and returns
	// the arguments struct for the function.
	Args func(
		one string,
		two *int32,
		three *string,
		four *string,
	) *Bar_ArgWithNearDupQueryParams_Args

	// IsException returns true if the given error can be thrown
	// by argWithNearDupQueryParams.
	//
	// An error can be thrown by argWithNearDupQueryParams only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argWithNearDupQueryParams
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// argWithNearDupQueryParams into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by argWithNearDupQueryParams
	//
	//   value, err := argWithNearDupQueryParams(args)
	//   result, err := Bar_ArgWithNearDupQueryParams_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argWithNearDupQueryParams: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_ArgWithNearDupQueryParams_Result, error)

	// UnwrapResponse takes the result struct for argWithNearDupQueryParams
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if argWithNearDupQueryParams threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ArgWithNearDupQueryParams_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgWithNearDupQueryParams_Result) (*BarResponse, error)
}{}

Bar_ArgWithNearDupQueryParams_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithNearDupQueryParams function.

var Bar_ArgWithNestedQueryParams_Helper = struct {
	// Args accepts the parameters of argWithNestedQueryParams in-order and returns
	// the arguments struct for the function.
	Args func(
		request *QueryParamsStruct,
		opt *QueryParamsOptsStruct,
	) *Bar_ArgWithNestedQueryParams_Args

	// IsException returns true if the given error can be thrown
	// by argWithNestedQueryParams.
	//
	// An error can be thrown by argWithNestedQueryParams only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argWithNestedQueryParams
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// argWithNestedQueryParams into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by argWithNestedQueryParams
	//
	//   value, err := argWithNestedQueryParams(args)
	//   result, err := Bar_ArgWithNestedQueryParams_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argWithNestedQueryParams: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_ArgWithNestedQueryParams_Result, error)

	// UnwrapResponse takes the result struct for argWithNestedQueryParams
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if argWithNestedQueryParams threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ArgWithNestedQueryParams_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgWithNestedQueryParams_Result) (*BarResponse, error)
}{}

Bar_ArgWithNestedQueryParams_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithNestedQueryParams function.

var Bar_ArgWithParamsAndDuplicateFields_Helper = struct {
	// Args accepts the parameters of argWithParamsAndDuplicateFields in-order and returns
	// the arguments struct for the function.
	Args func(
		request *RequestWithDuplicateType,
		entityUUID string,
	) *Bar_ArgWithParamsAndDuplicateFields_Args

	// IsException returns true if the given error can be thrown
	// by argWithParamsAndDuplicateFields.
	//
	// An error can be thrown by argWithParamsAndDuplicateFields only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argWithParamsAndDuplicateFields
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// argWithParamsAndDuplicateFields into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by argWithParamsAndDuplicateFields
	//
	//   value, err := argWithParamsAndDuplicateFields(args)
	//   result, err := Bar_ArgWithParamsAndDuplicateFields_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argWithParamsAndDuplicateFields: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_ArgWithParamsAndDuplicateFields_Result, error)

	// UnwrapResponse takes the result struct for argWithParamsAndDuplicateFields
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if argWithParamsAndDuplicateFields threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ArgWithParamsAndDuplicateFields_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgWithParamsAndDuplicateFields_Result) (*BarResponse, error)
}{}

Bar_ArgWithParamsAndDuplicateFields_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithParamsAndDuplicateFields function.

var Bar_ArgWithParams_Helper = struct {
	// Args accepts the parameters of argWithParams in-order and returns
	// the arguments struct for the function.
	Args func(
		uuid string,
		params *ParamsStruct,
	) *Bar_ArgWithParams_Args

	// IsException returns true if the given error can be thrown
	// by argWithParams.
	//
	// An error can be thrown by argWithParams only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argWithParams
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// argWithParams into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by argWithParams
	//
	//   value, err := argWithParams(args)
	//   result, err := Bar_ArgWithParams_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argWithParams: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_ArgWithParams_Result, error)

	// UnwrapResponse takes the result struct for argWithParams
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if argWithParams threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ArgWithParams_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgWithParams_Result) (*BarResponse, error)
}{}

Bar_ArgWithParams_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithParams function.

var Bar_ArgWithQueryHeader_Helper = struct {
	// Args accepts the parameters of argWithQueryHeader in-order and returns
	// the arguments struct for the function.
	Args func(
		userUUID *string,
	) *Bar_ArgWithQueryHeader_Args

	// IsException returns true if the given error can be thrown
	// by argWithQueryHeader.
	//
	// An error can be thrown by argWithQueryHeader only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argWithQueryHeader
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// argWithQueryHeader into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by argWithQueryHeader
	//
	//   value, err := argWithQueryHeader(args)
	//   result, err := Bar_ArgWithQueryHeader_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argWithQueryHeader: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_ArgWithQueryHeader_Result, error)

	// UnwrapResponse takes the result struct for argWithQueryHeader
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if argWithQueryHeader threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ArgWithQueryHeader_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgWithQueryHeader_Result) (*BarResponse, error)
}{}

Bar_ArgWithQueryHeader_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithQueryHeader function.

var Bar_ArgWithQueryParams_Helper = struct {
	// Args accepts the parameters of argWithQueryParams in-order and returns
	// the arguments struct for the function.
	Args func(
		name string,
		userUUID *string,
		foo []string,
		bar []int8,
	) *Bar_ArgWithQueryParams_Args

	// IsException returns true if the given error can be thrown
	// by argWithQueryParams.
	//
	// An error can be thrown by argWithQueryParams only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argWithQueryParams
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// argWithQueryParams into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by argWithQueryParams
	//
	//   value, err := argWithQueryParams(args)
	//   result, err := Bar_ArgWithQueryParams_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argWithQueryParams: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_ArgWithQueryParams_Result, error)

	// UnwrapResponse takes the result struct for argWithQueryParams
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if argWithQueryParams threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ArgWithQueryParams_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgWithQueryParams_Result) (*BarResponse, error)
}{}

Bar_ArgWithQueryParams_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithQueryParams function.

var Bar_DeleteFoo_Helper = struct {
	// Args accepts the parameters of deleteFoo in-order and returns
	// the arguments struct for the function.
	Args func(
		userUUID string,
	) *Bar_DeleteFoo_Args

	// IsException returns true if the given error can be thrown
	// by deleteFoo.
	//
	// An error can be thrown by deleteFoo only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for deleteFoo
	// given the error returned by it. The provided error may
	// be nil if deleteFoo did not fail.
	//
	// This allows mapping errors returned by deleteFoo into a
	// serializable result struct. WrapResponse returns a
	// non-nil error if the provided error cannot be thrown by
	// deleteFoo
	//
	//   err := deleteFoo(args)
	//   result, err := Bar_DeleteFoo_Helper.WrapResponse(err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from deleteFoo: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(error) (*Bar_DeleteFoo_Result, error)

	// UnwrapResponse takes the result struct for deleteFoo
	// and returns the erorr returned by it (if any).
	//
	// The error is non-nil only if deleteFoo threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   err := Bar_DeleteFoo_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_DeleteFoo_Result) error
}{}

Bar_DeleteFoo_Helper provides functions that aid in handling the parameters and return values of the Bar.deleteFoo function.

var Bar_DeleteWithQueryParams_Helper = struct {
	// Args accepts the parameters of deleteWithQueryParams in-order and returns
	// the arguments struct for the function.
	Args func(
		filter string,
		count *int32,
	) *Bar_DeleteWithQueryParams_Args

	// IsException returns true if the given error can be thrown
	// by deleteWithQueryParams.
	//
	// An error can be thrown by deleteWithQueryParams only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for deleteWithQueryParams
	// given the error returned by it. The provided error may
	// be nil if deleteWithQueryParams did not fail.
	//
	// This allows mapping errors returned by deleteWithQueryParams into a
	// serializable result struct. WrapResponse returns a
	// non-nil error if the provided error cannot be thrown by
	// deleteWithQueryParams
	//
	//   err := deleteWithQueryParams(args)
	//   result, err := Bar_DeleteWithQueryParams_Helper.WrapResponse(err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from deleteWithQueryParams: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(error) (*Bar_DeleteWithQueryParams_Result, error)

	// UnwrapResponse takes the result struct for deleteWithQueryParams
	// and returns the erorr returned by it (if any).
	//
	// The error is non-nil only if deleteWithQueryParams threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   err := Bar_DeleteWithQueryParams_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_DeleteWithQueryParams_Result) error
}{}

Bar_DeleteWithQueryParams_Helper provides functions that aid in handling the parameters and return values of the Bar.deleteWithQueryParams function.

var Bar_HelloWorld_Helper = struct {
	// Args accepts the parameters of helloWorld in-order and returns
	// the arguments struct for the function.
	Args func() *Bar_HelloWorld_Args

	// IsException returns true if the given error can be thrown
	// by helloWorld.
	//
	// An error can be thrown by helloWorld only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for helloWorld
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// helloWorld into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by helloWorld
	//
	//   value, err := helloWorld(args)
	//   result, err := Bar_HelloWorld_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from helloWorld: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(string, error) (*Bar_HelloWorld_Result, error)

	// UnwrapResponse takes the result struct for helloWorld
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if helloWorld threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_HelloWorld_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_HelloWorld_Result) (string, error)
}{}

Bar_HelloWorld_Helper provides functions that aid in handling the parameters and return values of the Bar.helloWorld function.

var Bar_ListAndEnum_Helper = struct {
	// Args accepts the parameters of listAndEnum in-order and returns
	// the arguments struct for the function.
	Args func(
		demoIds []string,
		demoType *DemoType,
		demos []DemoType,
	) *Bar_ListAndEnum_Args

	// IsException returns true if the given error can be thrown
	// by listAndEnum.
	//
	// An error can be thrown by listAndEnum only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for listAndEnum
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// listAndEnum into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by listAndEnum
	//
	//   value, err := listAndEnum(args)
	//   result, err := Bar_ListAndEnum_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from listAndEnum: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(string, error) (*Bar_ListAndEnum_Result, error)

	// UnwrapResponse takes the result struct for listAndEnum
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if listAndEnum threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ListAndEnum_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ListAndEnum_Result) (string, error)
}{}

Bar_ListAndEnum_Helper provides functions that aid in handling the parameters and return values of the Bar.listAndEnum function.

var Bar_MissingArg_Helper = struct {
	// Args accepts the parameters of missingArg in-order and returns
	// the arguments struct for the function.
	Args func() *Bar_MissingArg_Args

	// IsException returns true if the given error can be thrown
	// by missingArg.
	//
	// An error can be thrown by missingArg only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for missingArg
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// missingArg into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by missingArg
	//
	//   value, err := missingArg(args)
	//   result, err := Bar_MissingArg_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from missingArg: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_MissingArg_Result, error)

	// UnwrapResponse takes the result struct for missingArg
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if missingArg threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_MissingArg_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_MissingArg_Result) (*BarResponse, error)
}{}

Bar_MissingArg_Helper provides functions that aid in handling the parameters and return values of the Bar.missingArg function.

var Bar_NoRequest_Helper = struct {
	// Args accepts the parameters of noRequest in-order and returns
	// the arguments struct for the function.
	Args func() *Bar_NoRequest_Args

	// IsException returns true if the given error can be thrown
	// by noRequest.
	//
	// An error can be thrown by noRequest only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for noRequest
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// noRequest into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by noRequest
	//
	//   value, err := noRequest(args)
	//   result, err := Bar_NoRequest_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from noRequest: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_NoRequest_Result, error)

	// UnwrapResponse takes the result struct for noRequest
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if noRequest threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_NoRequest_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_NoRequest_Result) (*BarResponse, error)
}{}

Bar_NoRequest_Helper provides functions that aid in handling the parameters and return values of the Bar.noRequest function.

var Bar_NormalRecur_Helper = struct {
	// Args accepts the parameters of normalRecur in-order and returns
	// the arguments struct for the function.
	Args func(
		request *BarRequestRecur,
	) *Bar_NormalRecur_Args

	// IsException returns true if the given error can be thrown
	// by normalRecur.
	//
	// An error can be thrown by normalRecur only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for normalRecur
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// normalRecur into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by normalRecur
	//
	//   value, err := normalRecur(args)
	//   result, err := Bar_NormalRecur_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from normalRecur: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponseRecur, error) (*Bar_NormalRecur_Result, error)

	// UnwrapResponse takes the result struct for normalRecur
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if normalRecur threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_NormalRecur_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_NormalRecur_Result) (*BarResponseRecur, error)
}{}

Bar_NormalRecur_Helper provides functions that aid in handling the parameters and return values of the Bar.normalRecur function.

var Bar_Normal_Helper = struct {
	// Args accepts the parameters of normal in-order and returns
	// the arguments struct for the function.
	Args func(
		request *BarRequest,
	) *Bar_Normal_Args

	// IsException returns true if the given error can be thrown
	// by normal.
	//
	// An error can be thrown by normal only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for normal
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// normal into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by normal
	//
	//   value, err := normal(args)
	//   result, err := Bar_Normal_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from normal: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_Normal_Result, error)

	// UnwrapResponse takes the result struct for normal
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if normal threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_Normal_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_Normal_Result) (*BarResponse, error)
}{}

Bar_Normal_Helper provides functions that aid in handling the parameters and return values of the Bar.normal function.

var Bar_TooManyArgs_Helper = struct {
	// Args accepts the parameters of tooManyArgs in-order and returns
	// the arguments struct for the function.
	Args func(
		request *BarRequest,
		foo *foo.FooStruct,
	) *Bar_TooManyArgs_Args

	// IsException returns true if the given error can be thrown
	// by tooManyArgs.
	//
	// An error can be thrown by tooManyArgs only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for tooManyArgs
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// tooManyArgs into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by tooManyArgs
	//
	//   value, err := tooManyArgs(args)
	//   result, err := Bar_TooManyArgs_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from tooManyArgs: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_TooManyArgs_Result, error)

	// UnwrapResponse takes the result struct for tooManyArgs
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if tooManyArgs threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_TooManyArgs_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_TooManyArgs_Result) (*BarResponse, error)
}{}

Bar_TooManyArgs_Helper provides functions that aid in handling the parameters and return values of the Bar.tooManyArgs function.

var Echo_EchoBinary_Helper = struct {
	// Args accepts the parameters of echoBinary in-order and returns
	// the arguments struct for the function.
	Args func(
		arg []byte,
	) *Echo_EchoBinary_Args

	// IsException returns true if the given error can be thrown
	// by echoBinary.
	//
	// An error can be thrown by echoBinary only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoBinary
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoBinary into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoBinary
	//
	//   value, err := echoBinary(args)
	//   result, err := Echo_EchoBinary_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoBinary: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func([]byte, error) (*Echo_EchoBinary_Result, error)

	// UnwrapResponse takes the result struct for echoBinary
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoBinary threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoBinary_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoBinary_Result) ([]byte, error)
}{}

Echo_EchoBinary_Helper provides functions that aid in handling the parameters and return values of the Echo.echoBinary function.

var Echo_EchoBool_Helper = struct {
	// Args accepts the parameters of echoBool in-order and returns
	// the arguments struct for the function.
	Args func(
		arg bool,
	) *Echo_EchoBool_Args

	// IsException returns true if the given error can be thrown
	// by echoBool.
	//
	// An error can be thrown by echoBool only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoBool
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoBool into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoBool
	//
	//   value, err := echoBool(args)
	//   result, err := Echo_EchoBool_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoBool: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(bool, error) (*Echo_EchoBool_Result, error)

	// UnwrapResponse takes the result struct for echoBool
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoBool threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoBool_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoBool_Result) (bool, error)
}{}

Echo_EchoBool_Helper provides functions that aid in handling the parameters and return values of the Echo.echoBool function.

var Echo_EchoDouble_Helper = struct {
	// Args accepts the parameters of echoDouble in-order and returns
	// the arguments struct for the function.
	Args func(
		arg float64,
	) *Echo_EchoDouble_Args

	// IsException returns true if the given error can be thrown
	// by echoDouble.
	//
	// An error can be thrown by echoDouble only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoDouble
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoDouble into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoDouble
	//
	//   value, err := echoDouble(args)
	//   result, err := Echo_EchoDouble_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoDouble: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(float64, error) (*Echo_EchoDouble_Result, error)

	// UnwrapResponse takes the result struct for echoDouble
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoDouble threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoDouble_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoDouble_Result) (float64, error)
}{}

Echo_EchoDouble_Helper provides functions that aid in handling the parameters and return values of the Echo.echoDouble function.

var Echo_EchoEnum_Helper = struct {
	// Args accepts the parameters of echoEnum in-order and returns
	// the arguments struct for the function.
	Args func(
		arg *Fruit,
	) *Echo_EchoEnum_Args

	// IsException returns true if the given error can be thrown
	// by echoEnum.
	//
	// An error can be thrown by echoEnum only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoEnum
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoEnum into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoEnum
	//
	//   value, err := echoEnum(args)
	//   result, err := Echo_EchoEnum_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoEnum: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(Fruit, error) (*Echo_EchoEnum_Result, error)

	// UnwrapResponse takes the result struct for echoEnum
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoEnum threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoEnum_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoEnum_Result) (Fruit, error)
}{}

Echo_EchoEnum_Helper provides functions that aid in handling the parameters and return values of the Echo.echoEnum function.

var Echo_EchoI16_Helper = struct {
	// Args accepts the parameters of echoI16 in-order and returns
	// the arguments struct for the function.
	Args func(
		arg int16,
	) *Echo_EchoI16_Args

	// IsException returns true if the given error can be thrown
	// by echoI16.
	//
	// An error can be thrown by echoI16 only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoI16
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoI16 into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoI16
	//
	//   value, err := echoI16(args)
	//   result, err := Echo_EchoI16_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoI16: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(int16, error) (*Echo_EchoI16_Result, error)

	// UnwrapResponse takes the result struct for echoI16
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoI16 threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoI16_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoI16_Result) (int16, error)
}{}

Echo_EchoI16_Helper provides functions that aid in handling the parameters and return values of the Echo.echoI16 function.

var Echo_EchoI32Map_Helper = struct {
	// Args accepts the parameters of echoI32Map in-order and returns
	// the arguments struct for the function.
	Args func(
		arg map[int32]*BarResponse,
	) *Echo_EchoI32Map_Args

	// IsException returns true if the given error can be thrown
	// by echoI32Map.
	//
	// An error can be thrown by echoI32Map only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoI32Map
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoI32Map into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoI32Map
	//
	//   value, err := echoI32Map(args)
	//   result, err := Echo_EchoI32Map_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoI32Map: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(map[int32]*BarResponse, error) (*Echo_EchoI32Map_Result, error)

	// UnwrapResponse takes the result struct for echoI32Map
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoI32Map threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoI32Map_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoI32Map_Result) (map[int32]*BarResponse, error)
}{}

Echo_EchoI32Map_Helper provides functions that aid in handling the parameters and return values of the Echo.echoI32Map function.

var Echo_EchoI32_Helper = struct {
	// Args accepts the parameters of echoI32 in-order and returns
	// the arguments struct for the function.
	Args func(
		arg int32,
	) *Echo_EchoI32_Args

	// IsException returns true if the given error can be thrown
	// by echoI32.
	//
	// An error can be thrown by echoI32 only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoI32
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoI32 into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoI32
	//
	//   value, err := echoI32(args)
	//   result, err := Echo_EchoI32_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoI32: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(int32, error) (*Echo_EchoI32_Result, error)

	// UnwrapResponse takes the result struct for echoI32
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoI32 threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoI32_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoI32_Result) (int32, error)
}{}

Echo_EchoI32_Helper provides functions that aid in handling the parameters and return values of the Echo.echoI32 function.

var Echo_EchoI64_Helper = struct {
	// Args accepts the parameters of echoI64 in-order and returns
	// the arguments struct for the function.
	Args func(
		arg int64,
	) *Echo_EchoI64_Args

	// IsException returns true if the given error can be thrown
	// by echoI64.
	//
	// An error can be thrown by echoI64 only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoI64
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoI64 into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoI64
	//
	//   value, err := echoI64(args)
	//   result, err := Echo_EchoI64_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoI64: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(int64, error) (*Echo_EchoI64_Result, error)

	// UnwrapResponse takes the result struct for echoI64
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoI64 threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoI64_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoI64_Result) (int64, error)
}{}

Echo_EchoI64_Helper provides functions that aid in handling the parameters and return values of the Echo.echoI64 function.

var Echo_EchoI8_Helper = struct {
	// Args accepts the parameters of echoI8 in-order and returns
	// the arguments struct for the function.
	Args func(
		arg int8,
	) *Echo_EchoI8_Args

	// IsException returns true if the given error can be thrown
	// by echoI8.
	//
	// An error can be thrown by echoI8 only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoI8
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoI8 into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoI8
	//
	//   value, err := echoI8(args)
	//   result, err := Echo_EchoI8_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoI8: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(int8, error) (*Echo_EchoI8_Result, error)

	// UnwrapResponse takes the result struct for echoI8
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoI8 threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoI8_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoI8_Result) (int8, error)
}{}

Echo_EchoI8_Helper provides functions that aid in handling the parameters and return values of the Echo.echoI8 function.

var Echo_EchoStringList_Helper = struct {
	// Args accepts the parameters of echoStringList in-order and returns
	// the arguments struct for the function.
	Args func(
		arg []string,
	) *Echo_EchoStringList_Args

	// IsException returns true if the given error can be thrown
	// by echoStringList.
	//
	// An error can be thrown by echoStringList only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoStringList
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoStringList into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoStringList
	//
	//   value, err := echoStringList(args)
	//   result, err := Echo_EchoStringList_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoStringList: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func([]string, error) (*Echo_EchoStringList_Result, error)

	// UnwrapResponse takes the result struct for echoStringList
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoStringList threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoStringList_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoStringList_Result) ([]string, error)
}{}

Echo_EchoStringList_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStringList function.

var Echo_EchoStringMap_Helper = struct {
	// Args accepts the parameters of echoStringMap in-order and returns
	// the arguments struct for the function.
	Args func(
		arg map[string]*BarResponse,
	) *Echo_EchoStringMap_Args

	// IsException returns true if the given error can be thrown
	// by echoStringMap.
	//
	// An error can be thrown by echoStringMap only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoStringMap
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoStringMap into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoStringMap
	//
	//   value, err := echoStringMap(args)
	//   result, err := Echo_EchoStringMap_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoStringMap: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(map[string]*BarResponse, error) (*Echo_EchoStringMap_Result, error)

	// UnwrapResponse takes the result struct for echoStringMap
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoStringMap threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoStringMap_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoStringMap_Result) (map[string]*BarResponse, error)
}{}

Echo_EchoStringMap_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStringMap function.

var Echo_EchoStringSet_Helper = struct {
	// Args accepts the parameters of echoStringSet in-order and returns
	// the arguments struct for the function.
	Args func(
		arg map[string]struct{},
	) *Echo_EchoStringSet_Args

	// IsException returns true if the given error can be thrown
	// by echoStringSet.
	//
	// An error can be thrown by echoStringSet only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoStringSet
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoStringSet into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoStringSet
	//
	//   value, err := echoStringSet(args)
	//   result, err := Echo_EchoStringSet_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoStringSet: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(map[string]struct{}, error) (*Echo_EchoStringSet_Result, error)

	// UnwrapResponse takes the result struct for echoStringSet
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoStringSet threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoStringSet_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoStringSet_Result) (map[string]struct{}, error)
}{}

Echo_EchoStringSet_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStringSet function.

var Echo_EchoString_Helper = struct {
	// Args accepts the parameters of echoString in-order and returns
	// the arguments struct for the function.
	Args func(
		arg string,
	) *Echo_EchoString_Args

	// IsException returns true if the given error can be thrown
	// by echoString.
	//
	// An error can be thrown by echoString only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoString
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoString into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoString
	//
	//   value, err := echoString(args)
	//   result, err := Echo_EchoString_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoString: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(string, error) (*Echo_EchoString_Result, error)

	// UnwrapResponse takes the result struct for echoString
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoString threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoString_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoString_Result) (string, error)
}{}

Echo_EchoString_Helper provides functions that aid in handling the parameters and return values of the Echo.echoString function.

var Echo_EchoStructList_Helper = struct {
	// Args accepts the parameters of echoStructList in-order and returns
	// the arguments struct for the function.
	Args func(
		arg []*BarResponse,
	) *Echo_EchoStructList_Args

	// IsException returns true if the given error can be thrown
	// by echoStructList.
	//
	// An error can be thrown by echoStructList only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoStructList
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoStructList into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoStructList
	//
	//   value, err := echoStructList(args)
	//   result, err := Echo_EchoStructList_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoStructList: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func([]*BarResponse, error) (*Echo_EchoStructList_Result, error)

	// UnwrapResponse takes the result struct for echoStructList
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoStructList threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoStructList_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoStructList_Result) ([]*BarResponse, error)
}{}

Echo_EchoStructList_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStructList function.

var Echo_EchoStructMap_Helper = struct {
	// Args accepts the parameters of echoStructMap in-order and returns
	// the arguments struct for the function.
	Args func(
		arg []struct {
			Key   *BarResponse
			Value string
		},
	) *Echo_EchoStructMap_Args

	// IsException returns true if the given error can be thrown
	// by echoStructMap.
	//
	// An error can be thrown by echoStructMap only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoStructMap
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoStructMap into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoStructMap
	//
	//   value, err := echoStructMap(args)
	//   result, err := Echo_EchoStructMap_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoStructMap: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func([]struct {
		Key   *BarResponse
		Value string
	}, error) (*Echo_EchoStructMap_Result, error)

	// UnwrapResponse takes the result struct for echoStructMap
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoStructMap threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoStructMap_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoStructMap_Result) ([]struct {
		Key   *BarResponse
		Value string
	}, error)
}{}

Echo_EchoStructMap_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStructMap function.

var Echo_EchoStructSet_Helper = struct {
	// Args accepts the parameters of echoStructSet in-order and returns
	// the arguments struct for the function.
	Args func(
		arg []*BarResponse,
	) *Echo_EchoStructSet_Args

	// IsException returns true if the given error can be thrown
	// by echoStructSet.
	//
	// An error can be thrown by echoStructSet only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoStructSet
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoStructSet into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoStructSet
	//
	//   value, err := echoStructSet(args)
	//   result, err := Echo_EchoStructSet_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoStructSet: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func([]*BarResponse, error) (*Echo_EchoStructSet_Result, error)

	// UnwrapResponse takes the result struct for echoStructSet
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoStructSet threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoStructSet_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoStructSet_Result) ([]*BarResponse, error)
}{}

Echo_EchoStructSet_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStructSet function.

var Echo_EchoTypedef_Helper = struct {
	// Args accepts the parameters of echoTypedef in-order and returns
	// the arguments struct for the function.
	Args func(
		arg UUID,
	) *Echo_EchoTypedef_Args

	// IsException returns true if the given error can be thrown
	// by echoTypedef.
	//
	// An error can be thrown by echoTypedef only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoTypedef
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoTypedef into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoTypedef
	//
	//   value, err := echoTypedef(args)
	//   result, err := Echo_EchoTypedef_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoTypedef: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(UUID, error) (*Echo_EchoTypedef_Result, error)

	// UnwrapResponse takes the result struct for echoTypedef
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoTypedef threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoTypedef_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoTypedef_Result) (UUID, error)
}{}

Echo_EchoTypedef_Helper provides functions that aid in handling the parameters and return values of the Echo.echoTypedef function.

type BarException

type BarException struct {
	StringField string `json:"stringField,required"`
}

func (*BarException) Equals

func (v *BarException) Equals(rhs *BarException) bool

Equals returns true if all the fields of this BarException match the provided BarException.

This function performs a deep comparison.

func (*BarException) Error

func (v *BarException) Error() string

func (*BarException) FromWire

func (v *BarException) FromWire(w wire.Value) error

FromWire deserializes a BarException struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a BarException struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v BarException
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*BarException) GetStringField

func (v *BarException) GetStringField() (o string)

GetStringField returns the value of StringField if it is set or its zero value if it is unset.

func (BarException) MarshalEasyJSON

func (v BarException) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (BarException) MarshalJSON

func (v BarException) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*BarException) MarshalLogObject

func (v *BarException) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BarException.

func (*BarException) String

func (v *BarException) String() string

String returns a readable string representation of a BarException struct.

func (*BarException) ToWire

func (v *BarException) ToWire() (wire.Value, error)

ToWire translates a BarException struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*BarException) UnmarshalEasyJSON

func (v *BarException) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BarException) UnmarshalJSON

func (v *BarException) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type BarRequest

type BarRequest struct {
	StringField string    `json:"stringField,required"`
	BoolField   bool      `json:"boolField,required"`
	BinaryField []byte    `json:"binaryField,required"`
	Timestamp   Timestamp `json:"timestamp,required"`
	EnumField   Fruit     `json:"enumField,required"`
	LongField   Long      `json:"longField,required"`
}

func (*BarRequest) Equals

func (v *BarRequest) Equals(rhs *BarRequest) bool

Equals returns true if all the fields of this BarRequest match the provided BarRequest.

This function performs a deep comparison.

func (*BarRequest) FromWire

func (v *BarRequest) FromWire(w wire.Value) error

FromWire deserializes a BarRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a BarRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v BarRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*BarRequest) GetBinaryField

func (v *BarRequest) GetBinaryField() (o []byte)

GetBinaryField returns the value of BinaryField if it is set or its zero value if it is unset.

func (*BarRequest) GetBoolField

func (v *BarRequest) GetBoolField() (o bool)

GetBoolField returns the value of BoolField if it is set or its zero value if it is unset.

func (*BarRequest) GetEnumField

func (v *BarRequest) GetEnumField() (o Fruit)

GetEnumField returns the value of EnumField if it is set or its zero value if it is unset.

func (*BarRequest) GetLongField

func (v *BarRequest) GetLongField() (o Long)

GetLongField returns the value of LongField if it is set or its zero value if it is unset.

func (*BarRequest) GetStringField

func (v *BarRequest) GetStringField() (o string)

GetStringField returns the value of StringField if it is set or its zero value if it is unset.

func (*BarRequest) GetTimestamp

func (v *BarRequest) GetTimestamp() (o Timestamp)

GetTimestamp returns the value of Timestamp if it is set or its zero value if it is unset.

func (*BarRequest) IsSetBinaryField

func (v *BarRequest) IsSetBinaryField() bool

IsSetBinaryField returns true if BinaryField is not nil.

func (BarRequest) MarshalEasyJSON

func (v BarRequest) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (BarRequest) MarshalJSON

func (v BarRequest) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*BarRequest) MarshalLogObject

func (v *BarRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BarRequest.

func (*BarRequest) String

func (v *BarRequest) String() string

String returns a readable string representation of a BarRequest struct.

func (*BarRequest) ToWire

func (v *BarRequest) ToWire() (wire.Value, error)

ToWire translates a BarRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*BarRequest) UnmarshalEasyJSON

func (v *BarRequest) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BarRequest) UnmarshalJSON

func (v *BarRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type BarRequestRecur

type BarRequestRecur struct {
	Name  string           `json:"name,required"`
	Recur *BarRequestRecur `json:"recur,omitempty"`
}

func (*BarRequestRecur) Equals

func (v *BarRequestRecur) Equals(rhs *BarRequestRecur) bool

Equals returns true if all the fields of this BarRequestRecur match the provided BarRequestRecur.

This function performs a deep comparison.

func (*BarRequestRecur) FromWire

func (v *BarRequestRecur) FromWire(w wire.Value) error

FromWire deserializes a BarRequestRecur struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a BarRequestRecur struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v BarRequestRecur
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*BarRequestRecur) GetName

func (v *BarRequestRecur) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*BarRequestRecur) GetRecur

func (v *BarRequestRecur) GetRecur() (o *BarRequestRecur)

GetRecur returns the value of Recur if it is set or its zero value if it is unset.

func (*BarRequestRecur) IsSetRecur

func (v *BarRequestRecur) IsSetRecur() bool

IsSetRecur returns true if Recur is not nil.

func (BarRequestRecur) MarshalEasyJSON

func (v BarRequestRecur) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (BarRequestRecur) MarshalJSON

func (v BarRequestRecur) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*BarRequestRecur) MarshalLogObject

func (v *BarRequestRecur) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BarRequestRecur.

func (*BarRequestRecur) String

func (v *BarRequestRecur) String() string

String returns a readable string representation of a BarRequestRecur struct.

func (*BarRequestRecur) ToWire

func (v *BarRequestRecur) ToWire() (wire.Value, error)

ToWire translates a BarRequestRecur struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*BarRequestRecur) UnmarshalEasyJSON

func (v *BarRequestRecur) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BarRequestRecur) UnmarshalJSON

func (v *BarRequestRecur) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type BarResponse

type BarResponse struct {
	StringField        string           `json:"stringField,required"`
	IntWithRange       int32            `json:"intWithRange,required"`
	IntWithoutRange    int32            `json:"intWithoutRange,required"`
	MapIntWithRange    map[UUID]int32   `json:"mapIntWithRange,required"`
	MapIntWithoutRange map[string]int32 `json:"mapIntWithoutRange,required"`
	BinaryField        []byte           `json:"binaryField,required"`
	NextResponse       *BarResponse     `json:"nextResponse,omitempty"`
}

func (*BarResponse) Equals

func (v *BarResponse) Equals(rhs *BarResponse) bool

Equals returns true if all the fields of this BarResponse match the provided BarResponse.

This function performs a deep comparison.

func (*BarResponse) FromWire

func (v *BarResponse) FromWire(w wire.Value) error

FromWire deserializes a BarResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a BarResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v BarResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*BarResponse) GetBinaryField

func (v *BarResponse) GetBinaryField() (o []byte)

GetBinaryField returns the value of BinaryField if it is set or its zero value if it is unset.

func (*BarResponse) GetIntWithRange

func (v *BarResponse) GetIntWithRange() (o int32)

GetIntWithRange returns the value of IntWithRange if it is set or its zero value if it is unset.

func (*BarResponse) GetIntWithoutRange

func (v *BarResponse) GetIntWithoutRange() (o int32)

GetIntWithoutRange returns the value of IntWithoutRange if it is set or its zero value if it is unset.

func (*BarResponse) GetMapIntWithRange

func (v *BarResponse) GetMapIntWithRange() (o map[UUID]int32)

GetMapIntWithRange returns the value of MapIntWithRange if it is set or its zero value if it is unset.

func (*BarResponse) GetMapIntWithoutRange

func (v *BarResponse) GetMapIntWithoutRange() (o map[string]int32)

GetMapIntWithoutRange returns the value of MapIntWithoutRange if it is set or its zero value if it is unset.

func (*BarResponse) GetNextResponse

func (v *BarResponse) GetNextResponse() (o *BarResponse)

GetNextResponse returns the value of NextResponse if it is set or its zero value if it is unset.

func (*BarResponse) GetStringField

func (v *BarResponse) GetStringField() (o string)

GetStringField returns the value of StringField if it is set or its zero value if it is unset.

func (*BarResponse) IsSetBinaryField

func (v *BarResponse) IsSetBinaryField() bool

IsSetBinaryField returns true if BinaryField is not nil.

func (*BarResponse) IsSetMapIntWithRange

func (v *BarResponse) IsSetMapIntWithRange() bool

IsSetMapIntWithRange returns true if MapIntWithRange is not nil.

func (*BarResponse) IsSetMapIntWithoutRange

func (v *BarResponse) IsSetMapIntWithoutRange() bool

IsSetMapIntWithoutRange returns true if MapIntWithoutRange is not nil.

func (*BarResponse) IsSetNextResponse

func (v *BarResponse) IsSetNextResponse() bool

IsSetNextResponse returns true if NextResponse is not nil.

func (BarResponse) MarshalEasyJSON

func (v BarResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (BarResponse) MarshalJSON

func (v BarResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*BarResponse) MarshalLogObject

func (v *BarResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BarResponse.

func (*BarResponse) String

func (v *BarResponse) String() string

String returns a readable string representation of a BarResponse struct.

func (*BarResponse) ToWire

func (v *BarResponse) ToWire() (wire.Value, error)

ToWire translates a BarResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*BarResponse) UnmarshalEasyJSON

func (v *BarResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BarResponse) UnmarshalJSON

func (v *BarResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type BarResponseRecur

type BarResponseRecur struct {
	Nodes  []string `json:"nodes,required"`
	Height int32    `json:"height,required"`
}

func (*BarResponseRecur) Equals

func (v *BarResponseRecur) Equals(rhs *BarResponseRecur) bool

Equals returns true if all the fields of this BarResponseRecur match the provided BarResponseRecur.

This function performs a deep comparison.

func (*BarResponseRecur) FromWire

func (v *BarResponseRecur) FromWire(w wire.Value) error

FromWire deserializes a BarResponseRecur struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a BarResponseRecur struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v BarResponseRecur
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*BarResponseRecur) GetHeight

func (v *BarResponseRecur) GetHeight() (o int32)

GetHeight returns the value of Height if it is set or its zero value if it is unset.

func (*BarResponseRecur) GetNodes

func (v *BarResponseRecur) GetNodes() (o []string)

GetNodes returns the value of Nodes if it is set or its zero value if it is unset.

func (*BarResponseRecur) IsSetNodes

func (v *BarResponseRecur) IsSetNodes() bool

IsSetNodes returns true if Nodes is not nil.

func (BarResponseRecur) MarshalEasyJSON

func (v BarResponseRecur) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (BarResponseRecur) MarshalJSON

func (v BarResponseRecur) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*BarResponseRecur) MarshalLogObject

func (v *BarResponseRecur) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BarResponseRecur.

func (*BarResponseRecur) String

func (v *BarResponseRecur) String() string

String returns a readable string representation of a BarResponseRecur struct.

func (*BarResponseRecur) ToWire

func (v *BarResponseRecur) ToWire() (wire.Value, error)

ToWire translates a BarResponseRecur struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*BarResponseRecur) UnmarshalEasyJSON

func (v *BarResponseRecur) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BarResponseRecur) UnmarshalJSON

func (v *BarResponseRecur) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgNotStruct_Args

type Bar_ArgNotStruct_Args struct {
	Request string `json:"request,required"`
}

Bar_ArgNotStruct_Args represents the arguments for the Bar.argNotStruct function.

The arguments for argNotStruct are sent and received over the wire as this struct.

func (*Bar_ArgNotStruct_Args) EnvelopeType

func (v *Bar_ArgNotStruct_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgNotStruct_Args) Equals

func (v *Bar_ArgNotStruct_Args) Equals(rhs *Bar_ArgNotStruct_Args) bool

Equals returns true if all the fields of this Bar_ArgNotStruct_Args match the provided Bar_ArgNotStruct_Args.

This function performs a deep comparison.

func (*Bar_ArgNotStruct_Args) FromWire

func (v *Bar_ArgNotStruct_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgNotStruct_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgNotStruct_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgNotStruct_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgNotStruct_Args) GetRequest

func (v *Bar_ArgNotStruct_Args) GetRequest() (o string)

GetRequest returns the value of Request if it is set or its zero value if it is unset.

func (Bar_ArgNotStruct_Args) MarshalEasyJSON

func (v Bar_ArgNotStruct_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgNotStruct_Args) MarshalJSON

func (v Bar_ArgNotStruct_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgNotStruct_Args) MarshalLogObject

func (v *Bar_ArgNotStruct_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgNotStruct_Args.

func (*Bar_ArgNotStruct_Args) MethodName

func (v *Bar_ArgNotStruct_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argNotStruct" for this struct.

func (*Bar_ArgNotStruct_Args) String

func (v *Bar_ArgNotStruct_Args) String() string

String returns a readable string representation of a Bar_ArgNotStruct_Args struct.

func (*Bar_ArgNotStruct_Args) ToWire

func (v *Bar_ArgNotStruct_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgNotStruct_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgNotStruct_Args) UnmarshalEasyJSON

func (v *Bar_ArgNotStruct_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgNotStruct_Args) UnmarshalJSON

func (v *Bar_ArgNotStruct_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgNotStruct_Result

type Bar_ArgNotStruct_Result struct {
	BarException *BarException `json:"barException,omitempty"`
}

Bar_ArgNotStruct_Result represents the result of a Bar.argNotStruct function call.

The result of a argNotStruct execution is sent and received over the wire as this struct.

func (*Bar_ArgNotStruct_Result) EnvelopeType

func (v *Bar_ArgNotStruct_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgNotStruct_Result) Equals

func (v *Bar_ArgNotStruct_Result) Equals(rhs *Bar_ArgNotStruct_Result) bool

Equals returns true if all the fields of this Bar_ArgNotStruct_Result match the provided Bar_ArgNotStruct_Result.

This function performs a deep comparison.

func (*Bar_ArgNotStruct_Result) FromWire

func (v *Bar_ArgNotStruct_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgNotStruct_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgNotStruct_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgNotStruct_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgNotStruct_Result) GetBarException

func (v *Bar_ArgNotStruct_Result) GetBarException() (o *BarException)

GetBarException returns the value of BarException if it is set or its zero value if it is unset.

func (*Bar_ArgNotStruct_Result) IsSetBarException

func (v *Bar_ArgNotStruct_Result) IsSetBarException() bool

IsSetBarException returns true if BarException is not nil.

func (Bar_ArgNotStruct_Result) MarshalEasyJSON

func (v Bar_ArgNotStruct_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgNotStruct_Result) MarshalJSON

func (v Bar_ArgNotStruct_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgNotStruct_Result) MarshalLogObject

func (v *Bar_ArgNotStruct_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgNotStruct_Result.

func (*Bar_ArgNotStruct_Result) MethodName

func (v *Bar_ArgNotStruct_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argNotStruct" for this struct.

func (*Bar_ArgNotStruct_Result) String

func (v *Bar_ArgNotStruct_Result) String() string

String returns a readable string representation of a Bar_ArgNotStruct_Result struct.

func (*Bar_ArgNotStruct_Result) ToWire

func (v *Bar_ArgNotStruct_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgNotStruct_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgNotStruct_Result) UnmarshalEasyJSON

func (v *Bar_ArgNotStruct_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgNotStruct_Result) UnmarshalJSON

func (v *Bar_ArgNotStruct_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithHeaders_Args

type Bar_ArgWithHeaders_Args struct {
	Name     string  `json:"-"`
	UserUUID *string `json:"-"`
}

Bar_ArgWithHeaders_Args represents the arguments for the Bar.argWithHeaders function.

The arguments for argWithHeaders are sent and received over the wire as this struct.

func (*Bar_ArgWithHeaders_Args) EnvelopeType

func (v *Bar_ArgWithHeaders_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgWithHeaders_Args) Equals

func (v *Bar_ArgWithHeaders_Args) Equals(rhs *Bar_ArgWithHeaders_Args) bool

Equals returns true if all the fields of this Bar_ArgWithHeaders_Args match the provided Bar_ArgWithHeaders_Args.

This function performs a deep comparison.

func (*Bar_ArgWithHeaders_Args) FromWire

func (v *Bar_ArgWithHeaders_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithHeaders_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithHeaders_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithHeaders_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithHeaders_Args) GetName

func (v *Bar_ArgWithHeaders_Args) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*Bar_ArgWithHeaders_Args) GetUserUUID

func (v *Bar_ArgWithHeaders_Args) GetUserUUID() (o string)

GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithHeaders_Args) IsSetUserUUID

func (v *Bar_ArgWithHeaders_Args) IsSetUserUUID() bool

IsSetUserUUID returns true if UserUUID is not nil.

func (Bar_ArgWithHeaders_Args) MarshalEasyJSON

func (v Bar_ArgWithHeaders_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithHeaders_Args) MarshalJSON

func (v Bar_ArgWithHeaders_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithHeaders_Args) MarshalLogObject

func (v *Bar_ArgWithHeaders_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithHeaders_Args.

func (*Bar_ArgWithHeaders_Args) MethodName

func (v *Bar_ArgWithHeaders_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argWithHeaders" for this struct.

func (*Bar_ArgWithHeaders_Args) String

func (v *Bar_ArgWithHeaders_Args) String() string

String returns a readable string representation of a Bar_ArgWithHeaders_Args struct.

func (*Bar_ArgWithHeaders_Args) ToWire

func (v *Bar_ArgWithHeaders_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithHeaders_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithHeaders_Args) UnmarshalEasyJSON

func (v *Bar_ArgWithHeaders_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithHeaders_Args) UnmarshalJSON

func (v *Bar_ArgWithHeaders_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithHeaders_Result

type Bar_ArgWithHeaders_Result struct {
	// Value returned by argWithHeaders after a successful execution.
	Success *BarResponse `json:"success,omitempty"`
}

Bar_ArgWithHeaders_Result represents the result of a Bar.argWithHeaders function call.

The result of a argWithHeaders execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ArgWithHeaders_Result) EnvelopeType

func (v *Bar_ArgWithHeaders_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgWithHeaders_Result) Equals

func (v *Bar_ArgWithHeaders_Result) Equals(rhs *Bar_ArgWithHeaders_Result) bool

Equals returns true if all the fields of this Bar_ArgWithHeaders_Result match the provided Bar_ArgWithHeaders_Result.

This function performs a deep comparison.

func (*Bar_ArgWithHeaders_Result) FromWire

func (v *Bar_ArgWithHeaders_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithHeaders_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithHeaders_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithHeaders_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithHeaders_Result) GetSuccess

func (v *Bar_ArgWithHeaders_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ArgWithHeaders_Result) IsSetSuccess

func (v *Bar_ArgWithHeaders_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_ArgWithHeaders_Result) MarshalEasyJSON

func (v Bar_ArgWithHeaders_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithHeaders_Result) MarshalJSON

func (v Bar_ArgWithHeaders_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithHeaders_Result) MarshalLogObject

func (v *Bar_ArgWithHeaders_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithHeaders_Result.

func (*Bar_ArgWithHeaders_Result) MethodName

func (v *Bar_ArgWithHeaders_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argWithHeaders" for this struct.

func (*Bar_ArgWithHeaders_Result) String

func (v *Bar_ArgWithHeaders_Result) String() string

String returns a readable string representation of a Bar_ArgWithHeaders_Result struct.

func (*Bar_ArgWithHeaders_Result) ToWire

func (v *Bar_ArgWithHeaders_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithHeaders_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithHeaders_Result) UnmarshalEasyJSON

func (v *Bar_ArgWithHeaders_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithHeaders_Result) UnmarshalJSON

func (v *Bar_ArgWithHeaders_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithManyQueryParams_Args

type Bar_ArgWithManyQueryParams_Args struct {
	AStr            string     `json:"aStr,required"`
	AnOptStr        *string    `json:"anOptStr,omitempty"`
	ABool           bool       `json:"aBool,required"`
	AnOptBool       *bool      `json:"anOptBool,omitempty"`
	AInt8           int8       `json:"aInt8,required"`
	AnOptInt8       *int8      `json:"anOptInt8,omitempty"`
	AInt16          int16      `json:"aInt16,required"`
	AnOptInt16      *int16     `json:"anOptInt16,omitempty"`
	AInt32          int32      `json:"aInt32,required"`
	AnOptInt32      *int32     `json:"anOptInt32,omitempty"`
	AInt64          int64      `json:"aInt64,required"`
	AnOptInt64      *int64     `json:"anOptInt64,omitempty"`
	AFloat64        float64    `json:"aFloat64,required"`
	AnOptFloat64    *float64   `json:"anOptFloat64,omitempty"`
	AUUID           UUID       `json:"aUUID,required"`
	AnOptUUID       *UUID      `json:"anOptUUID,omitempty"`
	AListUUID       []UUID     `json:"aListUUID,required"`
	AnOptListUUID   []UUID     `json:"anOptListUUID,omitempty"`
	AStringList     StringList `json:"aStringList,required"`
	AnOptStringList StringList `json:"anOptStringList,omitempty"`
	AUUIDList       UUIDList   `json:"aUUIDList,required"`
	AnOptUUIDList   UUIDList   `json:"anOptUUIDList,omitempty"`
	ATs             Timestamp  `json:"aTs,required"`
	AnOptTs         *Timestamp `json:"anOptTs,omitempty"`
	AReqDemo        DemoType   `json:"aReqDemo,required"`
	AnOptFruit      *Fruit     `json:"anOptFruit,omitempty"`
	AReqFruits      []Fruit    `json:"aReqFruits,required"`
	AnOptDemos      []DemoType `json:"anOptDemos,omitempty"`
}

Bar_ArgWithManyQueryParams_Args represents the arguments for the Bar.argWithManyQueryParams function.

The arguments for argWithManyQueryParams are sent and received over the wire as this struct.

func (*Bar_ArgWithManyQueryParams_Args) EnvelopeType

func (v *Bar_ArgWithManyQueryParams_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgWithManyQueryParams_Args) Equals

func (v *Bar_ArgWithManyQueryParams_Args) Equals(rhs *Bar_ArgWithManyQueryParams_Args) bool

Equals returns true if all the fields of this Bar_ArgWithManyQueryParams_Args match the provided Bar_ArgWithManyQueryParams_Args.

This function performs a deep comparison.

func (*Bar_ArgWithManyQueryParams_Args) FromWire

func (v *Bar_ArgWithManyQueryParams_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithManyQueryParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithManyQueryParams_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithManyQueryParams_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithManyQueryParams_Args) GetABool

func (v *Bar_ArgWithManyQueryParams_Args) GetABool() (o bool)

GetABool returns the value of ABool if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAFloat64

func (v *Bar_ArgWithManyQueryParams_Args) GetAFloat64() (o float64)

GetAFloat64 returns the value of AFloat64 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAInt16

func (v *Bar_ArgWithManyQueryParams_Args) GetAInt16() (o int16)

GetAInt16 returns the value of AInt16 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAInt32

func (v *Bar_ArgWithManyQueryParams_Args) GetAInt32() (o int32)

GetAInt32 returns the value of AInt32 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAInt64

func (v *Bar_ArgWithManyQueryParams_Args) GetAInt64() (o int64)

GetAInt64 returns the value of AInt64 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAInt8

func (v *Bar_ArgWithManyQueryParams_Args) GetAInt8() (o int8)

GetAInt8 returns the value of AInt8 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAListUUID

func (v *Bar_ArgWithManyQueryParams_Args) GetAListUUID() (o []UUID)

GetAListUUID returns the value of AListUUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAReqDemo

func (v *Bar_ArgWithManyQueryParams_Args) GetAReqDemo() (o DemoType)

GetAReqDemo returns the value of AReqDemo if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAReqFruits

func (v *Bar_ArgWithManyQueryParams_Args) GetAReqFruits() (o []Fruit)

GetAReqFruits returns the value of AReqFruits if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAStr

func (v *Bar_ArgWithManyQueryParams_Args) GetAStr() (o string)

GetAStr returns the value of AStr if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAStringList

func (v *Bar_ArgWithManyQueryParams_Args) GetAStringList() (o StringList)

GetAStringList returns the value of AStringList if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetATs

func (v *Bar_ArgWithManyQueryParams_Args) GetATs() (o Timestamp)

GetATs returns the value of ATs if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAUUID

func (v *Bar_ArgWithManyQueryParams_Args) GetAUUID() (o UUID)

GetAUUID returns the value of AUUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAUUIDList

func (v *Bar_ArgWithManyQueryParams_Args) GetAUUIDList() (o UUIDList)

GetAUUIDList returns the value of AUUIDList if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptBool

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptBool() (o bool)

GetAnOptBool returns the value of AnOptBool if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptDemos

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptDemos() (o []DemoType)

GetAnOptDemos returns the value of AnOptDemos if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptFloat64

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptFloat64() (o float64)

GetAnOptFloat64 returns the value of AnOptFloat64 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptFruit

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptFruit() (o Fruit)

GetAnOptFruit returns the value of AnOptFruit if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptInt16

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt16() (o int16)

GetAnOptInt16 returns the value of AnOptInt16 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptInt32

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt32() (o int32)

GetAnOptInt32 returns the value of AnOptInt32 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptInt64

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt64() (o int64)

GetAnOptInt64 returns the value of AnOptInt64 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptInt8

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt8() (o int8)

GetAnOptInt8 returns the value of AnOptInt8 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptListUUID

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptListUUID() (o []UUID)

GetAnOptListUUID returns the value of AnOptListUUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptStr

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptStr() (o string)

GetAnOptStr returns the value of AnOptStr if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptStringList

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptStringList() (o StringList)

GetAnOptStringList returns the value of AnOptStringList if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptTs

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptTs() (o Timestamp)

GetAnOptTs returns the value of AnOptTs if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptUUID

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptUUID() (o UUID)

GetAnOptUUID returns the value of AnOptUUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptUUIDList

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptUUIDList() (o UUIDList)

GetAnOptUUIDList returns the value of AnOptUUIDList if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAListUUID

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAListUUID() bool

IsSetAListUUID returns true if AListUUID is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAReqFruits

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAReqFruits() bool

IsSetAReqFruits returns true if AReqFruits is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAStringList

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAStringList() bool

IsSetAStringList returns true if AStringList is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAUUIDList

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAUUIDList() bool

IsSetAUUIDList returns true if AUUIDList is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptBool

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptBool() bool

IsSetAnOptBool returns true if AnOptBool is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptDemos

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptDemos() bool

IsSetAnOptDemos returns true if AnOptDemos is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptFloat64

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptFloat64() bool

IsSetAnOptFloat64 returns true if AnOptFloat64 is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptFruit

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptFruit() bool

IsSetAnOptFruit returns true if AnOptFruit is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt16

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt16() bool

IsSetAnOptInt16 returns true if AnOptInt16 is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt32

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt32() bool

IsSetAnOptInt32 returns true if AnOptInt32 is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt64

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt64() bool

IsSetAnOptInt64 returns true if AnOptInt64 is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt8

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt8() bool

IsSetAnOptInt8 returns true if AnOptInt8 is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptListUUID

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptListUUID() bool

IsSetAnOptListUUID returns true if AnOptListUUID is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptStr

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptStr() bool

IsSetAnOptStr returns true if AnOptStr is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptStringList

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptStringList() bool

IsSetAnOptStringList returns true if AnOptStringList is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptTs

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptTs() bool

IsSetAnOptTs returns true if AnOptTs is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptUUID

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptUUID() bool

IsSetAnOptUUID returns true if AnOptUUID is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptUUIDList

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptUUIDList() bool

IsSetAnOptUUIDList returns true if AnOptUUIDList is not nil.

func (Bar_ArgWithManyQueryParams_Args) MarshalEasyJSON

func (v Bar_ArgWithManyQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithManyQueryParams_Args) MarshalJSON

func (v Bar_ArgWithManyQueryParams_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithManyQueryParams_Args) MarshalLogObject

func (v *Bar_ArgWithManyQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithManyQueryParams_Args.

func (*Bar_ArgWithManyQueryParams_Args) MethodName

func (v *Bar_ArgWithManyQueryParams_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argWithManyQueryParams" for this struct.

func (*Bar_ArgWithManyQueryParams_Args) String

func (v *Bar_ArgWithManyQueryParams_Args) String() string

String returns a readable string representation of a Bar_ArgWithManyQueryParams_Args struct.

func (*Bar_ArgWithManyQueryParams_Args) ToWire

func (v *Bar_ArgWithManyQueryParams_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithManyQueryParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithManyQueryParams_Args) UnmarshalEasyJSON

func (v *Bar_ArgWithManyQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithManyQueryParams_Args) UnmarshalJSON

func (v *Bar_ArgWithManyQueryParams_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithManyQueryParams_Result

type Bar_ArgWithManyQueryParams_Result struct {
	// Value returned by argWithManyQueryParams after a successful execution.
	Success *BarResponse `json:"success,omitempty"`
}

Bar_ArgWithManyQueryParams_Result represents the result of a Bar.argWithManyQueryParams function call.

The result of a argWithManyQueryParams execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ArgWithManyQueryParams_Result) EnvelopeType

func (v *Bar_ArgWithManyQueryParams_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgWithManyQueryParams_Result) Equals

func (v *Bar_ArgWithManyQueryParams_Result) Equals(rhs *Bar_ArgWithManyQueryParams_Result) bool

Equals returns true if all the fields of this Bar_ArgWithManyQueryParams_Result match the provided Bar_ArgWithManyQueryParams_Result.

This function performs a deep comparison.

func (*Bar_ArgWithManyQueryParams_Result) FromWire

func (v *Bar_ArgWithManyQueryParams_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithManyQueryParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithManyQueryParams_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithManyQueryParams_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithManyQueryParams_Result) GetSuccess

func (v *Bar_ArgWithManyQueryParams_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Result) IsSetSuccess

func (v *Bar_ArgWithManyQueryParams_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_ArgWithManyQueryParams_Result) MarshalEasyJSON

func (v Bar_ArgWithManyQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithManyQueryParams_Result) MarshalJSON

func (v Bar_ArgWithManyQueryParams_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithManyQueryParams_Result) MarshalLogObject

func (v *Bar_ArgWithManyQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithManyQueryParams_Result.

func (*Bar_ArgWithManyQueryParams_Result) MethodName

func (v *Bar_ArgWithManyQueryParams_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argWithManyQueryParams" for this struct.

func (*Bar_ArgWithManyQueryParams_Result) String

func (v *Bar_ArgWithManyQueryParams_Result) String() string

String returns a readable string representation of a Bar_ArgWithManyQueryParams_Result struct.

func (*Bar_ArgWithManyQueryParams_Result) ToWire

func (v *Bar_ArgWithManyQueryParams_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithManyQueryParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithManyQueryParams_Result) UnmarshalEasyJSON

func (v *Bar_ArgWithManyQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithManyQueryParams_Result) UnmarshalJSON

func (v *Bar_ArgWithManyQueryParams_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithNearDupQueryParams_Args

type Bar_ArgWithNearDupQueryParams_Args struct {
	One   string  `json:"one,required"`
	Two   *int32  `json:"two,omitempty"`
	Three *string `json:"three,omitempty"`
	Four  *string `json:"four,omitempty"`
}

Bar_ArgWithNearDupQueryParams_Args represents the arguments for the Bar.argWithNearDupQueryParams function.

The arguments for argWithNearDupQueryParams are sent and received over the wire as this struct.

func (*Bar_ArgWithNearDupQueryParams_Args) EnvelopeType

func (v *Bar_ArgWithNearDupQueryParams_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgWithNearDupQueryParams_Args) Equals

func (v *Bar_ArgWithNearDupQueryParams_Args) Equals(rhs *Bar_ArgWithNearDupQueryParams_Args) bool

Equals returns true if all the fields of this Bar_ArgWithNearDupQueryParams_Args match the provided Bar_ArgWithNearDupQueryParams_Args.

This function performs a deep comparison.

func (*Bar_ArgWithNearDupQueryParams_Args) FromWire

func (v *Bar_ArgWithNearDupQueryParams_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithNearDupQueryParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithNearDupQueryParams_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithNearDupQueryParams_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithNearDupQueryParams_Args) GetFour

func (v *Bar_ArgWithNearDupQueryParams_Args) GetFour() (o string)

GetFour returns the value of Four if it is set or its zero value if it is unset.

func (*Bar_ArgWithNearDupQueryParams_Args) GetOne

func (v *Bar_ArgWithNearDupQueryParams_Args) GetOne() (o string)

GetOne returns the value of One if it is set or its zero value if it is unset.

func (*Bar_ArgWithNearDupQueryParams_Args) GetThree

func (v *Bar_ArgWithNearDupQueryParams_Args) GetThree() (o string)

GetThree returns the value of Three if it is set or its zero value if it is unset.

func (*Bar_ArgWithNearDupQueryParams_Args) GetTwo

func (v *Bar_ArgWithNearDupQueryParams_Args) GetTwo() (o int32)

GetTwo returns the value of Two if it is set or its zero value if it is unset.

func (*Bar_ArgWithNearDupQueryParams_Args) IsSetFour

func (v *Bar_ArgWithNearDupQueryParams_Args) IsSetFour() bool

IsSetFour returns true if Four is not nil.

func (*Bar_ArgWithNearDupQueryParams_Args) IsSetThree

func (v *Bar_ArgWithNearDupQueryParams_Args) IsSetThree() bool

IsSetThree returns true if Three is not nil.

func (*Bar_ArgWithNearDupQueryParams_Args) IsSetTwo

func (v *Bar_ArgWithNearDupQueryParams_Args) IsSetTwo() bool

IsSetTwo returns true if Two is not nil.

func (Bar_ArgWithNearDupQueryParams_Args) MarshalEasyJSON

func (v Bar_ArgWithNearDupQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithNearDupQueryParams_Args) MarshalJSON

func (v Bar_ArgWithNearDupQueryParams_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithNearDupQueryParams_Args) MarshalLogObject

func (v *Bar_ArgWithNearDupQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithNearDupQueryParams_Args.

func (*Bar_ArgWithNearDupQueryParams_Args) MethodName

func (v *Bar_ArgWithNearDupQueryParams_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argWithNearDupQueryParams" for this struct.

func (*Bar_ArgWithNearDupQueryParams_Args) String

func (v *Bar_ArgWithNearDupQueryParams_Args) String() string

String returns a readable string representation of a Bar_ArgWithNearDupQueryParams_Args struct.

func (*Bar_ArgWithNearDupQueryParams_Args) ToWire

func (v *Bar_ArgWithNearDupQueryParams_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithNearDupQueryParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithNearDupQueryParams_Args) UnmarshalEasyJSON

func (v *Bar_ArgWithNearDupQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithNearDupQueryParams_Args) UnmarshalJSON

func (v *Bar_ArgWithNearDupQueryParams_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithNearDupQueryParams_Result

type Bar_ArgWithNearDupQueryParams_Result struct {
	// Value returned by argWithNearDupQueryParams after a successful execution.
	Success *BarResponse `json:"success,omitempty"`
}

Bar_ArgWithNearDupQueryParams_Result represents the result of a Bar.argWithNearDupQueryParams function call.

The result of a argWithNearDupQueryParams execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ArgWithNearDupQueryParams_Result) EnvelopeType

func (v *Bar_ArgWithNearDupQueryParams_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgWithNearDupQueryParams_Result) Equals

func (v *Bar_ArgWithNearDupQueryParams_Result) Equals(rhs *Bar_ArgWithNearDupQueryParams_Result) bool

Equals returns true if all the fields of this Bar_ArgWithNearDupQueryParams_Result match the provided Bar_ArgWithNearDupQueryParams_Result.

This function performs a deep comparison.

func (*Bar_ArgWithNearDupQueryParams_Result) FromWire

func (v *Bar_ArgWithNearDupQueryParams_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithNearDupQueryParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithNearDupQueryParams_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithNearDupQueryParams_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithNearDupQueryParams_Result) GetSuccess

func (v *Bar_ArgWithNearDupQueryParams_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ArgWithNearDupQueryParams_Result) IsSetSuccess

func (v *Bar_ArgWithNearDupQueryParams_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_ArgWithNearDupQueryParams_Result) MarshalEasyJSON

func (v Bar_ArgWithNearDupQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithNearDupQueryParams_Result) MarshalJSON

func (v Bar_ArgWithNearDupQueryParams_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithNearDupQueryParams_Result) MarshalLogObject

func (v *Bar_ArgWithNearDupQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithNearDupQueryParams_Result.

func (*Bar_ArgWithNearDupQueryParams_Result) MethodName

func (v *Bar_ArgWithNearDupQueryParams_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argWithNearDupQueryParams" for this struct.

func (*Bar_ArgWithNearDupQueryParams_Result) String

func (v *Bar_ArgWithNearDupQueryParams_Result) String() string

String returns a readable string representation of a Bar_ArgWithNearDupQueryParams_Result struct.

func (*Bar_ArgWithNearDupQueryParams_Result) ToWire

func (v *Bar_ArgWithNearDupQueryParams_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithNearDupQueryParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithNearDupQueryParams_Result) UnmarshalEasyJSON

func (v *Bar_ArgWithNearDupQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithNearDupQueryParams_Result) UnmarshalJSON

func (v *Bar_ArgWithNearDupQueryParams_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithNestedQueryParams_Args

type Bar_ArgWithNestedQueryParams_Args struct {
	Request *QueryParamsStruct     `json:"request,required"`
	Opt     *QueryParamsOptsStruct `json:"opt,omitempty"`
}

Bar_ArgWithNestedQueryParams_Args represents the arguments for the Bar.argWithNestedQueryParams function.

The arguments for argWithNestedQueryParams are sent and received over the wire as this struct.

func (*Bar_ArgWithNestedQueryParams_Args) EnvelopeType

func (v *Bar_ArgWithNestedQueryParams_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgWithNestedQueryParams_Args) Equals

func (v *Bar_ArgWithNestedQueryParams_Args) Equals(rhs *Bar_ArgWithNestedQueryParams_Args) bool

Equals returns true if all the fields of this Bar_ArgWithNestedQueryParams_Args match the provided Bar_ArgWithNestedQueryParams_Args.

This function performs a deep comparison.

func (*Bar_ArgWithNestedQueryParams_Args) FromWire

func (v *Bar_ArgWithNestedQueryParams_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithNestedQueryParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithNestedQueryParams_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithNestedQueryParams_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithNestedQueryParams_Args) GetOpt

func (v *Bar_ArgWithNestedQueryParams_Args) GetOpt() (o *QueryParamsOptsStruct)

GetOpt returns the value of Opt if it is set or its zero value if it is unset.

func (*Bar_ArgWithNestedQueryParams_Args) GetRequest

func (v *Bar_ArgWithNestedQueryParams_Args) GetRequest() (o *QueryParamsStruct)

GetRequest returns the value of Request if it is set or its zero value if it is unset.

func (*Bar_ArgWithNestedQueryParams_Args) IsSetOpt

func (v *Bar_ArgWithNestedQueryParams_Args) IsSetOpt() bool

IsSetOpt returns true if Opt is not nil.

func (*Bar_ArgWithNestedQueryParams_Args) IsSetRequest

func (v *Bar_ArgWithNestedQueryParams_Args) IsSetRequest() bool

IsSetRequest returns true if Request is not nil.

func (Bar_ArgWithNestedQueryParams_Args) MarshalEasyJSON

func (v Bar_ArgWithNestedQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithNestedQueryParams_Args) MarshalJSON

func (v Bar_ArgWithNestedQueryParams_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithNestedQueryParams_Args) MarshalLogObject

func (v *Bar_ArgWithNestedQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithNestedQueryParams_Args.

func (*Bar_ArgWithNestedQueryParams_Args) MethodName

func (v *Bar_ArgWithNestedQueryParams_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argWithNestedQueryParams" for this struct.

func (*Bar_ArgWithNestedQueryParams_Args) String

func (v *Bar_ArgWithNestedQueryParams_Args) String() string

String returns a readable string representation of a Bar_ArgWithNestedQueryParams_Args struct.

func (*Bar_ArgWithNestedQueryParams_Args) ToWire

func (v *Bar_ArgWithNestedQueryParams_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithNestedQueryParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithNestedQueryParams_Args) UnmarshalEasyJSON

func (v *Bar_ArgWithNestedQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithNestedQueryParams_Args) UnmarshalJSON

func (v *Bar_ArgWithNestedQueryParams_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithNestedQueryParams_Result

type Bar_ArgWithNestedQueryParams_Result struct {
	// Value returned by argWithNestedQueryParams after a successful execution.
	Success *BarResponse `json:"success,omitempty"`
}

Bar_ArgWithNestedQueryParams_Result represents the result of a Bar.argWithNestedQueryParams function call.

The result of a argWithNestedQueryParams execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ArgWithNestedQueryParams_Result) EnvelopeType

func (v *Bar_ArgWithNestedQueryParams_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgWithNestedQueryParams_Result) Equals

func (v *Bar_ArgWithNestedQueryParams_Result) Equals(rhs *Bar_ArgWithNestedQueryParams_Result) bool

Equals returns true if all the fields of this Bar_ArgWithNestedQueryParams_Result match the provided Bar_ArgWithNestedQueryParams_Result.

This function performs a deep comparison.

func (*Bar_ArgWithNestedQueryParams_Result) FromWire

func (v *Bar_ArgWithNestedQueryParams_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithNestedQueryParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithNestedQueryParams_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithNestedQueryParams_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithNestedQueryParams_Result) GetSuccess

func (v *Bar_ArgWithNestedQueryParams_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ArgWithNestedQueryParams_Result) IsSetSuccess

func (v *Bar_ArgWithNestedQueryParams_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_ArgWithNestedQueryParams_Result) MarshalEasyJSON

func (v Bar_ArgWithNestedQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithNestedQueryParams_Result) MarshalJSON

func (v Bar_ArgWithNestedQueryParams_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithNestedQueryParams_Result) MarshalLogObject

func (v *Bar_ArgWithNestedQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithNestedQueryParams_Result.

func (*Bar_ArgWithNestedQueryParams_Result) MethodName

func (v *Bar_ArgWithNestedQueryParams_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argWithNestedQueryParams" for this struct.

func (*Bar_ArgWithNestedQueryParams_Result) String

func (v *Bar_ArgWithNestedQueryParams_Result) String() string

String returns a readable string representation of a Bar_ArgWithNestedQueryParams_Result struct.

func (*Bar_ArgWithNestedQueryParams_Result) ToWire

func (v *Bar_ArgWithNestedQueryParams_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithNestedQueryParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithNestedQueryParams_Result) UnmarshalEasyJSON

func (v *Bar_ArgWithNestedQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithNestedQueryParams_Result) UnmarshalJSON

func (v *Bar_ArgWithNestedQueryParams_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithParamsAndDuplicateFields_Args

type Bar_ArgWithParamsAndDuplicateFields_Args struct {
	Request    *RequestWithDuplicateType `json:"request,required"`
	EntityUUID string                    `json:"entityUUID,required"`
}

Bar_ArgWithParamsAndDuplicateFields_Args represents the arguments for the Bar.argWithParamsAndDuplicateFields function.

The arguments for argWithParamsAndDuplicateFields are sent and received over the wire as this struct.

func (*Bar_ArgWithParamsAndDuplicateFields_Args) EnvelopeType

func (v *Bar_ArgWithParamsAndDuplicateFields_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgWithParamsAndDuplicateFields_Args) Equals

func (v *Bar_ArgWithParamsAndDuplicateFields_Args) Equals(rhs *Bar_ArgWithParamsAndDuplicateFields_Args) bool

Equals returns true if all the fields of this Bar_ArgWithParamsAndDuplicateFields_Args match the provided Bar_ArgWithParamsAndDuplicateFields_Args.

This function performs a deep comparison.

func (*Bar_ArgWithParamsAndDuplicateFields_Args) FromWire

func (v *Bar_ArgWithParamsAndDuplicateFields_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithParamsAndDuplicateFields_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithParamsAndDuplicateFields_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithParamsAndDuplicateFields_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithParamsAndDuplicateFields_Args) GetEntityUUID

func (v *Bar_ArgWithParamsAndDuplicateFields_Args) GetEntityUUID() (o string)

GetEntityUUID returns the value of EntityUUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithParamsAndDuplicateFields_Args) GetRequest

func (v *Bar_ArgWithParamsAndDuplicateFields_Args) GetRequest() (o *RequestWithDuplicateType)

GetRequest returns the value of Request if it is set or its zero value if it is unset.

func (*Bar_ArgWithParamsAndDuplicateFields_Args) IsSetRequest

func (v *Bar_ArgWithParamsAndDuplicateFields_Args) IsSetRequest() bool

IsSetRequest returns true if Request is not nil.

func (Bar_ArgWithParamsAndDuplicateFields_Args) MarshalEasyJSON

func (v Bar_ArgWithParamsAndDuplicateFields_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithParamsAndDuplicateFields_Args) MarshalJSON

func (v Bar_ArgWithParamsAndDuplicateFields_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithParamsAndDuplicateFields_Args) MarshalLogObject

func (v *Bar_ArgWithParamsAndDuplicateFields_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithParamsAndDuplicateFields_Args.

func (*Bar_ArgWithParamsAndDuplicateFields_Args) MethodName

func (v *Bar_ArgWithParamsAndDuplicateFields_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argWithParamsAndDuplicateFields" for this struct.

func (*Bar_ArgWithParamsAndDuplicateFields_Args) String

func (v *Bar_ArgWithParamsAndDuplicateFields_Args) String() string

String returns a readable string representation of a Bar_ArgWithParamsAndDuplicateFields_Args struct.

func (*Bar_ArgWithParamsAndDuplicateFields_Args) ToWire

func (v *Bar_ArgWithParamsAndDuplicateFields_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithParamsAndDuplicateFields_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithParamsAndDuplicateFields_Args) UnmarshalEasyJSON

func (v *Bar_ArgWithParamsAndDuplicateFields_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithParamsAndDuplicateFields_Args) UnmarshalJSON

func (v *Bar_ArgWithParamsAndDuplicateFields_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithParamsAndDuplicateFields_Result

type Bar_ArgWithParamsAndDuplicateFields_Result struct {
	// Value returned by argWithParamsAndDuplicateFields after a successful execution.
	Success *BarResponse `json:"success,omitempty"`
}

Bar_ArgWithParamsAndDuplicateFields_Result represents the result of a Bar.argWithParamsAndDuplicateFields function call.

The result of a argWithParamsAndDuplicateFields execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ArgWithParamsAndDuplicateFields_Result) EnvelopeType

func (v *Bar_ArgWithParamsAndDuplicateFields_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgWithParamsAndDuplicateFields_Result) Equals

func (v *Bar_ArgWithParamsAndDuplicateFields_Result) Equals(rhs *Bar_ArgWithParamsAndDuplicateFields_Result) bool

Equals returns true if all the fields of this Bar_ArgWithParamsAndDuplicateFields_Result match the provided Bar_ArgWithParamsAndDuplicateFields_Result.

This function performs a deep comparison.

func (*Bar_ArgWithParamsAndDuplicateFields_Result) FromWire

func (v *Bar_ArgWithParamsAndDuplicateFields_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithParamsAndDuplicateFields_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithParamsAndDuplicateFields_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithParamsAndDuplicateFields_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithParamsAndDuplicateFields_Result) GetSuccess

func (v *Bar_ArgWithParamsAndDuplicateFields_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ArgWithParamsAndDuplicateFields_Result) IsSetSuccess

func (v *Bar_ArgWithParamsAndDuplicateFields_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_ArgWithParamsAndDuplicateFields_Result) MarshalEasyJSON

func (v Bar_ArgWithParamsAndDuplicateFields_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithParamsAndDuplicateFields_Result) MarshalJSON

func (v Bar_ArgWithParamsAndDuplicateFields_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithParamsAndDuplicateFields_Result) MarshalLogObject

func (v *Bar_ArgWithParamsAndDuplicateFields_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithParamsAndDuplicateFields_Result.

func (*Bar_ArgWithParamsAndDuplicateFields_Result) MethodName

func (v *Bar_ArgWithParamsAndDuplicateFields_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argWithParamsAndDuplicateFields" for this struct.

func (*Bar_ArgWithParamsAndDuplicateFields_Result) String

func (v *Bar_ArgWithParamsAndDuplicateFields_Result) String() string

String returns a readable string representation of a Bar_ArgWithParamsAndDuplicateFields_Result struct.

func (*Bar_ArgWithParamsAndDuplicateFields_Result) ToWire

func (v *Bar_ArgWithParamsAndDuplicateFields_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithParamsAndDuplicateFields_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithParamsAndDuplicateFields_Result) UnmarshalEasyJSON

func (v *Bar_ArgWithParamsAndDuplicateFields_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithParamsAndDuplicateFields_Result) UnmarshalJSON

func (v *Bar_ArgWithParamsAndDuplicateFields_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithParams_Args

type Bar_ArgWithParams_Args struct {
	UUID   string        `json:"uuid,required"`
	Params *ParamsStruct `json:"params,omitempty"`
}

Bar_ArgWithParams_Args represents the arguments for the Bar.argWithParams function.

The arguments for argWithParams are sent and received over the wire as this struct.

func (*Bar_ArgWithParams_Args) EnvelopeType

func (v *Bar_ArgWithParams_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgWithParams_Args) Equals

func (v *Bar_ArgWithParams_Args) Equals(rhs *Bar_ArgWithParams_Args) bool

Equals returns true if all the fields of this Bar_ArgWithParams_Args match the provided Bar_ArgWithParams_Args.

This function performs a deep comparison.

func (*Bar_ArgWithParams_Args) FromWire

func (v *Bar_ArgWithParams_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithParams_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithParams_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithParams_Args) GetParams

func (v *Bar_ArgWithParams_Args) GetParams() (o *ParamsStruct)

GetParams returns the value of Params if it is set or its zero value if it is unset.

func (*Bar_ArgWithParams_Args) GetUUID

func (v *Bar_ArgWithParams_Args) GetUUID() (o string)

GetUUID returns the value of UUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithParams_Args) IsSetParams

func (v *Bar_ArgWithParams_Args) IsSetParams() bool

IsSetParams returns true if Params is not nil.

func (Bar_ArgWithParams_Args) MarshalEasyJSON

func (v Bar_ArgWithParams_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithParams_Args) MarshalJSON

func (v Bar_ArgWithParams_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithParams_Args) MarshalLogObject

func (v *Bar_ArgWithParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithParams_Args.

func (*Bar_ArgWithParams_Args) MethodName

func (v *Bar_ArgWithParams_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argWithParams" for this struct.

func (*Bar_ArgWithParams_Args) String

func (v *Bar_ArgWithParams_Args) String() string

String returns a readable string representation of a Bar_ArgWithParams_Args struct.

func (*Bar_ArgWithParams_Args) ToWire

func (v *Bar_ArgWithParams_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithParams_Args) UnmarshalEasyJSON

func (v *Bar_ArgWithParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithParams_Args) UnmarshalJSON

func (v *Bar_ArgWithParams_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithParams_Result

type Bar_ArgWithParams_Result struct {
	// Value returned by argWithParams after a successful execution.
	Success *BarResponse `json:"success,omitempty"`
}

Bar_ArgWithParams_Result represents the result of a Bar.argWithParams function call.

The result of a argWithParams execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ArgWithParams_Result) EnvelopeType

func (v *Bar_ArgWithParams_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgWithParams_Result) Equals

func (v *Bar_ArgWithParams_Result) Equals(rhs *Bar_ArgWithParams_Result) bool

Equals returns true if all the fields of this Bar_ArgWithParams_Result match the provided Bar_ArgWithParams_Result.

This function performs a deep comparison.

func (*Bar_ArgWithParams_Result) FromWire

func (v *Bar_ArgWithParams_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithParams_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithParams_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithParams_Result) GetSuccess

func (v *Bar_ArgWithParams_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ArgWithParams_Result) IsSetSuccess

func (v *Bar_ArgWithParams_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_ArgWithParams_Result) MarshalEasyJSON

func (v Bar_ArgWithParams_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithParams_Result) MarshalJSON

func (v Bar_ArgWithParams_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithParams_Result) MarshalLogObject

func (v *Bar_ArgWithParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithParams_Result.

func (*Bar_ArgWithParams_Result) MethodName

func (v *Bar_ArgWithParams_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argWithParams" for this struct.

func (*Bar_ArgWithParams_Result) String

func (v *Bar_ArgWithParams_Result) String() string

String returns a readable string representation of a Bar_ArgWithParams_Result struct.

func (*Bar_ArgWithParams_Result) ToWire

func (v *Bar_ArgWithParams_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithParams_Result) UnmarshalEasyJSON

func (v *Bar_ArgWithParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithParams_Result) UnmarshalJSON

func (v *Bar_ArgWithParams_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithQueryHeader_Args

type Bar_ArgWithQueryHeader_Args struct {
	UserUUID *string `json:"userUUID,omitempty"`
}

Bar_ArgWithQueryHeader_Args represents the arguments for the Bar.argWithQueryHeader function.

The arguments for argWithQueryHeader are sent and received over the wire as this struct.

func (*Bar_ArgWithQueryHeader_Args) EnvelopeType

func (v *Bar_ArgWithQueryHeader_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgWithQueryHeader_Args) Equals

func (v *Bar_ArgWithQueryHeader_Args) Equals(rhs *Bar_ArgWithQueryHeader_Args) bool

Equals returns true if all the fields of this Bar_ArgWithQueryHeader_Args match the provided Bar_ArgWithQueryHeader_Args.

This function performs a deep comparison.

func (*Bar_ArgWithQueryHeader_Args) FromWire

func (v *Bar_ArgWithQueryHeader_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithQueryHeader_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithQueryHeader_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithQueryHeader_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithQueryHeader_Args) GetUserUUID

func (v *Bar_ArgWithQueryHeader_Args) GetUserUUID() (o string)

GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithQueryHeader_Args) IsSetUserUUID

func (v *Bar_ArgWithQueryHeader_Args) IsSetUserUUID() bool

IsSetUserUUID returns true if UserUUID is not nil.

func (Bar_ArgWithQueryHeader_Args) MarshalEasyJSON

func (v Bar_ArgWithQueryHeader_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithQueryHeader_Args) MarshalJSON

func (v Bar_ArgWithQueryHeader_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithQueryHeader_Args) MarshalLogObject

func (v *Bar_ArgWithQueryHeader_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithQueryHeader_Args.

func (*Bar_ArgWithQueryHeader_Args) MethodName

func (v *Bar_ArgWithQueryHeader_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argWithQueryHeader" for this struct.

func (*Bar_ArgWithQueryHeader_Args) String

func (v *Bar_ArgWithQueryHeader_Args) String() string

String returns a readable string representation of a Bar_ArgWithQueryHeader_Args struct.

func (*Bar_ArgWithQueryHeader_Args) ToWire

func (v *Bar_ArgWithQueryHeader_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithQueryHeader_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithQueryHeader_Args) UnmarshalEasyJSON

func (v *Bar_ArgWithQueryHeader_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithQueryHeader_Args) UnmarshalJSON

func (v *Bar_ArgWithQueryHeader_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithQueryHeader_Result

type Bar_ArgWithQueryHeader_Result struct {
	// Value returned by argWithQueryHeader after a successful execution.
	Success *BarResponse `json:"success,omitempty"`
}

Bar_ArgWithQueryHeader_Result represents the result of a Bar.argWithQueryHeader function call.

The result of a argWithQueryHeader execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ArgWithQueryHeader_Result) EnvelopeType

func (v *Bar_ArgWithQueryHeader_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgWithQueryHeader_Result) Equals

func (v *Bar_ArgWithQueryHeader_Result) Equals(rhs *Bar_ArgWithQueryHeader_Result) bool

Equals returns true if all the fields of this Bar_ArgWithQueryHeader_Result match the provided Bar_ArgWithQueryHeader_Result.

This function performs a deep comparison.

func (*Bar_ArgWithQueryHeader_Result) FromWire

func (v *Bar_ArgWithQueryHeader_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithQueryHeader_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithQueryHeader_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithQueryHeader_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithQueryHeader_Result) GetSuccess

func (v *Bar_ArgWithQueryHeader_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ArgWithQueryHeader_Result) IsSetSuccess

func (v *Bar_ArgWithQueryHeader_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_ArgWithQueryHeader_Result) MarshalEasyJSON

func (v Bar_ArgWithQueryHeader_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithQueryHeader_Result) MarshalJSON

func (v Bar_ArgWithQueryHeader_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithQueryHeader_Result) MarshalLogObject

func (v *Bar_ArgWithQueryHeader_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithQueryHeader_Result.

func (*Bar_ArgWithQueryHeader_Result) MethodName

func (v *Bar_ArgWithQueryHeader_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argWithQueryHeader" for this struct.

func (*Bar_ArgWithQueryHeader_Result) String

func (v *Bar_ArgWithQueryHeader_Result) String() string

String returns a readable string representation of a Bar_ArgWithQueryHeader_Result struct.

func (*Bar_ArgWithQueryHeader_Result) ToWire

func (v *Bar_ArgWithQueryHeader_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithQueryHeader_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithQueryHeader_Result) UnmarshalEasyJSON

func (v *Bar_ArgWithQueryHeader_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithQueryHeader_Result) UnmarshalJSON

func (v *Bar_ArgWithQueryHeader_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithQueryParams_Args

type Bar_ArgWithQueryParams_Args struct {
	Name     string   `json:"name,required"`
	UserUUID *string  `json:"userUUID,omitempty"`
	Foo      []string `json:"foo,omitempty"`
	Bar      []int8   `json:"bar,required"`
}

Bar_ArgWithQueryParams_Args represents the arguments for the Bar.argWithQueryParams function.

The arguments for argWithQueryParams are sent and received over the wire as this struct.

func (*Bar_ArgWithQueryParams_Args) EnvelopeType

func (v *Bar_ArgWithQueryParams_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgWithQueryParams_Args) Equals

func (v *Bar_ArgWithQueryParams_Args) Equals(rhs *Bar_ArgWithQueryParams_Args) bool

Equals returns true if all the fields of this Bar_ArgWithQueryParams_Args match the provided Bar_ArgWithQueryParams_Args.

This function performs a deep comparison.

func (*Bar_ArgWithQueryParams_Args) FromWire

func (v *Bar_ArgWithQueryParams_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithQueryParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithQueryParams_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithQueryParams_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithQueryParams_Args) GetBar

func (v *Bar_ArgWithQueryParams_Args) GetBar() (o []int8)

GetBar returns the value of Bar if it is set or its zero value if it is unset.

func (*Bar_ArgWithQueryParams_Args) GetFoo

func (v *Bar_ArgWithQueryParams_Args) GetFoo() (o []string)

GetFoo returns the value of Foo if it is set or its zero value if it is unset.

func (*Bar_ArgWithQueryParams_Args) GetName

func (v *Bar_ArgWithQueryParams_Args) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*Bar_ArgWithQueryParams_Args) GetUserUUID

func (v *Bar_ArgWithQueryParams_Args) GetUserUUID() (o string)

GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithQueryParams_Args) IsSetBar

func (v *Bar_ArgWithQueryParams_Args) IsSetBar() bool

IsSetBar returns true if Bar is not nil.

func (*Bar_ArgWithQueryParams_Args) IsSetFoo

func (v *Bar_ArgWithQueryParams_Args) IsSetFoo() bool

IsSetFoo returns true if Foo is not nil.

func (*Bar_ArgWithQueryParams_Args) IsSetUserUUID

func (v *Bar_ArgWithQueryParams_Args) IsSetUserUUID() bool

IsSetUserUUID returns true if UserUUID is not nil.

func (Bar_ArgWithQueryParams_Args) MarshalEasyJSON

func (v Bar_ArgWithQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithQueryParams_Args) MarshalJSON

func (v Bar_ArgWithQueryParams_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithQueryParams_Args) MarshalLogObject

func (v *Bar_ArgWithQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithQueryParams_Args.

func (*Bar_ArgWithQueryParams_Args) MethodName

func (v *Bar_ArgWithQueryParams_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argWithQueryParams" for this struct.

func (*Bar_ArgWithQueryParams_Args) String

func (v *Bar_ArgWithQueryParams_Args) String() string

String returns a readable string representation of a Bar_ArgWithQueryParams_Args struct.

func (*Bar_ArgWithQueryParams_Args) ToWire

func (v *Bar_ArgWithQueryParams_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithQueryParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithQueryParams_Args) UnmarshalEasyJSON

func (v *Bar_ArgWithQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithQueryParams_Args) UnmarshalJSON

func (v *Bar_ArgWithQueryParams_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithQueryParams_Result

type Bar_ArgWithQueryParams_Result struct {
	// Value returned by argWithQueryParams after a successful execution.
	Success *BarResponse `json:"success,omitempty"`
}

Bar_ArgWithQueryParams_Result represents the result of a Bar.argWithQueryParams function call.

The result of a argWithQueryParams execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ArgWithQueryParams_Result) EnvelopeType

func (v *Bar_ArgWithQueryParams_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgWithQueryParams_Result) Equals

func (v *Bar_ArgWithQueryParams_Result) Equals(rhs *Bar_ArgWithQueryParams_Result) bool

Equals returns true if all the fields of this Bar_ArgWithQueryParams_Result match the provided Bar_ArgWithQueryParams_Result.

This function performs a deep comparison.

func (*Bar_ArgWithQueryParams_Result) FromWire

func (v *Bar_ArgWithQueryParams_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithQueryParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithQueryParams_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithQueryParams_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithQueryParams_Result) GetSuccess

func (v *Bar_ArgWithQueryParams_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ArgWithQueryParams_Result) IsSetSuccess

func (v *Bar_ArgWithQueryParams_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_ArgWithQueryParams_Result) MarshalEasyJSON

func (v Bar_ArgWithQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithQueryParams_Result) MarshalJSON

func (v Bar_ArgWithQueryParams_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithQueryParams_Result) MarshalLogObject

func (v *Bar_ArgWithQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithQueryParams_Result.

func (*Bar_ArgWithQueryParams_Result) MethodName

func (v *Bar_ArgWithQueryParams_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argWithQueryParams" for this struct.

func (*Bar_ArgWithQueryParams_Result) String

func (v *Bar_ArgWithQueryParams_Result) String() string

String returns a readable string representation of a Bar_ArgWithQueryParams_Result struct.

func (*Bar_ArgWithQueryParams_Result) ToWire

func (v *Bar_ArgWithQueryParams_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithQueryParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithQueryParams_Result) UnmarshalEasyJSON

func (v *Bar_ArgWithQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithQueryParams_Result) UnmarshalJSON

func (v *Bar_ArgWithQueryParams_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_DeleteFoo_Args

type Bar_DeleteFoo_Args struct {
	UserUUID string `json:"userUUID,required"`
}

Bar_DeleteFoo_Args represents the arguments for the Bar.deleteFoo function.

The arguments for deleteFoo are sent and received over the wire as this struct.

func (*Bar_DeleteFoo_Args) EnvelopeType

func (v *Bar_DeleteFoo_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_DeleteFoo_Args) Equals

func (v *Bar_DeleteFoo_Args) Equals(rhs *Bar_DeleteFoo_Args) bool

Equals returns true if all the fields of this Bar_DeleteFoo_Args match the provided Bar_DeleteFoo_Args.

This function performs a deep comparison.

func (*Bar_DeleteFoo_Args) FromWire

func (v *Bar_DeleteFoo_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_DeleteFoo_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_DeleteFoo_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_DeleteFoo_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_DeleteFoo_Args) GetUserUUID

func (v *Bar_DeleteFoo_Args) GetUserUUID() (o string)

GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.

func (Bar_DeleteFoo_Args) MarshalEasyJSON

func (v Bar_DeleteFoo_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_DeleteFoo_Args) MarshalJSON

func (v Bar_DeleteFoo_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_DeleteFoo_Args) MarshalLogObject

func (v *Bar_DeleteFoo_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_DeleteFoo_Args.

func (*Bar_DeleteFoo_Args) MethodName

func (v *Bar_DeleteFoo_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "deleteFoo" for this struct.

func (*Bar_DeleteFoo_Args) String

func (v *Bar_DeleteFoo_Args) String() string

String returns a readable string representation of a Bar_DeleteFoo_Args struct.

func (*Bar_DeleteFoo_Args) ToWire

func (v *Bar_DeleteFoo_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_DeleteFoo_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_DeleteFoo_Args) UnmarshalEasyJSON

func (v *Bar_DeleteFoo_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_DeleteFoo_Args) UnmarshalJSON

func (v *Bar_DeleteFoo_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_DeleteFoo_Result

type Bar_DeleteFoo_Result struct {
}

Bar_DeleteFoo_Result represents the result of a Bar.deleteFoo function call.

The result of a deleteFoo execution is sent and received over the wire as this struct.

func (*Bar_DeleteFoo_Result) EnvelopeType

func (v *Bar_DeleteFoo_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_DeleteFoo_Result) Equals

func (v *Bar_DeleteFoo_Result) Equals(rhs *Bar_DeleteFoo_Result) bool

Equals returns true if all the fields of this Bar_DeleteFoo_Result match the provided Bar_DeleteFoo_Result.

This function performs a deep comparison.

func (*Bar_DeleteFoo_Result) FromWire

func (v *Bar_DeleteFoo_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_DeleteFoo_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_DeleteFoo_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_DeleteFoo_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (Bar_DeleteFoo_Result) MarshalEasyJSON

func (v Bar_DeleteFoo_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_DeleteFoo_Result) MarshalJSON

func (v Bar_DeleteFoo_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_DeleteFoo_Result) MarshalLogObject

func (v *Bar_DeleteFoo_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_DeleteFoo_Result.

func (*Bar_DeleteFoo_Result) MethodName

func (v *Bar_DeleteFoo_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "deleteFoo" for this struct.

func (*Bar_DeleteFoo_Result) String

func (v *Bar_DeleteFoo_Result) String() string

String returns a readable string representation of a Bar_DeleteFoo_Result struct.

func (*Bar_DeleteFoo_Result) ToWire

func (v *Bar_DeleteFoo_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_DeleteFoo_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_DeleteFoo_Result) UnmarshalEasyJSON

func (v *Bar_DeleteFoo_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_DeleteFoo_Result) UnmarshalJSON

func (v *Bar_DeleteFoo_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_DeleteWithQueryParams_Args

type Bar_DeleteWithQueryParams_Args struct {
	Filter string `json:"filter,required"`
	Count  *int32 `json:"count,omitempty"`
}

Bar_DeleteWithQueryParams_Args represents the arguments for the Bar.deleteWithQueryParams function.

The arguments for deleteWithQueryParams are sent and received over the wire as this struct.

func (*Bar_DeleteWithQueryParams_Args) EnvelopeType

func (v *Bar_DeleteWithQueryParams_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_DeleteWithQueryParams_Args) Equals

func (v *Bar_DeleteWithQueryParams_Args) Equals(rhs *Bar_DeleteWithQueryParams_Args) bool

Equals returns true if all the fields of this Bar_DeleteWithQueryParams_Args match the provided Bar_DeleteWithQueryParams_Args.

This function performs a deep comparison.

func (*Bar_DeleteWithQueryParams_Args) FromWire

func (v *Bar_DeleteWithQueryParams_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_DeleteWithQueryParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_DeleteWithQueryParams_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_DeleteWithQueryParams_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_DeleteWithQueryParams_Args) GetCount

func (v *Bar_DeleteWithQueryParams_Args) GetCount() (o int32)

GetCount returns the value of Count if it is set or its zero value if it is unset.

func (*Bar_DeleteWithQueryParams_Args) GetFilter

func (v *Bar_DeleteWithQueryParams_Args) GetFilter() (o string)

GetFilter returns the value of Filter if it is set or its zero value if it is unset.

func (*Bar_DeleteWithQueryParams_Args) IsSetCount

func (v *Bar_DeleteWithQueryParams_Args) IsSetCount() bool

IsSetCount returns true if Count is not nil.

func (Bar_DeleteWithQueryParams_Args) MarshalEasyJSON

func (v Bar_DeleteWithQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_DeleteWithQueryParams_Args) MarshalJSON

func (v Bar_DeleteWithQueryParams_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_DeleteWithQueryParams_Args) MarshalLogObject

func (v *Bar_DeleteWithQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_DeleteWithQueryParams_Args.

func (*Bar_DeleteWithQueryParams_Args) MethodName

func (v *Bar_DeleteWithQueryParams_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "deleteWithQueryParams" for this struct.

func (*Bar_DeleteWithQueryParams_Args) String

func (v *Bar_DeleteWithQueryParams_Args) String() string

String returns a readable string representation of a Bar_DeleteWithQueryParams_Args struct.

func (*Bar_DeleteWithQueryParams_Args) ToWire

func (v *Bar_DeleteWithQueryParams_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_DeleteWithQueryParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_DeleteWithQueryParams_Args) UnmarshalEasyJSON

func (v *Bar_DeleteWithQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_DeleteWithQueryParams_Args) UnmarshalJSON

func (v *Bar_DeleteWithQueryParams_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_DeleteWithQueryParams_Result

type Bar_DeleteWithQueryParams_Result struct {
}

Bar_DeleteWithQueryParams_Result represents the result of a Bar.deleteWithQueryParams function call.

The result of a deleteWithQueryParams execution is sent and received over the wire as this struct.

func (*Bar_DeleteWithQueryParams_Result) EnvelopeType

func (v *Bar_DeleteWithQueryParams_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_DeleteWithQueryParams_Result) Equals

func (v *Bar_DeleteWithQueryParams_Result) Equals(rhs *Bar_DeleteWithQueryParams_Result) bool

Equals returns true if all the fields of this Bar_DeleteWithQueryParams_Result match the provided Bar_DeleteWithQueryParams_Result.

This function performs a deep comparison.

func (*Bar_DeleteWithQueryParams_Result) FromWire

func (v *Bar_DeleteWithQueryParams_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_DeleteWithQueryParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_DeleteWithQueryParams_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_DeleteWithQueryParams_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (Bar_DeleteWithQueryParams_Result) MarshalEasyJSON

func (v Bar_DeleteWithQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_DeleteWithQueryParams_Result) MarshalJSON

func (v Bar_DeleteWithQueryParams_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_DeleteWithQueryParams_Result) MarshalLogObject

func (v *Bar_DeleteWithQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_DeleteWithQueryParams_Result.

func (*Bar_DeleteWithQueryParams_Result) MethodName

func (v *Bar_DeleteWithQueryParams_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "deleteWithQueryParams" for this struct.

func (*Bar_DeleteWithQueryParams_Result) String

func (v *Bar_DeleteWithQueryParams_Result) String() string

String returns a readable string representation of a Bar_DeleteWithQueryParams_Result struct.

func (*Bar_DeleteWithQueryParams_Result) ToWire

func (v *Bar_DeleteWithQueryParams_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_DeleteWithQueryParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_DeleteWithQueryParams_Result) UnmarshalEasyJSON

func (v *Bar_DeleteWithQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_DeleteWithQueryParams_Result) UnmarshalJSON

func (v *Bar_DeleteWithQueryParams_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_HelloWorld_Args

type Bar_HelloWorld_Args struct {
}

Bar_HelloWorld_Args represents the arguments for the Bar.helloWorld function.

The arguments for helloWorld are sent and received over the wire as this struct.

func (*Bar_HelloWorld_Args) EnvelopeType

func (v *Bar_HelloWorld_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_HelloWorld_Args) Equals

func (v *Bar_HelloWorld_Args) Equals(rhs *Bar_HelloWorld_Args) bool

Equals returns true if all the fields of this Bar_HelloWorld_Args match the provided Bar_HelloWorld_Args.

This function performs a deep comparison.

func (*Bar_HelloWorld_Args) FromWire

func (v *Bar_HelloWorld_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_HelloWorld_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_HelloWorld_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_HelloWorld_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (Bar_HelloWorld_Args) MarshalEasyJSON

func (v Bar_HelloWorld_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_HelloWorld_Args) MarshalJSON

func (v Bar_HelloWorld_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_HelloWorld_Args) MarshalLogObject

func (v *Bar_HelloWorld_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_HelloWorld_Args.

func (*Bar_HelloWorld_Args) MethodName

func (v *Bar_HelloWorld_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "helloWorld" for this struct.

func (*Bar_HelloWorld_Args) String

func (v *Bar_HelloWorld_Args) String() string

String returns a readable string representation of a Bar_HelloWorld_Args struct.

func (*Bar_HelloWorld_Args) ToWire

func (v *Bar_HelloWorld_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_HelloWorld_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_HelloWorld_Args) UnmarshalEasyJSON

func (v *Bar_HelloWorld_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_HelloWorld_Args) UnmarshalJSON

func (v *Bar_HelloWorld_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_HelloWorld_Result

type Bar_HelloWorld_Result struct {
	// Value returned by helloWorld after a successful execution.
	Success      *string       `json:"success,omitempty"`
	BarException *BarException `json:"barException,omitempty"`
}

Bar_HelloWorld_Result represents the result of a Bar.helloWorld function call.

The result of a helloWorld execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_HelloWorld_Result) EnvelopeType

func (v *Bar_HelloWorld_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_HelloWorld_Result) Equals

func (v *Bar_HelloWorld_Result) Equals(rhs *Bar_HelloWorld_Result) bool

Equals returns true if all the fields of this Bar_HelloWorld_Result match the provided Bar_HelloWorld_Result.

This function performs a deep comparison.

func (*Bar_HelloWorld_Result) FromWire

func (v *Bar_HelloWorld_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_HelloWorld_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_HelloWorld_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_HelloWorld_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_HelloWorld_Result) GetBarException

func (v *Bar_HelloWorld_Result) GetBarException() (o *BarException)

GetBarException returns the value of BarException if it is set or its zero value if it is unset.

func (*Bar_HelloWorld_Result) GetSuccess

func (v *Bar_HelloWorld_Result) GetSuccess() (o string)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_HelloWorld_Result) IsSetBarException

func (v *Bar_HelloWorld_Result) IsSetBarException() bool

IsSetBarException returns true if BarException is not nil.

func (*Bar_HelloWorld_Result) IsSetSuccess

func (v *Bar_HelloWorld_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_HelloWorld_Result) MarshalEasyJSON

func (v Bar_HelloWorld_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_HelloWorld_Result) MarshalJSON

func (v Bar_HelloWorld_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_HelloWorld_Result) MarshalLogObject

func (v *Bar_HelloWorld_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_HelloWorld_Result.

func (*Bar_HelloWorld_Result) MethodName

func (v *Bar_HelloWorld_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "helloWorld" for this struct.

func (*Bar_HelloWorld_Result) String

func (v *Bar_HelloWorld_Result) String() string

String returns a readable string representation of a Bar_HelloWorld_Result struct.

func (*Bar_HelloWorld_Result) ToWire

func (v *Bar_HelloWorld_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_HelloWorld_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_HelloWorld_Result) UnmarshalEasyJSON

func (v *Bar_HelloWorld_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_HelloWorld_Result) UnmarshalJSON

func (v *Bar_HelloWorld_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ListAndEnum_Args

type Bar_ListAndEnum_Args struct {
	DemoIds  []string   `json:"demoIds,required"`
	DemoType *DemoType  `json:"demoType,omitempty"`
	Demos    []DemoType `json:"demos,omitempty"`
}

Bar_ListAndEnum_Args represents the arguments for the Bar.listAndEnum function.

The arguments for listAndEnum are sent and received over the wire as this struct.

func (*Bar_ListAndEnum_Args) EnvelopeType

func (v *Bar_ListAndEnum_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this st