func (b *Boolean) SetValue(value *structpb.Value) error {
	nv, ok := value.Kind.(*structpb.Value_BoolValue)
	if !ok {
		return errors.New("value is not a boolean value")
	}
	b.value = nv.BoolValue
	return nil
}
// SetValue sets a new value
SetValue sets a new value
// SetValue sets a new value
func (b *Boolean) SetValue(value *structpb.Value) error {
	nv, ok := value.Kind.(*structpb.Value_BoolValue)
	if !ok {
		return errors.New("value is not a boolean value")
	}
	b.value = nv.BoolValue
	return nil
}
func ( b * Boolean ) SetValue ( value * structpb . Value ) error { nv , ok := value . Kind . ( * structpb . Value_BoolValue ) if ! ok { return errors . New ( " " ) } b . value = nv . BoolValue return nil }
SetValue sets a new value
SetValue sets a new value